Build an Anvil! - Cookbook

From Alteeve Wiki
Jump to navigation Jump to search

 AN!Wiki :: Build an Anvil! - Cookbook

Warning: This is an in-progress document. Do not expect anything here to be accurate or correct. This warning will be removed when the guide is completed. You can track the progress on Striker's Github page.

This is the "cook-book" version of "Build an Anvil! - Detailed". This page is intended as a quick reference for people familiar with the Anvil! architecture.

Build the Anvil! ISO

Note: We've tested this tool on Fedora, RHEL and CentOS operating systems. It may not work on other distributions. If you have trouble, please contact us and we'll work to extend support to new distros.

The build process is pretty simple;

  1. Download the RHEL or CentOS 6 DVD ISO.
    1. CentOS x86_64 v6
    2. RHEL x86_64 v6 (try or buy)

Download the ISO and (optional) USB tools

wget -c https://raw.githubusercontent.com/ClusterLabs/striker/master/tools/anvil-generate-iso
https://raw.githubusercontent.com/ClusterLabs/striker/master/tools/anvil-usb-installer
chmod 755 anvil-generate-iso
chmod 755 anvil-usb-installer

Install Dependencies:

For EL6 and EL7:

yum install createrepo genisoimage git libcdio mkdosfs parted rsync syslinux udevadm

For Fedora:

dnf install createrepo genisoimage git libcdio mkdosfs parted rsync syslinux udevadm

Build the ISO;

Note: This tool requires access to the Internet to work properly.

To build a RHEL-based Anvil! ISO, run:

./anvil-generate-iso --source ./rhel-server-6.8-x86_64-dvd.iso

To build a CentOS-based Anvil! ISO, run:

./anvil-generate-iso --source ./CentOS-6.7-x86_64-bin-DVD1.iso,./CentOS-6.7-x86_64-bin-DVD2.iso

Optional: Create a USB Boot Drive:

Note: This script must be run as the 'root' user (or via 'sudo').

Example using '/dev/sdb' and the RHEL ISO.

sudo ./anvil-usb-installer --iso ./anvil/Anvil_m2_RHEL_6.8_alpha.iso --usb /dev/sdb

Building The First Striker Dashboard

The first dashboard will be booted off of either the DVD or USB drive. How exactly you do this will depend on your hardware, so please consult your machine's service manual for instructions on how to choose a temporary boot device.

Hardware Requirements

The Striker dashboard has fairly modest system requirements. The only hard requirement is that the machine can run RHEL or CentOS 6 and that it has two network interfaces (wireless is NOT supported).

The recommended minimum configuration is:

  • Intel Core i5 v5 (or AMD equivalent) or newer CPU
  • 8 GiB of RAM
  • 128 GiB SSD
  • 4x 1 Gbps NICs

The above specs will provide plenty of performance for hosting the ScanCore database as well as provide network redundancy on both the Back-Channel Network and the Intranet-Facing Network.



 

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Enterprise Support:
Alteeve Support
Community Support
© Alteeve's Niche! Inc. 1997-2024   Anvil! "Intelligent Availability®" Platform
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.