Skip to content

Commit

Permalink
v6.0-beta AMIDE
Browse files Browse the repository at this point in the history
  • Loading branch information
gstanden committed Jan 18, 2018
1 parent 82a6388 commit dce2b55
Show file tree
Hide file tree
Showing 46 changed files with 584 additions and 429 deletions.
2 changes: 1 addition & 1 deletion COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ menu, a prominent item in the list meets this criterion.
1. Source Code.

The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
for making modifications to it. "Object code" means any non-source
form of a work.

A "Standard Interface" means an interface that either is an official
Expand Down
36 changes: 0 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,5 @@
# Orabuntu-LXC Updates

Begin Update: January 17, 2018

Orabuntu-LXC announces the upcoming release of Orabuntu-LXC v6.0-beta "AMIDE" edition (already in dev branch).

Want to quickly test Orabuntu-LXC v6.0-beta AMIDE edition? Easy!
```
1. Create "ubuntu" OS account w/"SUDO ALL" privs on VM or physical host (VM recommended for 1st test).
2. Supported OS include: Ubuntu 16/17, RedHat 7, Oracle Linux 7, CentOS 7, Fedora27
2. Download https://github.com/gstanden/orabuntu-lxc/archive/master.zip to "/home/ubuntu/Downloads"
3. Unzip archive
4. cd to /home/ubuntu/Downloads/orabuntu-lxc-master/anylinux
5. ./anylinux-services.sh
```
That's it! Orabuntu-LXC takes care of all the rest of the work!

Orabuntu-LXC is powerful infrastructure deployment software. Highly-flexible, it can span your container and VM networks across multiple physical hosts over GRE tunnels that it builds for you, running LXC and Docker containers on the physical hosts, as well as VMs on the physical hosts, and even Docker and LXC containers in the VM's on the physical hosts, all FULLY-NETWORKED (LAN and WAN) right out of the box over the OpenvSwitch software defined network (SDN) which it builds for you in just minutes all fully-automated. Orabuntu-LXC also provides an optional fully-automated deployer that has been engineered to provide container-friendly SCST Linux SAN storage providing a full range of enterprise-grade storage options.

On RedHat-based Linuxes, Orabuntu-LXC builds your choice (version is configurable in anylinux-services.sh) of LXC and OpenvSwitch version from source code as RPM packages and installs them.

When the v6.0-beta AMIDE is released in github, you will be able to use ANY linux account with SUDO ALL privilege as the dependence of "ubuntu" user will be removed in this release. Planned security enhancements are coming which will remove the current "SUDO ALL" requirement and reduce the SUDO privileges to only those commands needed.

A blog post will be forthcoming detailing the extensive expansion of features and capabilities. The Orabuntu-LXC v6.0-beta "AMIDE" edition software is already in dev branch. Creating a wiki, user manual, and better documentation is a major Orabuntu-LXC roadmap item for 2018. For now, the anylinux-services.sh file has an extensive header explaining how to use the software.

For installs beyond the first install including adding multiple GRE-connected physical hosts, rhe main variables that need to be set are shown below. The additional installs are ALL also done with the one simple command:
```
./anylinux-services.sh
```
and configuration of a few simple variables in anylinux-services.sh listed below.
```
SudoPassword
GRE
Set subnet IP ranges
MultiHost
```
Use of these variables is explained operationally in anylinux-services.sh file. As mentioned, documentation is coming!

Begin Update: January 11, 2018

Orabuntu-LXC adds support for Fedora 27 (tested). Orabuntu-LXC v5.4-beta should also install OK on Fedora 22+ but has only been tested on Fedora 27 so far. Testing is coming.
Expand Down
2 changes: 1 addition & 1 deletion anylinux/COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ menu, a prominent item in the list meets this criterion.
1. Source Code.

The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
for making modifications to it. "Object code" means any non-source
form of a work.

A "Standard Interface" means an interface that either is an official
Expand Down
60 changes: 47 additions & 13 deletions anylinux/anylinux-services-0.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
#!/bin/bash

# Copyright 2015-2018 Gilbert Standen
# This file is part of Orabuntu-LXC.

# Orabuntu-LXC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# Orabuntu-LXC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with Orabuntu-LXC. If not, see <http://www.gnu.org/licenses/>.

# v2.4 GLS 20151224
# v2.8 GLS 20151231
# v3.0 GLS 20160710 Updates for Ubuntu 16.04
# v4.0 GLS 20161025 DNS DHCP services moved into an LXC container
# v5.0 GLS 20170909 Orabuntu-LXC Multi-Host
# v6.0-AMIDE-beta GLS 20180106 Orabuntu-LXC AmazonS3 Multi-Host Docker Enterprise Edition (AMIDE)

