Changes

From Amahi Wiki
Jump to: navigation, search
{{WorkInProgress}}
'''Last Update:''' May 22, 2022
=Objective=
This is a project to update and modernize the infrastructure that keeps the Amahi web sites and services running.
<br>
'''Server #1 (CURRENT):'''
 * OpenStack release VictoriaYoga* Operating System: CentOS 8.3.2011Stream
* 32GB PC2-5300 RAM (8x4)
* Quick Swap Drive Bays
** 1 - 1 TB (LVM)1TB** 2 - 120 GB SSD750GB (Backup)** 3 - 750 GB (Backup)EMPTY
** 4 - EMPTY
<br>
'''Server #2 (BACKUP):'''
* OpenStack release UssuriWallaby* Operating System: CentOS 8.3.2011Stream
* 24GB PC2-5300 RAM (4x2/8x2)
* Quick Swap Drive Bays
** 1 - 128GB SSD 850GB (LVM)
** 2 - EMPTY
** 3 - 800GB HD 120GB SSD (LVMBackup)** 4 - 120GB SSD (Backup)<br>EMPTY
=Setup=
The following guidance is based on the latest release of OpenStack (UssuriYoga):
<ul>
<li> Download [https://www.centos.org/download/ CentOS8 Stream] minmal image and install following [https://linuxhint.com/install_centos8_netboot_iso/ Installing CentOS 8 using NetBoot ISO Image] tutorial(use LVM, but remove ''/home'' partition and redistribute space to ''/''). </li><li> [https://linuxconfig.org/rhel-8-configure-static-ip-address Set Static IP Address] and [https://techjourney.net/how-to-set-change-hostname-fqdn-fully-qualified-domain-name-in-rhel-centos-7/ Configure configure Fully Qualified Domain Name] and , then reboot</li><li> Follow step 0 - 2 3 of the [https://www.rdoproject.org/install/packstack/ RDO Packstack Quickstart] for the OpenStack installation (ensure step 0 prerequisites are completed first).</li><li> At step 34, follow the [https://www.rdoproject.org/networking/neutron-with-existing-external-network/ Neutron with existing network guidance]:</li>
<ul>
<li> Use command : <code>packstack --cinderallinone --volumesprovision-createdemo=y n --cinder-volumes-size=100G --provision-demo=n --os-heat-install=y --os-ceilometer-install=y --os-horizon-ssl=n --keystone-admin-passwd={set password} --os-neutron-ml2-mechanism-drivers=openvswitch --os-neutron-ml2-tenant-network-types=vxlan --os-neutron-ml2-type-drivers=vxlan,flat,vlan --os-neutron-l2-agent=openvswitch --os-neutron-ovs-bridge-mappings=extnet:br-ex --os-neutron-ovs-bridge-interfaces=br-ex:eth0 --nova-libvirt-virt-type=kvm</code> (replace {set password} and ''eth0'' with appropriate interfacevalues)</li>
<li> Skip down to ''Now, create the external network with Neutron.'' and follow guidance.</li>
<li> Next move to ''Then create a router and set its gateway using the external network...'' and follow remaining guidance.</li>
<li> TCP / 443 (<i>Optional</i>)</li>
</ul>
<li> Set Cinder Volumes to 100GB</li>
<li> Add users and private keys for SSH login</li>
<li> Disable SSH password and root login</li>
<b>NOTE:</b> A terminal script has been created developed to automate the installation steps above for OpenStack after CentOS is installed.
=Naming Convention=
=Backup=
'''Last Backup completed:'''
* Instances - ''25 Aug 202004 Jul 2021''* Volumes - '' 25 Aug 202004 Jul 2021''
See [https://docs.openstack.org/newton/user-guide/cli-change-the-size-of-your-server Change the size of your server] for command line guidance.
==Fedora Cloud Base Images==See [https://wwwalt.linuxtechifedoraproject.comorg/use-fedora-23-cloud-image-redhat-openstack/ Launch Fedora 23 Cloud imageBase Images] for guidance.
== Migration ==
12,424

edits