Moving a Configuration

This section outlines a process for moving an existing Oracle Communications Session Border Controller configuration to a new system. Process summary:

  1. Create a backup configuration file on the source Oracle Communications Session Border Controller.
  2. Using SFTP, copy the source backup from the source to the destination Oracle Communications Session Border Controller .
  3. Restore the newly-transferred backup on the target Oracle Communications Session Border Controller.

Backup Commands

The Oracle Communications Session Border Controller software includes a set of commands for easily working with backup configurations. These commands are backup-config, display-backups, delete-backup-config, restore-backup-config.

To back up a configuration, use the backup-config command. You can confirm that your backup has been created with the display-backups command. When the backup-config command is executed, the system checks for sufficient resources to complete the operation. If resources are sufficient, the system creates the backup. If resources are insufficient, the task is not completed and the system displays the limiting resources and recommends completing the task at another time.

Backups are created as gzipped files in a .gz format. They are stored in the /code/bkups directory.

Backing up the current configuration

To create a backup:

  1. In superuser mode, use the backup-config command followed by a descriptive filename for the backup you are creating.
    ORACLE#backup-config 02_Feb_2008 
    task done
    ORACLE#

Listing Backups

You can view the backups available on your system using the display-backups command.

To list available backup configurations:

  1. In Superuser mode, enter the display-backups command. A list of available backup files from the /code/bkups directory is displayed on the screen.
    ORACLE# display-backups
    test_config.gz
    test-config.gz
    runningcfgtest.gz
    runningtest_one.gz
    BACK_UP_CONFIG.gz
    02_Feb_2008.gz
    01_Feb_2008.gz
    ORACLE#

Copy the Backup to the destination

Send the backup configuration file by way of SFTP from the source to destination Oracle Communications Session Border Controller.

To copy a backup configuration from the source to destination Oracle Communications Session Border Controller:

  1. Use an SFTP client to connect to the SBC. The management IP address is configured in the bootparams.
  2. Change directory to where you want to upload a file.
    • cd /code/bkups for backup configurations

  3. Type bin and press Enter to force the SFTP program into binary mode.
  4. Upload the file you want to transfer by typing the filename and pressing Enter.
    C:\Documents and Settings>sftp 172.30.55.127
    Connected to 172.30.55.127.
    220 VxWorks (1.0) FTP server ready
    User (172.30.55.127:(none)): user
    331 Password required
    Password:
    230 User logged in
    sftp> cd /code/bkups
    250 Changed directory to "/code/bkups"
    sftp> bin
    200 Type set to I, binary mode
    sftp> put 02_Feb_2008.gz
    200 Port set okay
    150 Opening BINARY mode data connection
    226 Transfer complete
    sftp: 9587350 bytes sent in 51.64Seconds 185.65Kbytes/sec.
    sftp>

Restoring Backups

To restore a backup configuration on the Oracle Communications Session Border Controller:

  1. In Superuser mode, enter the restore-backup-config command followed by the backup filename you want to restore to the current configuration. You must explicitly name the backup file you want to restore, including the file extension
    ORACLE# restore-backup-config 02_Feb_2008.gz
    Need to perform save-config and activate/reboot activate for changes to take effect...
    task done
    ORACLE#
  2. Correct the Virtual MAC address configuration established on the former device to be suitable for the new device.

    Establish the base MAC needed for HA operation by, first, determining the base MAC by way of the ethernet address value of the show media physical command.

    ORACLE#show media physical
    s0p0 (media slot 0, port 0)
         Flags: UP BROADCAST MULTICAST ARP RUNNING
         Type: ETHERNET_CSMACD
         Admin State: enabled
         Auto Negotiation: enabled
    …
         Ethernet address is 00:08:25:01:08:44

    Apply the formula for calculating virtual MAC addressing to the MAC addressing used for this system. This formula is described in the ACLI Configuration Guide.

    Configure the physical interfaces with the computed virtual MAC addressing. Refer to the following command line sequence as an example of this procedure.

    ORACLE# configure terminal
    ORACLE(configure)# system
    ORACLE(system)# phy-interface
    ORACLE(phy-interface)# select
    <name>:
    1: s0p0
    2: s1p0
    selection: 1
    ORACLE(phy-interface)# virtual-mac 00:08:25:01:08:48
    ORACLE(phy-interface)# done
    phy-interface
            name                           s0p0
            operation-type                 Media
            port                           0
            slot                           0
            virtual-mac                    00:08:25:01:08:48
  3. Save the configuration.
    ORACLE# save-config
  4. Activate the configuration.
    ORACLE# activate-config