# Note that this software builds a containerized DNS DHCP solution (bind9 / isc-dhcp-server).
# The nameserver should NOT be the name of an EXISTING nameserver but an arbitrary name because this software is CREATING a new LXC-containerized nameserver.
# The domain names can be arbitrary fictional names or they can be a domain that you actually own and operate.
# There are two domains and two networks because the "seed" LXC containers are on a separate network from the production LXC containers.
# If the domain is an actual domain, you will need to change the subnet using the subnets feature of Orabuntu-LXC
#

clear

SubDirName=$1

ArchiveList="dns-dhcp-cont.tar dns-dhcp-host.tar lxc-oracle-files.tar orabuntu-services.tar scst-files.tar tgt-files.tar ubuntu-host.tar"

function GetDistDir {
Expand All @@ -13,17 +47,17 @@ sudo cp -p COPYING /etc/.
sudo cp -p GNU3 /var/.
sudo cp -p COPYING /var/.

sudo mkdir -p "$DistDir"/orabuntu/archives/rootfs/.
sudo cp -p GNU3 "$DistDir"/orabuntu/archives/rootfs/.
sudo cp -p COPYING "$DistDir"/orabuntu/archives/rootfs/.
sudo mkdir -p "$DistDir"/"$SubDirName"/archives/rootfs/.
sudo cp -p GNU3 "$DistDir"/"$SubDirName"/archives/rootfs/.
sudo cp -p COPYING "$DistDir"/"$SubDirName"/archives/rootfs/.

sudo cp -p COPYING "$DistDir"/orabuntu/.
sudo cp -p COPYING "$DistDir"/orabuntu/archives/.
sudo cp -p COPYING "$DistDir"/"$SubDirName"/.
sudo cp -p COPYING "$DistDir"/"$SubDirName"/archives/.

sudo cp -p GNU3 "$DistDir"/orabuntu/.
sudo cp -p GNU3 "$DistDir"/orabuntu/archives/.
sudo cp -p GNU3 "$DistDir"/"$SubDirName"/.
sudo cp -p GNU3 "$DistDir"/"$SubDirName"/archives/.

cd "$DistDir"/orabuntu/archives
cd "$DistDir"/"$SubDirName"/archives

for i in $ArchiveList
do
Expand All @@ -41,7 +75,7 @@ do
tar -vP --delete --file=$i /var/GNU3 > /dev/null 2>&1
tar -vP --delete --file=$i /etc/GNU3 > /dev/null 2>&1
tar -vP --delete --file=$i rootfs/GNU3 > /dev/null 2>&1
tar -vP --delete --file=$i "$DistDir"/orabuntu/archives/GNU3 > /dev/null 2>&1
tar -vP --delete --file=$i "$DistDir"/"$SubDirName"/archives/GNU3 > /dev/null 2>&1
fi

tar -tvPf $i | grep COPYING
Expand All @@ -51,7 +85,7 @@ do
tar -vP --delete --file=$i /var/COPYING > /dev/null 2>&1
tar -vP --delete --file=$i /etc/COPYING > /dev/null 2>&1
tar -vP --delete --file=$i rootfs/COPYING > /dev/null 2>&1
tar -vP --delete --file=$i "$DistDir"/orabuntu/archives/COPYING > /dev/null 2>&1
tar -vP --delete --file=$i "$DistDir"/"$SubDirName"/archives/COPYING > /dev/null 2>&1
fi

if [ $i = 'dns-dhcp-host.tar' ] || [ $i = 'ubuntu-host.tar' ]
Expand All @@ -73,8 +107,8 @@ do
sudo tar -vP --append --file=$i rootfs/GNU3
sudo tar -vP --append --file=$i rootfs/COPYING
else
tar -vP --append --file=$i "$DistDir"/orabuntu/archives/GNU3
tar -vP --append --file=$i "$DistDir"/orabuntu/archives/COPYING
tar -vP --append --file=$i "$DistDir"/"$SubDirName"/archives/GNU3
tar -vP --append --file=$i "$DistDir"/"$SubDirName"/archives/COPYING
fi

echo ''
Expand All @@ -86,4 +120,4 @@ do
sleep 2
done

sudo rm -rf "$DistDir"/orabuntu/archives/rootfs
sudo rm -rf "$DistDir"/"$SubDirName"/archives/rootfs
Loading

0 comments on commit dce2b55

Please sign in to comment.