IBM Books

IBM LoadLeveler for AIX 5L: Using and Administering

llextSDR - Extract adapter information from the SDR

Purpose

Extracts adapter information from the system data repository (SDR) and creates adapter and machine stanzas for each node in an RS/6000 SP partition. You can use the information in these stanzas in the LoadLeveler administration file. This command writes the stanzas to standard output.

Syntax

llextSDR [-?] [-H] [-v] [-a adapter]

Flags

-?
Provides a short usage message.

-H
Provides extended help information.

-v
Outputs the name of the command, release number, service level, service level date, and operating system used to build the command.

-a adapter
Specifies that the interface name of the given adapter on each node is used as the label (machine stanza name) of the generated machine stanza. If you do not specify an adapter, the label used is the initial_hostname field of the Node class in the SDR.

Description

In the SDR, the Node class contains an entry for each node in the SP partition. The Adapter class contains an entry for each adapter configured on a node. This command extracts the information in the Adapter class and creates an adapter stanza. This command also creates a machine stanza which identifies the node and the adapters attached to the node. The generated machine stanza also includes the spacct_excluse_enable keyword, whose value is obtained from the spacct_excluse_enable attribute in the SP class of the SDR. For more information on adapter stanzas, see Step 5: Specify adapter stanzas. For more information on machine stanzas, see Step 1: Specify machine stanzas.

The partition for which information is extracted is either the default partition or that specified with the SP_NAME environment variable. For the control workstation, the default partition is the default system partition. For an SP node, the default partition is the partition to which the node belongs.

You must issue this command on a machine with the ssp.clients file set installed. If you issue this command from a non-SP workstation, you must set SP_NAME to the IP address of the appropriate SDR instance for the partition.

Examples

The following example creates adapter and machine stanzas for all nodes in a partition:

llextSDR

The following example creates machine stanzas with each node's css0 interface name as the label:

llextSDR -a css0

Results

You may need to alter or add information to the stanzas produced by this command when you incorporate the stanzas into the administration file. For example, administrators may want to have each network_type field use a value that reflects the type of nodes installed on the network. Users will need to know the values used for network_type so that they can specify an appropriate value in their job command files.

Also, the output of this command includes fully-qualified machine names. If your existing administration file uses short names, you may need to change either the command output or your existing administration file so that you use either all fully-qualified names or all short names.

This is sample output for the llextSDR command:

#llextSDR: System Partition = "c97s" on Wed Aug 29 16:43:13 2001
 
c98n05.ppd.pok.ibm.com: type = machine
   adapter_stanzas = c97san04.ppd.pok.ibm.com c97s2n04.ppd.pok.ibm.com 
          c97sn04.ppd.pok.ibm.com c98n05.ppd.pok.ibm.com 
   spacct_excluse_enable = false
   dce_host_name = c98n05.ppd.pok.ibm.com
   alias = c97san04.ppd.pok.ibm.com c97s2n04.ppd.pok.ibm.com 
          c97sn04.ppd.pok.ibm.com
 
c97san04.ppd.pok.ibm.com: type = adapter
   adapter_name = ml0
   network_type = multilink
   interface_address = 9.114.59.196
   interface_name = c97san04.ppd.pok.ibm.com
   multilink_list = css0,css1
 
c97s2n04.ppd.pok.ibm.com: type = adapter
   adapter_name = css1
   network_type = switch
   interface_address = 9.114.59.4
   interface_name = c97s2n04.ppd.pok.ibm.com
   multilink_address = 9.114.59.196
   switch_node_number = 3
   css_type = SP_Switch2_Adapter
 
c97sn04.ppd.pok.ibm.com: type = adapter
   adapter_name = css0
   network_type = switch
   interface_address = 9.114.59.132
   interface_name = c97sn04.ppd.pok.ibm.com
   multilink_address = 9.114.59.196
   switch_node_number = 3
   css_type = SP_Switch2_Adapter
 
c98n05.ppd.pok.ibm.com: type = adapter
   adapter_name = en0
   network_type = ethernet
   interface_address = 9.114.59.70
   interface_name = c98n05.ppd.pok.ibm.com
 
   .
   .
   .
 
c97n05.ppd.pok.ibm.com: type = machine
   adapter_stanzas = c97san02.ppd.pok.ibm.com c97s2n02.ppd.pok.ibm.com 
          c97sn02.ppd.pok.ibm.com c97n05.ppd.pok.ibm.com 
   spacct_excluse_enable = false
   dce_host_name = c97n05.ppd.pok.ibm.com
   alias = c97san02.ppd.pok.ibm.com c97s2n02.ppd.pok.ibm.com 
          c97sn02.ppd.pok.ibm.com
 
c97san02.ppd.pok.ibm.com: type = adapter
   adapter_name = ml0
   network_type = multilink
   interface_address = 9.114.59.194
   interface_name = c97san02.ppd.pok.ibm.com
   multilink_list = css0,css1
 
c97s2n02.ppd.pok.ibm.com: type = adapter
   adapter_name = css1
   network_type = switch
   interface_address = 9.114.59.2
   interface_name = c97s2n02.ppd.pok.ibm.com
   multilink_address = 9.114.59.194
   switch_node_number = 1
   css_type = SP_Switch2_Adapter
 
c97sn02.ppd.pok.ibm.com: type = adapter
   adapter_name = css0
   network_type = switch
   interface_address = 9.114.59.130
   interface_name = c97sn02.ppd.pok.ibm.com
   multilink_address = 9.114.59.194
   switch_node_number = 1
   css_type = SP_Switch2_Adapter
 
c97n05.ppd.pok.ibm.com: type = adapter
   adapter_name = en0
   network_type = ethernet
   interface_address = 9.114.59.66
   interface_name = c97n05.ppd.pok.ibm.com
 
 

This is sample output for the llextSDR -a css0 command:

#llextSDR: System Partition = "c97s" on Wed Aug 29 17:24:07 2001
 
c97sn04.ppd.pok.ibm.com: type = machine
   adapter_stanzas = c97san04.ppd.pok.ibm.com c97s2n04.ppd.pok.ibm.com
          c97sn04.ppd.pok.ibm.com c98n05.ppd.pok.ibm.com 
   spacct_excluse_enable = false
   alias = c97san04.ppd.pok.ibm.com c97s2n04.ppd.pok.ibm.com 
          c98n05.ppd.pok.ibm.com
 
c97san04.ppd.pok.ibm.com: type = adapter
   adapter_name = ml0
   network_type = multilink
   interface_address = 9.114.59.196
   interface_name = c97san04.ppd.pok.ibm.com
   multilink_list = css0,css1
 
c97s2n04.ppd.pok.ibm.com: type = adapter
   adapter_name = css1
   network_type = switch
   interface_address = 9.114.59.4
   interface_name = c97s2n04.ppd.pok.ibm.com
   multilink_address = 9.114.59.196
   switch_node_number = 3
   css_type = SP_Switch2_Adapter
 
c97sn04.ppd.pok.ibm.com: type = adapter
   adapter_name = css0
   network_type = switch
   interface_address = 9.114.59.132
   interface_name = c97sn04.ppd.pok.ibm.com
   multilink_address = 9.114.59.196
   switch_node_number = 3
   css_type = SP_Switch2_Adapter
 
c98n05.ppd.pok.ibm.com: type = adapter
   adapter_name = en0
   network_type = ethernet
   interface_address = 9.114.59.70
   interface_name = c98n05.ppd.pok.ibm.com


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]