Install M2 on Stock Minimal CentOS/RHEL Install

From AN!Wiki
Revision as of 05:06, 24 March 2020 by Digimer (Talk | contribs)

Jump to: navigation, search

 AN!Wiki :: How To :: Install M2 on Stock Minimal CentOS/RHEL Install

This is meant to show how to install the Striker dashboard and Anvil! nodes using machines with generic EL6 minimal installs. This is needed in some cases, like when installing on UEFI machines.

Contents

Partitioning Storage

Please partition your system without a dedicated /home partition. The default leaves only 50 GiB of space for the root partition, which may not be enough for logs, cache, the striker database, and the rest of the system. The recommended layout is;

Partition Size LVM?
/boot/efi 200 MiB no
/boot 500 MiB no
<swap> 4 GiB yes
/ Balance yes

Build Install Media

You will still need the install media if you want to have Striker operate as an install target post-setup.

Prepare The OS

Template note icon.png
Note: If you're installing on RHEL proper, be sure to subscribe to RH first.
subscription-manager register --username rh_user --password rh_pass --auto-attach --force
subscription-manager repos --enable=rhel-6-server-optional-rpms

Once the minimal OS install is complete, you need a few steps to prepare for the Striker install.

Template note icon.png
Note: If you don't have access to the internet, after copying and mounting the Anvil ISO, create the repo file: with the body:
[local]
name=Anvil ISO repo
baseurl=file:///mnt/iso
gpgcheck=0
enabled=1

Then run:

yum -y --disablerepo=* --enablerepo=local install perl usbutils wget unzip rsync vim alteeve-repo kernel-devel kernel-source kernel-headers
Then skip the rest of this section.

Add the Alteeve repo;

yum -y install https://www.alteeve.com/an-repo/el6/RPMS/noarch/alteeve-repo-0.1-4.noarch.rpm

Install dependencies;

yum -y install perl usbutils wget unzip rsync vim kernel-devel kernel-source kernel-headers

Switch to the root user's home directory, download and extract the source and copy the striker-installer into place.

Preparing ISO

If you've got an optical drive, insert and mount the DVD. If not, copy the ISO to the newly build dashboard and then mount ot.

Once copied, create a mount point, then mount the ISO;

mkdir /mnt/iso
mount -o loop /root/Anvil_m2-master_2020-02-18_CentOS-6.10.iso /mnt/iso/
Template note icon.png
Note: If you insert the DVD into an optical drive, use /mnt/cdrom in the steps below.

Install Striker

Run the installer.

Template note icon.png
Note: Change the options to suit your environment. Run: ./striker-installer --help to see options.
Template note icon.png
Note: The --source switch is required for these types of installs.
/mnt/iso/striker/tools/striker-installer \
 --source /mnt/iso \
 -i 192.168.122.41/24,dg=192.168.122.1,dns1=8.8.8.8 \
 -b 10.20.4.1/16 \
 -c Alteeve \
 -n an-striker01.alteeve.com \
 -p 10.20.1.200:10.20.1.220 \
 --router-mode \
 -u admin:Initial1 \
 --peer-dashboard hostname=an-striker02.alteeve.com,bcn_ip=10.20.4.2

From here, the install should proceed normally.

 

Any questions, feedback, advice, complaints or meanderings are welcome.
Us: Alteeve's Niche! Support: Mailing List IRC: #clusterlabs on Freenode   © Alteeve's Niche! Inc. 1997-2019
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.
Personal tools
Namespaces

Variants
Actions
Navigation
projects
Toolbox