What recommendations are there for backing up the RAMDB prior to a region synchronization?

Document ID : KB000026635
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

What recommendations are there for backing up the RAMDB prior to a region synchronization?

 

 

Answer:

 

 Backup and Restore of the RAMDB.

 

Introduction.

 

The RAMDB contains EventView Message Definitions, System Image Definitions, Resource Definitions, and other similar informations, and this forms the Knowledge Base.

In a Multisystem Environment, two or more Regions can be linked. The linking process also synchronizes the Knowledge Bases of these Regions. During the linking and synchronization process, the Knowledge Base in the Local Region is overwritten by the Knowledge Base in the Remote Region. After linking the Regions, the Knowledge Bases in them are synchronized and will remain synchronized. If changes are made to the Knowledge Base in one Region, the changes are propagated to the other Regions in Peer-to-Peer connection.

When you link two Regions, the Local Region in which you perform the link operation receives the Knowledge Base from the Remote Region you want to link to, which must be a Focal Point Region. When you link a Region into an existing Multisystem Environment, that Region must be a Stand-Alone Region.

Peer-to-Peer architecture supports full connectivity between multiple Regions. Regions linked in this way are known as Focal Point Regions. A Stand-Alone Region is regarded as a Focal Point Region.

If the Local Knowledge Base has been customized and contains definitions that are to be retained in the synchronized Knowledge Bases, these definitions must be transmitted to the Remote Knowledge Base before the Regions are linked.

Therefore, utilizing the 'Link and Synchronization' process, and the 'Transmit process', the Knowledge Base (RAMDB) can be successfully backed up and subsequently fully or partially restored as required.

 

Backing up the Knowledge Base (RAMDB).

Create a Stand-Alone Backup Region. The sole purpose of this Region is to act as a RAMDB backup for all the other linked and synchronized Regions.

The Knowledge Base Records can be transmitted (that is, copied) from the Local Region to a Remote Region that is not linked to it, i.e. Stand-Alone. A System Image can not be transmitted to a Region in which the Image is currently loaded, and a Rule Set can not be transmitted and replaced when the Rule Set is currently loaded in the Remote (Target) Region.

The following Record Types can be transmitted:

  • System Image definitions.
  • System Image component definitions.
  • Service Definitions.
  • Rule Sets.
  • Common components such as Command Definitions and Consolidated Console Profiles.

By specifying the appropriate Transmission Mode on the Remote System Identification panel, you can specify how to update the Records in the Remote Region.

Transmission Modes

The available Transmission Modes are:

  • Replace (R) deletes any existing Remote Records, then transmits the Local Records.
  • Overlay (O) replaces existing Remote Records with the same name, adds Records that do not already exist, but does not delete any Records in the Remote Knowledge Base.
  • Merge (M) adds Records that do not already exist, but does not have any affect on existing Records in the Remote Knowledge Base.

So, given the above information, now it is time to create the backup on the Stand-Alone Backup Region by transmitting the Knowledge Base Records from the Local Region to the Remote (Stand-Alone Backup) Region:

  1. Log on to the Local Region from which you want to transmit the Records.

  2. Enter the '/MADMIN' shortcut to display the Multi-System Support Menu.

  3. Specify the option you require in the 'Select Option ===>' field.

  4. Press Enter to display a Remote System Identification panel.

  5. Specify the ACB name (primary name) of the Remote Region to which you want to transmit Records.

  6. Specify the Transmission Mode of REPLACE

  7. Specify the communication access methods to be used for transmitting the selected Records.

  8. Press F6 (Action) to select the specified option. What you do next depends on the specified Transmission Mode.

  9. If a Selection List is displayed, continue with this step. If the Confirm Transmit panel is displayed, go to step 11... To select all definitions in a category for transmission, enter 'S' (Select) beside it.

  10. When you have selected all the definitions you want to transmit, press F6 (Transmit) to request transmission. A Confirm Transmit panel (displaying the transmission details you entered) is displayed before transmission is initiated. At this point, you have the option of confirming or canceling your transmission request.

  11. Press Enter to confirm transmission or F12 (Cancel) to cancel the transmission. If you press Enter to confirm transmission, a status panel is displayed, showing the progress of the transmission. If you press F12 (Cancel) to cancel the transmission, you are returned to the Multi-System Support menu.

