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.
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;
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
|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.
If you don't have Internet Access
If you don't have access to the internet, after copying and mounting the Anvil ISO (see below), create the repo file: with the body:
[local] name=Anvil ISO repo baseurl=file:///mnt/iso gpgcheck=0 enabled=1
yum -y --disablerepo=* --enablerepo=local install perl usbutils wget unzip rsync vim alteeve-repo kernel-devel kernel-source kernel-headers gcc
If you do have Internet Access
If you do have Internet access, add the Alteeve repo;
yum -y install https://www.alteeve.com/an-repo/el6/RPMS/noarch/alteeve-repo-0.1-4.noarch.rpm
yum -y install perl usbutils wget unzip rsync vim kernel-devel kernel-source kernel-headers gcc
Switch to the root user's home directory, download and extract the source and copy the striker-installer into place.
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/
|Note: If you insert the DVD into an optical drive, use /mnt/cdrom in the steps below.|
Run the installer.
|Note: Change the options to suit your environment. Run: ./striker-installer --help to see options.|
|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=22.214.171.124 \ -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.|