Administer > SA maintenance > Software repository mirroring parameters

Software repository mirroring parameters

Software repository mirroring keeps the software repositories in a multimaster mesh in sync for redundancy and disaster recovery. This section explains how to change the Software Repository Mirroring configuration parameters. For more information, see Software Repository monitoring.

You can enable software repository mirroring and set how frequently the mirroring job runs by modifying the following configuration parameters. The software repository mirroring job copies data between software repositories so they are all in sync.

Software repository mirroring parameters

Parameter

Type

Allowed Values

Default

Description

word.enable_content_mirroring

Boolean Flag

0 or 1

0

Set this value to 1 to enable Software Repository mirroring. Set this value to 0 to disable it.

word.mirror_job_period

Minutes

Any positive integer

60

This value specifies how frequently the Software Repository mirroring job runs.

Changing a system configuration parameter

This section describes how to change some of the system configuration parameters with the SA Client.

To change a system configuration parameter for the Software Repository in the SA Client, perform the following steps:

  1. Select the Administration tab in the SA Client.
  2. From the navigation pane select System Configuration. This displays the SA components, facilities, and realms that have system configuration parameters.
  3. From the list of SA components, select Software Repository. This displays the system configuration parameters for this component.
  4. Locate and modify the system configuration parameters you want to change.
  5. Select the Revert button to discard your changes or the Save button to save your changes.
  6. Restart the Software Repository service with the following command:

    /etc/init.d/opsware-sas restart mm_wordbot

Important Since these flags are global and affect the entire SA mesh, the Software Repository service must be restarted on all SA slices from the mesh.

Enabling and disabling Software Repository mirroring at facility level

There are two configuration flags which control the software repository mirroring:

  • The flag located at NGUI > Administration > System Configuration > Software Repository > word.enable_content_mirroring.

    This global flag enables and disables the mirroring of the entire SA mesh.

  • The config flag located in NGUI > Administration > System Configuration > Facilities > <facility_name> > word.enable_content_mirroring.

    Where, facility_name is the name of the facility affected by this configuration flag.

    This flag controls the mirroring of each facility.

Important The flag configured at the facility level takes precedence over the global flag. In other words, the global flag controls the mirroring of a specific facility only if the facility flag is not set.