TS/MP 2.5 Management Programming Manual

Table 9 Restricted Commands and Objects for TS/MP (continued)
Use These Restricted (Sensitive) Commands (ZPWY-CMD- ) and Object Types
(ZPWY-OBJ- )…To Control…
SCASSIGN
SCPARAM
SCPROCESS
ZSCSTARTUP
SCFREEZE
SCSTART
SCPROCESS
SCSTOP
SCTHAW
Any user can issue all of the other commands.
Naming Guidelines for Applications
By convention, HP uses names beginning with the letter Z (lowercase z in the C language) for all
definitions and all component fields of structures in the definition files. To avoid present and future
conflicts with names defined by HP. HP recommends that you do not begin any of your own names
with uppercase or lowercase Z.
Programming Considerations for Specific Object Types
These paragraphs discuss special programming considerations for each TS/MP object type.
PATHMON and PATHWAY Objects
When developing a management application that defines the PATHMON process and Pathway
configurations and controls basic Pathway operations, consider:
The ZPWY-CMD-START command with the ZPWY-OBJ-PATHWAY object is equivalent to using
the SET PATHWAY, SET PATHMON, and START PATHWAY commands in PATHCOM.
The INFO PATHCTL command allows the SPI requester to query the current state of the
PATHCTL configuration file before starting the system. Querying before startup permits the SPI
requester to implement the interactive warning PATHCOM issues during startup when the
PATHCTL file is not in the normal startup state.
To implement the equivalent of the PATHCOM PRIMARY PATHMON command, follow these
steps:
1. Use LOOKUPPROCESSNAME to find the CPU in which the PATHMON process is running.
2. Use the INFO PATHMON command to determine the CPU configured for the PATHMON
process.
3. Use the SWITCH PM and CONTROL PM commands to move the primary PATHMON
process back to the configured CPU. The last command in the sequence can be a CONTROL
PM command so that the changes are recorded in the PATHCTL file.
The PATHCOM LOG1 and LOG2 commands are implemented by issuing the
ZPWY-CMD-CONTROL command with the ZPWY-OBJ-PM object.
The equivalent of the PATHCOM STATUS PATHMON command is implemented by issuing the
ZPWY-CMD-STATUS command with the ZPWY-OBJ-PM object followed by the
ZPWY-CMD-STATUS command with the ZPWY-OBJPMREQUESTER object.
46 SPI Programming Considerations