LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 02-03-2016, 07:23 AM   #1
j_wellman2005
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Rep: Reputation: Disabled
Question Offline Repositories and Updates in an OpenStack Environment for multiple Linux Distros


Newish Linux user here. I have recently found myself working on a project that is primarily run on Linux. A previous shop has already locked in deployment options and its been signed off on by higher. However, once deployed, I have some flexibility on supporting and maintaining it with some caveats. Here is what we have:

Hardware;
1 x Laptop running CentOS7 - serves as an administration platform
1 x Server running CentOS7 - Serves as the Controller Node for OpenStack
1 x Server running CentOS7 - Serves as the Compute Node for Openstack
Additional Laptops that can be imaged as needed

OpenStack VMs:
Various Debian distros - (Security Onion, Kali, etc)
Various RHEL distros - Vulnerability Assessment Images
Various Windows Images - Additional Vulnerability Tools

This kit primarily is involved in incident response for our various customer bases. However, I am not allowed to connect it directly to the internet which puts me in an awkward position to keep my images and tools up-to-date. I've been looking into apt-mirror and apt-offline lately for building a mechanism for an offline repository and a way to pull updates. This may suffice my Debian based images but I am not as familiar with RHEL mechanisms. I'm also researching using cloud-init and/or heat within Openstack to force my VMs to update immediately upon bootup. This of course assumes I have an updated local repository to point them too. At first I was thinking I would create the repository on a volume within OpenStack and have it automount the volume via cloud-init/heat but from what I can tell, a volume can only be attached to a single instance at any given time which means I have to launch instances one at a time and wait for it to update. A second solution would be to use my admin laptop to hold the repositories since it will be connected anytime I'm firing up my VMs. This might prove useful as all I have to do is populate its IP into the sources list of each of my distros. Although I'm not sure how easily it will be to keep that repo up-to-date for say a Debian system since my laptop is running CentOS. That's probably my inexperience speaking since I haven't had to maintain a repo.

I'm seeking advice and experience to lessen my learning curve here. If you have experience you can share with regard to offline repositories I'd love to hear it. If you have experience with private offline clouds in OpenStack and how you kept them up-to-date, I'd love to hear it. If you have general advice on how you would tackle the problem, I'd love to hear it as well. I look forward to hearing from you all.

Last edited by j_wellman2005; 02-03-2016 at 01:20 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to view multiple hosted sites offline using apache2 and multiple VirtualHosts ar2deetu Linux - Server 7 10-29-2012 04:23 AM
Setting up a programmer's development environment on an offline Linux box baudrunner LinuxQuestions.org Member Success Stories 0 02-08-2011 11:17 AM
Those of you with multiple Linux distros across multiple partitions ... SlowCoder General 14 05-15-2009 04:24 PM
Multiple distros, location of the /boot partition and kernel updates Jongi Linux - General 5 08-03-2006 06:15 PM
Security updates for Linux distros RobF Linux - Security 1 04-28-2005 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 10:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration