HP XC System Software Installation Guide Version 3.2

3.6.2.3 Discover All Nodes and Enclosures
Follow this procedure to discover all enclosures and all nodes (including server blades) in the
hardware configuration. This discovery process assigns IP addresses to all hardware components:
1. Begin this procedure as the root user on the head node.
2. Start a script to capture command output into a file. This step is optional, but HP recommends
doing so.
# script your_filename
3. Change to the following directory:
# cd /opt/hptc/config/sbin
4. Discover all enclosures:
# ./discover --enclosurebased --enclosures
Discovery - XC Cluster version HP XC V32 20061022
Enter the common user name for all console port management devices:
your_username
Please enter the password for Administrator: your_password
Please re-enter password: your_password
Discovering blade enclosures ...
Checking switch 172.31.32.2 for active ports ...done
Getting MAC addresses from switch 172.31.32.2 ... done
Checking switch 172.31.32.1 for active ports ...done
Getting MAC addresses from switch 172.31.32.1 ... done
Enclosure blc1n-enc09USE6391TF5 found
Discovering virtual enclosures ...
Checking switch 172.31.32.2 for active ports ... done
Getting MAC Addresses from switch 172.31.32.2 ... done
Checking switch 172.31.32.1 for active ports ... done
Getting MAC Addresses from switch 172.31.32.1 ...done
5. Discover all nodes:
# ./discover --enclosurebased --nodesonly --verbose
Command output is similar to the following:
Discovery - XC Cluster version HP XC Vn.n <timestamp>
Enter the common user name for all console port management devices:
your_username
Please enter the password for Administrator: your_password
Please re-enter password: your_password
Discovering Blades ...
Blade found in enclosure blc1n-enc09USE6391TF5 bay 1, name is blc1n1
Blade found in enclosure blc1n-enc09USE6391TF5 bay 2, name is blc1n2
Blade found in enclosure blc1n-enc09USE6391TF5 bay 3, name is blc1n3
Blade found in enclosure blc1n-enc09USE6391TF5 bay 4, name is blc1n4
Blade found in enclosure blc1n-enc09USE6391TF5 bay 5, name is blc1n5
Discovering Non-Blade systems ...
Setting system name to blc1n0
uploading database
Restarting dhcpd
Opening /etc/hosts
Opening /etc/hosts.new.XC
Opening /etc/powerd.conf
Building /etc/powerd.conf ... done
Attempting to start hpls power daemon ... done
Waiting for power daemon ... done
Checking if all console ports are reachable ...
number of cps to check, 5
checking 172.31.16.5
72 Configuring and Imaging the System