Home > Configuration > Basic > setvserver_backupvserver

setvserver_backupvserver

Use this method to set the name of the backup virtual server for this virtual server.
NOTE: This attribute is deprecated.
'forward references' (like an lb vserver having as backup a vserver that is written to ns.conf *after* said lb vserver) can now be handled by config infrastructure (see handling of NS_ARGDEFER flag in config_load())

Syntax



Parameters

name

The name of the virtual server for which the parameters are to be set.
This is mandatory parameter.

backupvserver

The name of the backup virtual server for this virtual server.
NOTE: This attribute is deprecated.
'forward references' (like an lb vserver having as backup a vserver that is written to ns.conf *after* said lb vserver) can now be handled by config infrastructure (see handling of NS_ARGDEFER flag in config_load())

Return Value

Returns simpleResult

See Also