Cisco Cisco Prime Network Registrar 8.1 Troubleshooting Guide
Executive database at the start is preferable. To do
this, execute the demote_master.sh script located in the
$INCHOME/etc/support directory on the Production
Executive:
> $INCHOME/etc/support/demote_master.sh
This script will ensure that no unintended writes will occur
on the Production Executive database and will help
with a smooth transition back to “normal” operation.
In addition it will generate the appropriate parameters
to call the promote_master.sh script on the DR
Executive.
3.2.2.2 Promote the database on the DR Executive to Active Master
At this point, we will assume that either the Production
Executive is down, or that the Production Executive
database has been demoted to a Passive Master.
Therefore, we need to promote the database on the DR
Executive to an Active Master. The process varies
slightly dependent upon if the Production Executive
was demoted. If it was demoted we will use the
parameters generated from the demote_master.sh
script. If not, we will call the promote_master.sh script
with the ‘-c’ parameter.
If Production Executive database was demoted:
> $INCHOME/etc/support/promote_master.sh
–l <logfile> -s <logfile position>
–l <logfile> -s <logfile position>
If Production Executive is down, or database was not
demoted:
>$INCHOME/etc/support/promote_master.sh -
c
c
3.2.2.3 Promote the DR Executive to Production status
Promoting the DR Executive to Production status involves
updating the default.incontrol and incstatus files on the DR
Executive from copies of these files from the Production
Executive (see section 3.3.1.3). This configures the DR
Executive to start all services required for normal operation.
In addition, the promote operation will update the Cisco Prime
Network Registrar IPAM database with the IP address of the
DR Executive for the Executive and Task Manager IP address
System Properties, and IP address of the Executive Agent.
3.2.2.3.1 Linux/Solaris
In order to “promote” the DR Executive so that it may
become the Production Cisco Prime Network Registrar IPAM
Executive, you must run the PromoteExec.sh script provided
in the $INCHOME/etc/support directory of the Cisco Prime
Network Registrar IPAM installation:
> $INCHOME/etc/support/PromoteExec.sh
> $INCHOME/etc/support/PromoteExec.sh