High Availability Monitors Version A.03.02 Release Notes
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DELETE_BACKUP
Chapter 3 399
DELETE_BACKUP
An application uses this verb to delete a server from the list of backup
master servers in the sna.net file, so that this server can no longer act
as the master configuration file server.
You can use this verb to delete any server in the list, including the
master server, whether or not the SNA software is running on the server
you are deleting. The only restriction is that the list must always contain
at least one server on which the SNA software is running (so that this
server can take over as the master server); you cannot delete a server if
it is the only server in the list or if it is the only server listed on which the
SNA software is running.
This verb must be issued to the sna.net file.
VCB Structure
typedef struct delete_backup
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char backup_name[64]; /* name of server to delete */
unsigned char reserv4[4]; /* reserved */
} DELETE_BACKUP;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_BACKUP
backup_name
The name of the server being deleted from the list of
backup servers.
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters: