ADIC Server Server User Manual


 
4-120 DAS ACI Functions
601626-B
The external variable d_errno is set to one of the following
DAS error codes:
ERPC
EINVALID
ETIMEOUT
ESWITCHINPROG
EBADCLIENT
ENOTSUPPHCMD
aci_switch
The aci_switch function switches the passive AMU to active.
See Figure 4-111.
Figure 4-111 aci_switch Function Call
Allow the second AMU to be used without manual
intervention, if the first AMU-PS is down. An installed and
running Dual-AMU is necessary for this function. See
Table 4-50.
Only use the -f option if the -n option is no longer
functioning. There is a risk that anomalies may be caused in
the AMU database.
Table 4-50 Parameter for the aci_switch Function Call
Parameter Description
Switch defines the priority of the switch
-n normal switch, allowed to complete all running
commands, and synchronization of the database before
switching will start
-f force switch, immediately without any
synchronization to the second AMU, but necessary if
the first AMU is already down
#include "aci.h"
int aci_switch (char *Switch)
Caution