Open System Services Management and Operations Guide (G06.25+, H06.03+)
Open System Services Monitor
Open System Services Management and Operations Guide—527191-002
12-18
ADD SERVER Command
If the BACKUPCPUOK attribute for the server is TRUE and the primary processor
does not become available after the specified period has elapsed, the OSS Monitor
attempts to start the server in its backup processor.
When the MAXWAITTIME option is omitted from the ADD SERVER command, the
default specification is MAXWAITTIME 0.
SQLTIMEOUT seconds
specifies the number of seconds an OSS name server waits for a response from
SQLCAT to a request. seconds can have a value in the range 60 through 300.
The default value is 60.
Considerations
•
The ADD SERVER command does not start the server; it merely stores information
about the server within the OSS Monitor configuration file. An OSS name server is
started when the first fileset managed by that OSS name server is mounted. The
OSS sockets local server, OSS message-queue server, and OSS transport agent
servers are started by the START SERVER command.
•
You must be a member of the super group (255, nnn) to use this command.
•
The ADD SERVER command is intended to be used for OSS name servers of
filesets other than the root fileset.
•
When Open System Services is first installed, the OSS Monitor adds the default
OSS name server for the root fileset the first time the OSS Monitor is run. The OSS
sockets local server, OSS message-queue server, and OSS transport agent
servers are added, if needed, at the startup of the OSS Monitor process.
Example
To add the OSS name server #ZPNS1 to the system, with processor 0 as the primary
processor and processor 1 as the backup processor or as the primary processor when
processor 0 is unavailable after 30 seconds during a automatic restart, a maximum of
two attempts at restart, a maximum of 4096 inode cache entries and 4096 link cache
entries, and a timeout of 60 seconds for responses from SQLCAT, enter the following
command:
ADD SERVER #ZPNS1, CPU 0, BACKUPCPU 1, INODECACHE 4096, &
LINKCACHE 4096, SQLTIMEOUT 60, BACKUPCPUOK TRUE, &
MAXWAITTIME 30, AUTORESTART 2