'Discover Hardware', 'patterns' => 'Cluster Patterns', 'patterns2' => 'More Cluster Patterns', 'preparemn' => 'Prepare Management Node', 'prediscover' => 'Power On Hardware', 'discover' => 'Discover HW Control Points', 'updatedefs' => 'Update Definitions', 'configurehcps' => 'Configure HW Control Points', 'createnodes' => 'Create Nodes', 'testhcps' => 'Test HW Control', 'done' => 'Complete', ); if (isset($_REQUEST['page'])) { displayWizard($pages); } else { // initial display of the wizard, show the whole page insertHeader('Discover New Nodes', array('discover.css',"$TOPDIR/lib/wizard.css"), array("$TOPDIR/jq/jquery.min.js"), array('machines','discover')); echo "
\n"; displayWizard($pages); echo "
\n"; // end the content div insertFooter(); } //----------------------------------------------------------------------------- function intro() { echo "

This wizard will guide you through the process of defining the naming conventions within your cluster, discovering the hardware on your network, and automatically defining it in the xCAT database."; echo " Choose which type of hardware you want to discover, and then click Next.

\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; } //----------------------------------------------------------------------------- function patterns() { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "

Switch Patterns

HMCs

Frame (BPA) Patterns

Drawer (FSP/CEC) Patterns

\n"; //todo: get HCP userids/pws } //----------------------------------------------------------------------------- function patterns2() { echo "\n"; echo "\n"; echo "\n"; echo ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "

Building Blocks

(Subnet address in each Building Block)

LPAR Information

\n"; // do we need to get any info about the resources that should be in each lpar, or do we just divide them evenly? } //----------------------------------------------------------------------------- function preparemn() { global $TOPDIR; echo "\n"; echo "\n"; echo "\n"; // run makenetworks and update the dynamic range for the service LAN echo "\n"; // run makedhcp and show progress echo "
Write Cluster Topology Configuration File.
Define networks.
Configure DHCP.
\n"; } //----------------------------------------------------------------------------- function prediscover() { //todo: there's a better way to get this list left justified, but have the block in the center, but don't feel like figuring it out right now. echo "
\n"; echo "
  1. Power on all of the HMCs.
  2. Then power on all of frames.
  3. Then click Next to discover the hardware on the service network.
\n"; echo "
\n"; } //----------------------------------------------------------------------------- function discover() { global $TOPDIR; //todo: run lsslp and show progress echo "\n"; echo "\n"; echo "
Discovering HMCs, BPAs, and FSPs...
\n"; echo "

(This will show the list of hw discovered & located, including nodenames and IP addresses assigned, and then save all info to the DB.)

\n"; } //----------------------------------------------------------------------------- function updatedefs() { global $TOPDIR; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; // run makedhosts and makedns echo "
Determine which CECs each HMC should manage.
Assign frame numbers, supernode numbers, and building block numbers.
Assign building block subnets.
Update name resolution.
\n"; } //----------------------------------------------------------------------------- function configurehcps() { global $TOPDIR; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
Assign CECs to their HMC.
Set frame numbers in BPAs.
Power on CECs to Standby.
\n"; //todo: set HCP userids/pws } //----------------------------------------------------------------------------- function createnodes() { global $TOPDIR; echo "\n"; echo "\n"; echo "\n"; echo "
Create LPARs in each CEC.
Save node definitions in xCAT database.
\n"; } //----------------------------------------------------------------------------- function testhcps() { global $TOPDIR; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
(Output for rpower stat for sample nodes)
(Output for rinv for sample nodes)
(Output for rvitals for sample nodes)
\n"; } //----------------------------------------------------------------------------- function done() { global $TOPDIR; echo "

Cluster set up successfully completed!

\n"; echo "

You can now start to deploy nodes.

\n"; } ?>