An application may need to determine whether it is
running on a client node or a server node of a single system image, or if
it is running on a stand-alone system. It may need to do this, for
example, to restrict the running of housekeeping processes to one
machine.
The application can find this information like this:
- In a state table, test the value of SV540 (System : SSI (Single
System Image) : State). This numeric system variable represents the
mode in which the node has been configured. For more information,
see the description of this system variable in Blueworx Voice Response for AIX:
Application Development using State Tables.
- In a custom server, call the CA_Get_DT_Info() subroutine. The
DT_INFO_ST structure returned from this subroutine has a member, ssi_state,
which contains the mode in which the node has been configured. For
more information, see the description of DT_INFO_ST in Blueworx Voice Response for AIX:
Custom Servers.
To find from the command line the type of system you are logged
on to, use the ssistatus command. For more
information, see the description of this command in Blueworx Voice Response for AIX:
Configuring the System.