Purpose
Eannotator - Annotates the connection labels in the topology file.
Syntax
Flags
Operands
None.
Description
This command supports all of the following:
This command must be executed whenever a new topology file is selected.
The topology file contains node-to-switch or switch-to-switch cable information. A node-to-switch connection looks like following:
s 25 2 tb0 17 0 E2-S00-BH-J16 to E2-N2
The predefined node-to-switch connections start with an "s" which indicates a switch connection. The next two digits, in this case "25" indicate the switch (2) and switch chip (5) being connected. The next digit, in this case "2", indicates the switch chip port in the connection. The next field, in this case "tb0", specifies the type of adapter present in the SP node. The following field, in this case "17", is the switch node number for the SP node, and the last digit, in this case "0", indicates the adapter port within the connection.
For switch-to-switch connections, the first four fields (switch indicator, switch, switch chip, and switch chip port) are repeated to identify the other end of the connection.
The connection label "E2-S00-BH-J16 to E2-N2" provides physical connection information for a customer's use to identify the problem connection.
Depending on the customer's physical switch frame configuration defined in the SDR, the Eannotator command retrieves switch node and dependent node objects from the SDR and applies proper connection information to the topology file.
If the input topology file contains existing connection information, the Eannotator command replaces the existing connection label with the new connection labels. If the input topology file does not contain connection labels, the Eannotator command appends the proper connection label to each line on the topology file.
The precoded connection labels on the topology file start with an "L" which indicate logical frames. The Eannotator command replaces the "L" character with an "E" which indicates physical frames. The "S" character indicates which slot the switch occupies in the frame, the "BH" characters indicate a Bulk Head connection, the "J" character indicates which jack provides the connection from the switch board, the "N" character indicates the node being connected to the switch, and the "SC" characters indicate the Switch Chip connection.
If you have a partitioned system and need to do a reannotate, you will need to make sure that you are reannotating the correct topology file.
export SP_NAME=partition_name
Etopology -read /tmp/temporary.top
Eannotator -F /tmp/temporary.top -f /tmp/expected.top.annotate -O yes
If you have a multiplane system, make sure that you reannotate the correct plane's topology file.
Files
|Environment Variables
|PSSP 3.4 provides the ability to run commands using secure remote |command and secure remote copy methods.
|To determine whether you are using either AIX rsh or rcp |or the secure remote command and copy method, the following environment |variables are used. |If no environment variables are set, the defaults are |/bin/rsh and /bin/rcp.
|You must be careful to keep these environment variables consistent. |If setting the variables, all three should be set. The DSH_REMOTE_CMD |and REMOTE_COPY_CMD executables should be kept consistent with the choice of |the remote command method in RCMD_PGM: |
|For example, if you want to run Eannotator using a secure remote |method, enter:
|export RCMD_PGM=secrshell |export DSH_REMOTE_CMD=/bin/ssh |export REMOTE_COPY_CMD=/bin/scp
Security
You must have root privilege to run this command.
Location
/usr/lpp/ssp/bin/Eannotator
Related Information
Commands: Eclock, Efence, Eprimary, Equiesce, Estart, Etopology, Eunfence, Eupartition
Refer to IBM RS/6000 SP: Planning, Volume 2, Control Workstation and Software Environment for details about system partition topology files.
Examples
For the SP Switch: Before: s 15 3 tb3 0 0 L01-S00-BH-J18 to L01-N1 After: s 15 3 tb3 0 0 E01-S17-BH-J18 to E01-N1 For the SP Switch2: Before: s 15 3 tb3 0 0 L01-S00-BH-J18 to L01-N1 After: s 15 3 xxx x x E01-S17-BH-J18 to E01-N1
|For both the SP Switch and the SP Switch2: | |Before: | |s 10016 0 s 51 3 L09-S1-BH-J20 to L05-S00-BH-J19 | |After: | |s 10016 0 s 51 3 E10-S1-BH-J20 to E05-S17-BH-J19
|For the SP Switch: | |Before: | |s 15 3 tb0 0 0 L03-S00-BH-J18 to L03-N3 | |After: | |s 15 3 tb3 0 0 E03-S17-BH-J18 to E03-N3 # Dependent Node
|Eannotator -F /etc/SP/expected.top.8nsb.4isb.0 -f expected.top -O no
|Eannotator -d -f /etc/SP/expected.top -O yes
|Eannotator -F /etc/SP/expected.top.1nsb.0isb.0 -f expected.top -O yes
export SP_NAME=partition_name
Etopology -read /tmp/temporary.top
Eannotator -F /tmp/temporary.top -f /tmp/expected.top.annotate -O yes
|Eannotator -F /etc/SP/expected.top.1nsb.0isb.0 \ | -f expected.top -O yes -p 1
Purpose
Eclock - Controls the clock source for each switch board within an SP cluster.
Syntax
Flags
where:
If a flag is not specified, the clock input values stored in the SDR are displayed.
Operands
None.
Description
Use this command to set the multiplexors that control the clocking at each switch board within the configuration. One switch board within the configuration is designated as the "Master" switch that provides the clocking signal for all other switch boards within the configuration. The Eclock command reads clock topology information from either the file specified on the command line or the clock topology data within the SDR. If a clock topology file was specified, the Eclock command places the clock topology information into the SDR, so that it can be accessed again during a subsequent Eclock invocation. After processing the clock topology file, Eclock causes the new clock topology to take effect for the switches specified. A clock topology file contains the following information for each switch board within the cluster:
SP Switch Warning |
---|
If Eclock is run to change the clock multiplexor settings while the switch is operational, you will experience css outages until a subsequent Estart is completed. If you run Eclock and specify the -f, -a, -r or -d flag, you do not need to run Estart if the swtadmd subsystem is active. In this case the subsystem runs Estart for you. |
SP Switch Considerations |
---|
Eclock on the SP switch recycles the fault_service_Worm_RTG_SP (Worm) daemon on the nodes. If the switch was operational when the Eclock command was issued, you must run the Estart command following the switch adjustment. Since Eclock operates across system partitions, if you specified the -f, -a, -r or -d flag, you must run the Estart command in ALL system partitions unless the swtadmd subsystem is active. In this case the subsystem runs Estart for you. Since the -s flag operates just on the specified switch, you need to run Estart only in the partitions which share that switch. However, if you used the -s command to reset the master switch, the effect is the same as having issued a global Eclock command and you must run Estart in all partitions. The -s option will recycle the Worm daemons only on the nodes connected to the target switches. The -s option will recycle the Worm daemons only on the nodes connected to the target switches. There are certain considerations which must be taken into account when running Eclock -s. Assuming the master switch is not one of the target switches:
|
Files
|Environment Variables
|PSSP 3.4 provides the ability to run commands using secure remote |command and secure remote copy methods.
|To determine whether you are using either AIX rsh or rcp |or the secure remote command and copy method, the following environment |variables are used. |If no environment variables are set, the defaults are |/bin/rsh and /bin/rcp.
|You must be careful to keep these environment variables consistent. |If setting the variables, all three should be set. The DSH_REMOTE_CMD |and REMOTE_COPY_CMD executables should be kept consistent with the choice of |the remote command method in RCMD_PGM: |
|For example, if you want to run Eclock using a secure remote |method, enter:
|export RCMD_PGM=secrshell |export DSH_REMOTE_CMD=/bin/ssh |export REMOTE_COPY_CMD=/bin/scp
Security
You must have root privilege to run this command.
|When restricted root access (RRA) is enabled, this command can only |be run from the control workstation.
Restrictions
This command is not valid on a system with an SP Switch2 switch.
Location
/usr/lpp/ssp/bin/Eclock
Related Information
Commands: Eannotator, Efence , Eprimary, Equiesce , Estart, Etopology , Eunfence, Eunpartition
Examples
Eclock -f /etc/SP/Eclock.top.8nsb.4isb.0
Eclock
Eclock -s 1 -m 0
Eclock -c /tmp/Eclock.top
Eclock -a /etc/SP/Eclock.top.4nsb.2isb.0
Eclock -d
Purpose
Efence - Removes an SP node from the current active switch network.
Syntax
|Efence [-h] | |[-G] [-p |{0|1|all}] |[-autojoin] [-f] |[node_specifier] ...
Flags
|With PSSP 3.1 or later releases, you can choose to have nodes |automatically unfenced. With the automatic unfence feature enabled, |whenever a node reboots the default behavior is that it will automatically |join the switch.
|If the automatic unfence feature is disabled, or in a coexistence |environment with the primary node at PSSP 2.4, the autojoin |option enables the nodes in the argument list to be fenced and to |automatically rejoin the current switch network if the node is rebooted or the |Fault Service daemon is restarted.
|If you have an SP Switch installed on your system, such nodes are also |rejoined when an Estart command is issued.
|The default for PSSP 3.1 or later releases, is to have the automatic |unfence feature enabled. See the Estart command for how to |change the default. |
Operands
|Notes:
Description
Use the Efence command to remove a node from being part of the current switch network. Once a node is fenced, it cannot communicate with other nodes on the switch network, nor cause errors on the network. This command should be used (without the -autojoin flag) if you want to isolate the node for a period of time, for example, for service or maintenance. To bring the node back on the switch network, use the Eunfence command.
|Environment Variables
|PSSP 3.4 provides the ability to run commands using secure remote |command and secure remote copy methods.
|To determine whether you are using either AIX rsh or rcp |or the secure remote command and copy method, the following environment |variables are used. |If no environment variables are set, the defaults are |/bin/rsh and /bin/rcp.
|You must be careful to keep these environment variables consistent. |If setting the variables, all three should be set. The DSH_REMOTE_CMD |and REMOTE_COPY_CMD executables should be kept consistent with the choice of |the remote command method in RCMD_PGM: |
|For example, if you want to run Efence using a secure remote |method, enter:
|export RCMD_PGM=secrshell |export DSH_REMOTE_CMD=/bin/ssh |export REMOTE_COPY_CMD=/bin/scp
Security
You must have root privilege to run this command.
|When restricted root access (RRA) is enabled, this command can only |be run from the control workstation.
Location
|/usr/lpp/ssp/bin/Efence
Related Information
Commands: Eannotator, Eclock , Eprimary, Equiesce , Estart, Etopology , Eunfence, Eunpartition
Examples
Efence
Efence -G
Efence 129.33.34.1 129.33.34.6
Efence r11n01
Efence 2,14
Efence 5 6 7 8fences nodes 5 and 6, but not nodes 7 and 8. As a result, the command returns a nonzero return code.
Efence -G 5 6 7 8
|Efence -p 1 5
Purpose
Emaster - Displays the master switch sequencing (MSS) node.
Syntax
Emaster [-h]
Flags
Operands
None.
Description
The MSS node is the node which periodically re-synchronizes time-of-day (TOD) signals on the SP Switch2. Use the Emaster command to display the node number of the MSS node.
Standard Output
Output consists of informational messages indicating the current MSS node.
Standard Error
Output consists of error messages, when the command cannot complete successfully.
Exit Values
Security
You must have root privilege to run this command.
Restrictions
The Emaster command may be used only on systems with SP Switch2 switches.
Location
/usr/lpp/ssp/bin/Emaster
Related Information
The emasterd daemon (SRC subsystem name emaster) monitors the health and connectivity of the MSS node. If it goes down or loses connectivity to the switch, the emasterd daemon changes the MSS node.
Examples
To display the node number of the current MSS node, enter:
Emaster
Purpose
emconditionctrl - Loads the System Data Repository (SDR) with predefined Event Management conditions.
Syntax
emconditionctrl [-a] [-s] [ -k] [-d] [-c] [-t] [-o] [-r] [-h]
Flags
Operands
None.
Description
The emconditionctrl script loads the SDR with some useful conditions that can be used for registering for Event Management events. Currently the SP Perspectives application can make use of conditions.
The emconditionctrl script is not normally executed on the command line. It is normally called by the syspar_ctrl command after the control workstation has been installed or when the system is partitioned. It implements all of the flags that syspar_ctrl can pass to its subsystems, although only the -a flag causes any change to the system. The -a flag causes predefined conditions to be loaded only if run on the control workstation. It has no effect if run elsewhere.
Exit Values
Security
You must have root privilege and write access to the SDR to run this command.
Implementation Specifics
This command is part of the IBM Parallel System Support Programs (PSSP) Licensed Program (LP).
Location
/usr/lpp/ssp/bin/emconditionctrl
Related Information
Commands: syspar_ctrl
Purpose
emonctrl - A control script that manages the Emonitor subsystem.
Syntax
emonctrl { -a | -s | -k | -d | -c | -t | -o | -r | -h }
Flags
Operands
None.
Description
The Emonitor subsystem monitors designated nodes in an attempt to maximize their availability on the switch network.
The emonctrl control script controls the operation of the Emonitor subsystem. The subsystem is under the control of the System Resource Controller (SRC) and belongs to a subsystem group called emon.
An instance of the Emonitor subsystem can execute on the control workstation for each system partition. Because Emonitor provides its services within the scope of a system partition, it is said to be system partition-sensitive. This control script operates in a manner similar to the control scripts of other system partition-sensitive subsystems. It should be issued from the control workstation and is not functional on the nodes.
From an operational point of view, the Emonitor subsystem group is organized as follows:
The emon group is associated with the Emonitor daemon.
On the control workstation, there are multiple instances of Emonitor, one for each system partition. Accordingly, the subsystem names on the control workstation have the system partition name appended to them. For example, for system partitions named sp_prod and sp_test, the subsystems on the control workstation are named Emonitor.sp_prod and Emonitor.sp_test.
The Emonitor daemon provides switch node monitoring.
The emonctrl script is not normally executed from the command line. It is normally called by the syspar_ctrl command during installation of the system, and partitioning or repartitioning of the system.
The emonctrl script provides a variety of controls for operating the Emonitor daemon:
Before performing any of these functions, the script obtains the current system partition name and IP address (using the spget_syspar command) and the node number (using the node_number ) command. If the node number is zero, the control script is running on the control workstation. Since the Emonitor daemon runs only on the control workstation, the script performs no function when run on a node.
Except for the clean function, all functions are performed within the scope of the current system partition.
Adding the Subsystem
When the -a flag is specified, the control script uses the mkssys command to add the Emonitor daemon to the SRC. The control script operates as follows:
Starting the Subsystem
This option is unused since the Emonitor daemon must be started via Estart -m.
Stopping the Subsystem
When the -k flag is specified, the control script uses the stopsrc command to stop the Emonitor daemon in the current system partition.
Deleting the Subsystem
When the -d flag is specified, the control script uses the rmssys command to remove the Emonitor subsystem from the SRC. The control script operates as follows:
Cleaning Up the Subsystems
When the -c flag is specified, the control script stops and removes the Emonitor subsystems for all system partitions from the SRC. The control script operates as follows:
Turning Tracing On
Not currently used.
Turning Tracing Off
Not currently used.
Refreshing the Subsystem
Not currently used.
Logging
While it is running, the Emonitor daemon provides information about its operation and errors by writing entries in a log file. The Emonitor daemon uses log files called /var/adm/SPlogs/css/Emonitor.log and /var/adm/SPlogs/css/Emonitor.Estart.log .
Files
Standard Error
This command writes error messages (as necessary) to standard error.
Exit Values
Security
You must have root privilege to run this command.
Implementation Specifics
This command is part of the IBM Parallel System Support Programs (PSSP) Licensed Program (LP).
Prerequisite Information
AIX Commands Reference
Information about the System Resource Controller (SRC) in AIX General Programming Concepts: Writing and Debugging Programs
Location
/usr/lpp/ssp/bin/emonctrl
Related Information
Commands: Emonitor, Estart , lssrc, startsrc, stopsrc , syspar_ctrl
Examples
emonctrl -a
emonctrl -k
emonctrl -d
emonctrl -c
lssrc -g emon
lssrc -s subsystem_name
lssrc -a