cc/td/doc/product/access/sc/rel7/soln/das
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table Of Contents

Backing Up Your SC Host Data

Backing Up Your Data Using a Tape Drive

Backing Up Your Data to a Remote Machine

Performing a Backup Operation on the Main Memory Database

Backing Up Your SC Host Data


Use the instructions in this chapter to back up your current SC software configuration. If you have a simplex SC host configuration, you back up the data on your server after shutting it down. If you have a high-availability or continuous service configuration, bring the standby SC host down and back up the data on the standby SC host first, so the active SC host can still process calls while the standby is being upgraded. This minimizes downtime.


Caution You must back up your data before beginning the upgrade. If you do not back up your data, it will be lost during the upgrade.

Tip Depending on your level of UNIX expertise, you might need to have your UNIX system administrator available for assistance during the upgrade. These instructions might not be sufficient or accurate for large, complex networks.



Caution Do not back up data to an active remote SC host that is processing calls. For example, do not back up your SC host machine to the second host in a high-availability configuration. This can severely impact or shut down call processing.

If you have a high-availability or continuous service configuration, first determine which host is running as active. To determine which host is running as active, log in to each machine and use the rtrv-ne MML command. The display shows whether the machine is active or standby.

Select your backup procedure based on your desired storage location, a local tape drive or a remote machine on your network. The procedures are described in the following sections:

Backing Up Your Data Using a Tape Drive

Backing Up Your Data to a Remote Machine

Backing Up Your Data Using a Tape Drive

Use these instructions to back up your data to tape. You will restore the data before installing the SC software.


Step 1 Log in to the SC host as root and insert a tape into your tape drive.

Step 2 Stop the SC software by entering the following command:

/etc/init.d/transpath stop


Note If the standby SC host is running Release 7.4(x), the command to stop the SC software is /etc/init.d/CiscoMGC stop.



Note In a simplex configuration, call processing stops now. The SC host is not able to process calls until you restart the software after the upgrade. See the "Verifying SC Software is Running Properly" section on page 7-59. In a high-availability or continuous service configuration, perform these steps on the standby SC host first. Unless the active SC host goes down, call processing does not stop.


Step 3 If your system does not have a dial plan configured, proceed to Step 6. If your system has a dial plan configured, backup the contents of the MMDB to a single file, as described in the "Performing a Backup Operation on the Main Memory Database" section.

Step 4 Run the backup script by entering the following command at the UNIX prompt:

# ./backup.sh

The system returns a response similar to the following:

MGC backup utility ----------------------------- Destination currently set to Local tape (/dev/rmt/0h) Enter: <N> set destination to remote NFS server <L> set destination to Local tape (/dev/rmt/0h) <F> for Full (everything you have) <P> for Partial (changable part of the system) <Q> to quit Select backup mode:


Step 5 Enter F and press Enter to start the full backup. The system returns a message similar to the following:

a ./ 0 tape blocks a ./var/ 0 tape blocks a ./var/log/ 0 tape blocks a ./var/log/platform.log 1 tape blocks a ./var/log/mml.log 1 tape blocks a ./var/spool/ 0 tape blocks a ./var/trace/ 0 tape blocks a ./var/audit_cron.log 1 tape blocks . . .#

Step 6 When the backup operation has finished, remove the tape, engage the write-protect tab, and label the tape "Upgrade Backup." Specify the machine name and the time and date.


This completes backing up your SC host data to tape. Return to the your chosen upgrade procedure and continue.

Backing Up Your Data to a Remote Machine

Use these instructions to back up your data to a remote machine using your IP network.


Caution Do not back up your data to another SC host machine. Only use a spare machine that is not processing calls.

Note This procedure backs ups everything in the SC software base directory to an NFS mountable directory on a remote machine. The remote machine must be set up with an NFS mountable directory that is writable by machine being backed up. The NFS set up of the remote machine is beyond the scope of this document; contact your UNIX system administrator for more information.



Step 1 Log in to the SC host as root and stop the SC software by entering the following command:

/etc/init.d/transpath stop

Note If the standby SC host is running Release 7.4(x), the command to stop the SC software is /etc/init.d/CiscoMGC stop.



Note In a simplex configuration, call processing stops now. The SC host is not able to process calls until you restart the software after the upgrade. See the "Verifying SC Software is Running Properly" section on page 7-59. In a high-availability or continuous service configuration, perform these steps on the standby SC host first. Unless the active SC host goes down, call processing does not stop.


Step 2 If your system does not have a dial plan configured, proceed to Step 3. If your system has a dial plan configured, backup the contents of the MMDB to a single file, as described in the "Performing a Backup Operation on the Main Memory Database" section.

Step 3 Run the backup script by entering the following command at the UNIX prompt:

# ./backup.sh

The system returns a response similar to the following:

MGC backup utility ----------------------------- Destination currently set to Local tape (/dev/rmt/0h) Enter: <N> set destination to remote NFS server <L> set destination to Local tape (/dev/rmt/0h) <F> for Full (everything you have) <P> for Partial (changable part of the system) <Q> to quit Select backup mode:

Step 4 Select N and press Enter to define the remote NFS server. The system then prompts you for the name of the remote server.

Step 5 Enter the name of the remote NFS server.

Enter server name: remote_hostname

Where: remote_hostname—Name of your desired remote server.

The system then prompts you for the associated directory name on your remote server.

Step 6 Enter the directory name on the remote NFS server.

Enter remote directory : remote_directory

Where: remote_directory—Name of the associated directory on your remote server.

The system then prompts you to select a backup mode.

Step 7 Select P and press Enter to start the partial backup. The system returns a response similar to the following:

        Select backup mode: P a ./ 0 tape blocks a ./var/ 0 tape blocks a ./var/log/ 0 tape blocks . . .

backup to va-panthers:/backup/va-blade20000317105337P.tar complete #

The filename on the remote NFS server is the host name of the machine with the date in YYYYMMDDHHMMSS format and "P.tar" appended.


This completes backing up your SC host data to a remote machine. Return to the your chosen upgrade procedure and continue.

Performing a Backup Operation on the Main Memory Database

Use this procedure to store your dial plan data, which is stored in the Main Memory Database (MMDB), in a single file.


Note If your system is not configured with a dial plan, do not perform this procedure.



Step 1 Change directories to a local subdirectory under the base directory.

For example, enter the following UNIX command to change to the /opt/CiscoMGC/local directory:

# cd /opt/CiscoMGC/local

Step 2 Run the MMDB backup script by entering the following UNIX command:

# ./backupDb.sh filename

Where filename is the name of the database backup file.

For example, to backup the contents of the MMDB to a file called dplan, you would enter the following command:

# ./backupDb.sh dplan

The system returns a response similar to the following:

Exporting database contents for DSN=howdydb into dplan The Backup process is being initiated for the datastore howdydb Files for /opt/TimesTen32/datastore/howdydb are being backed up onto standard output Backup Complete



hometocprevnextglossaryfeedbacksearchhelp

Posted: Wed Oct 20 13:22:22 PDT 2004
All contents are Copyright © 1992--2004 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.