'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"; // The least hacky way to get this list left justified, but have the block in the center, is to use a table. CSS snobs, just deal with it. 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 from the user } //----------------------------------------------------------------------------- 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"; } //----------------------------------------------------------------------------- function prediscover() { echo "
\n"; echo "

Do the following manual steps now:

\n"; echo "
  1. Power on all of the HMCs.
  2. \n"; echo "
  3. Then power on all of frames.
  4. \n"; echo "
  5. Then click Next to discover the hardware on the service network.
  6. \n"; echo "
\n"; } //----------------------------------------------------------------------------- function discover() { global $TOPDIR; //todo: run lsslp and show progress echo "
\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"; } //----------------------------------------------------------------------------- function configurehcps() { global $TOPDIR; echo "
\n"; //todo: set HCP userids/pws } //----------------------------------------------------------------------------- function createnodes() { global $TOPDIR; echo "
\n"; } //----------------------------------------------------------------------------- function testhcps() { global $TOPDIR; echo "
\n"; } //----------------------------------------------------------------------------- function done() { global $TOPDIR; echo "

Cluster set up successfully completed!

\n"; echo "

You can now view your node definitions and start to deploy nodes.

\n"; } ?>