When this is all complete, you will have a backup of the Knowledge Base on the Stand-Alone Backup Region.

Alternative Back up of the Knowledge Base (RAMDB).

It may be easier to create a backup of the Production Region (Local Region) onto the Stand-Alone Backup Region (Remote Region), by using the 'Migration Utility', making sure that the Production Region (Local Region) is down, and specifying 'Select By Class = NO'. This will ensure that the entire contents of the Production Region's RAMDB (Local Region) is created on the Stand-Alone Backup Region (Remote Region).

Transmitting the RAMDB, described above in 'Backing up the Knowledge Base (RAMDB)', there is a likelihood of missing some data from the RAMDB because all the transmitted data has to be selected for transmission.

So, given the above information, now it is time to create the backup on the Stand-Alone Backup Region by using the 'Migration Utility', to migrate the Knowledge Base Records from the Local Region to the Remote (Stand-Alone Backup) Region:

  1. Enter the '/RAMUTIL' shortcut to display the Automation Services : RAMDB Utilities Menu, on the Stand-Alone Backup Region (Remote Region).

  2. Select option 'M - Invoke RAMDB Migration Utility'.
    WARNING:
    You must shut down the Region that uses the old Knowledge Base (Production Region RAMDB, i.e. the Local Region) before you perform the migration.

    The utility migrates customized definitions from an old Knowledge Base (Production Region RAMDB, i.e. the Local Region) to the Knowledge Base in this Region (the Stand-Alone Backup Region, i.e. the Remote Region). For definitions not migrated, it lists them for further action.

  3. Then proceed as follows:

    Step 1. Specify the name of the dataset that contains the information you want to migrate (Production Region RAMDB, i.e. the Local Region) to the Knowledge Base in this Region (the Stand-Alone Backup Region, i.e. the Remote Region).

    Step 2. Indicate whether you want to selectively migrate certain definitions only in the Select By Class field. If you specify 'NO', the utility will try to migrate all definitions. For a RAMDB (Knowledge Base) backup, specify: 'Select By Class = NO'.

    Step 3. Press F6 (Action).

When this is all complete, you will have a backup of the Knowledge Base on the Stand-Alone Backup Region.

Restoring the Knowledge Base (RAMDB).

The Knowledge Base Records can be transmitted from the Stand-Alone Backup Region, which now becomes the 'Local Region', to a above mentioned Local Region, which now becomes the 'Remote Region'.

Note: Please remember that a System Image can not be transmitted to a Region in which the Image is currently loaded, and a Rule Set can not be transmitted and replaced when the Rule Set is currently loaded in the Remote (Target) Region.

Specifying the appropriate Transmission Mode on the Remote System (Stand-Alone Backup Region) Identification panel, to specify how to update the Records in the Remote Region (the Region where you want to restore the Knowledge Base).

The likely Transmission Modes to use are:

  • Overlay (O) replaces existing Remote Records with the same name, adds Records that do not already exist, but does not delete any Records in the Remote Knowledge Base.
  • Merge (M) adds Records that do not already exist, but does not have any affect on existing Records in the Remote Knowledge Base.

The Remote Region (the Region where you want to restore the Knowledge Base) will need to be unlinked before the restore begins.

Unlinking Regions
To unlink a Region from the other Regions in a Multisystem Environment:

  1. Log on to the Region you want to unlink.

  2. Enter the '/MADMIN.U' path.
    The Confirm Unlink Panel is displayed.

    • To cancel the unlinking procedure, press F12 (Cancel).

  3. Press F6 (Confirm) to proceed with the unlinking procedure.

Now proceed with Steps 1 to 11 as described in 'Backing up the Knowledge Base (RAMDB)' above.

If this is successful, you will now need to re-link the 'restored' Region by synchronizing that Region with one of the Regions in the Multisystem Environment by Linking and Synchronizing Databases. This is described in the 'CA SOLVE:Operations Automation Administrator Guide 11.9' manual on Chapter 5.

When this is all complete, you will have a restored Knowledge Base on the Multisystem Environment Region, and this Knowledge Base will be updated on all Regions in the Multisystem Environment.

 

Additional Information


'CA SOLVE:Operations Automation Reference Guide 11.9', Chapter 10.
'CA SOLVE:Operations Automation Administrator Guide 11.9', Chapter 5.