This section describes how to add and remove chassis dynamically within an I-Fabric.
Type /opt/terraspring/sbin/discoversfb1600
Running this tool launches a command-line UI that prompts you for chassis information.
When prompted for the IP address of the SSC of the chassis to be discovered, type each address on a separate r line.
When prompted to accept the list of IP addresses, type Yes to accept or No to edit the values.
At the prompt, type your system controller username.
At the prompt, type your system controller password.
You are then asked whether your system controller username and password are the same as your switch username and password.
Indicate whether the user names and passwords are the same.
Continue to provide the information as prompted by the UI.
The discoversfb1600 command then attempts to discover the specified chassis. Thediscoversfb1600 command automatically adds the chassis's components, such as the server blades, SSCs, and their interconnections. The discovery process takes a few minutes to execute for each shelf.
Example:
/opt/terraspring/sbin/discoversfb1600 SFB1600 Discovery Please enter a list of SFB1600 System Controller IP Addresses End the list with an empty line IP Address of Blade System Controller #1: 10.5.132.65 IP Address of Blade System Controller #2: Checking Blade System Chassis... 1: 10.5.132.65 : OK Checking Blade System Chassis entries in database.... 1: 10.5.132.65 : OK Using the following IP addresses: 1: 10.5.132.65 Do you want to configure this shelf [yes/no]? yes Enter common user name: admin Enter common password: Are the switch user name and password the same as the management user name and password? [yY/nN]y Configuring devices...... Enter default gateway: 10.5.132.1 Enter netmask: 255.255.255.0 Please enter VLAN ranges. Enter VLAN range lower bound (Press ENTER if done) : 10 Enter VLAN range upper bound (Press ENTER if done) : 255 Enter VLAN range lower bound (Press ENTER if done) : How many switches has the shelf with controller 10.5.132.65 got? 2 Enter switch IP for switch 1: 10.5.132.68 Enter the SSC number corresponding to this switch [ssc0/ssc1]: ssc0 Configuring switch with IP 10.5.132.68... done! Enter switch IP for switch 2: 10.5.132.69 Enter the SSC number corresponding to this switch [ssc0/ssc1]: ssc1 Configuring switch with IP 10.5.132.69... done! Configuring blades with controller IP 10.5.132.65... Warning: assuming SC and Switch have same login username. Warning: assuming SC and Switch have same login password. Discovering shelf with IP: 10.5.132.65. Please Wait... Done! Connected to jdbc:oracle:thin:@idb:1521:tsprdb as XCF Processing WML file /var/tmp/devices.20031125.201509.wml ... Segment name: Adding device type: sunfireb100x-238-blade Adding port: p0 Adding port: s0 Adding port: ide Adding adapter: eth type: ge Adding port: eth0 Adding port: eth1 Adding local disk: local1 size: 30000000000 Adding disk address, port: ide target: 0 lun: 0 **WARNING** Skipping device type 'sun-b1600-shelf'. It is already defined. Adding device sun-b1600-shelf:50299 with attributes: {} **WARNING** Updating device '50001'. It is already defined. Adding device sun-b1600-sw:50250 with attributes: {rack-id=50299, netmask=255.255.255.0, ipaddress=10.5.132.68, gateway=10.5.132.1} Adding device sun-b1600-sw:50251 with attributes: {rack-id=50299, netmask=255.255.255.0, ipaddress=10.5.132.69, gateway=10.5.132.1} Adding device sun-b1600-pwr:50260 with attributes: {rack-id=50299, netmask=255.255.255.0, ipaddress=10.5.132.65, gateway=10.5.132.1}Adding device sunfireb100s-95-blade:50200 with attributes: {rack-id=50299, slot-num=0, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100s-95-blade:50201 with attributes: {rack-id=50299, slot-num=1, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100s-95-blade:50211 with attributes: {rack-id=50299, slot-num=11, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100s-95-blade:50202 with attributes: {rack-id=50299, slot-num=2, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100s-95-blade:50203 with attributes: {rack-id=50299, slot-num=3, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100s-95-blade:50204 with attributes: {rack-id=50299, slot-num=4, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100s-95-blade:50205 with attributes: {rack-id=50299, slot-num=5, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100s-95-blade:50206 with attributes: {rack-id=50299, slot-num=6, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100s-95-blade:50207 with attributes: {rack-id=50299, slot-num=7, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100s-95-blade:50208 with attributes: {rack-id=50299, slot-num=8, role=PES} Adding device port: eth0 Adding device port: eth1 Adding device sunfireb100x-238-blade:50209 with attributes: {rack-id=50299, slot-num=9, role=PES} Adding device port: eth0 Adding device port: eth1Adding connection from 50250/snp0 to 50200/eth0 Adding connection from 50251/snp0 to 50200/eth1 Adding connection from 50260/0 to 50200/p0 Adding connection from 50260/s0 to 50200/s0 Adding connection from 50250/snp1 to 50201/eth0 Adding connection from 50251/snp1 to 50201/eth1 Adding connection from 50260/1 to 50201/p0 Adding connection from 50260/s1 to 50201/s0 Adding connection from 50250/snp11 to 50211/eth0 Adding connection from 50251/snp11 to 50211/eth1 Adding connection from 50260/11 to 50211/p0 Adding connection from 50260/s11 to 50211/s0 Adding connection from 50250/snp2 to 50202/eth0 Adding connection from 50251/snp2 to 50202/eth1 Adding connection from 50260/2 to 50202/p0 Adding connection from 50260/s2 to 50202/s0 Adding connection from 50250/snp3 to 50203/eth0 Adding connection from 50251/snp3 to 50203/eth1 Adding connection from 50260/3 to 50203/p0 Adding connection from 50260/s3 to 50203/s0 Adding connection from 50250/snp4 to 50204/eth0 Adding connection from 50251/snp4 to 50204/eth1 Adding connection from 50260/4 to 50204/p0 Adding connection from 50260/s4 to 50204/s0 Adding connection from 50250/snp5 to 50205/eth0 Adding connection from 50251/snp5 to 50205/eth1 Adding connection from 50260/5 to 50205/p0 Adding connection from 50260/s5 to 50205/s0 Adding connection from 50250/snp6 to 50206/eth0 Adding connection from 50251/snp6 to 50206/eth1 Adding connection from 50260/6 to 50206/p0 Adding connection from 50260/s6 to 50206/s0 Adding connection from 50250/snp7 to 50207/eth0 Adding connection from 50251/snp7 to 50207/eth1 Adding connection from 50260/7 to 50207/p0 Adding connection from 50260/s7 to 50207/s0 Adding connection from 50250/snp8 to 50208/eth0 Adding connection from 50251/snp8 to 50208/eth1 Adding connection from 50260/8 to 50208/p0 Adding connection from 50260/s8 to 50208/s0 Adding connection from 50250/snp9 to 50209/eth0 Adding connection from 50251/snp9 to 50209/eth1 Adding connection from 50260/9 to 50209/p0 Adding connection from 50260/s9 to 50209/s0Marking device '50200' as free. Marking device '50201' as free. Marking device '50202' as free. Marking device '50203' as free. Marking device '50204' as free. Marking device '50205' as free. Marking device '50206' as free. Marking device '50207' as free. Marking device '50208' as free. Marking device '50209' as free. Marking device '50211' as free. Marking device '50250' as used. Marking device '50251' as used. Marking device '50260' as used. Marking device '50299' as used. File '/var/tmp/devices.20031125.201509.wml' processed successfully Clz6pK2b6qw= 50260 Password set : 50250 Password set : 50251 Password set : 50260 Validating the blades. This may take upto 30 minutes. You can choose to skip this step. Do you want to continue [yes/no]? no |
Type the device -l command to verify that the chassis has been added. See the example inUnderstanding I-Fabric Component IDs for details on how to use this command.
See the example inUnderstanding I-Fabric Component IDs for details on how to use this command.