Cisco Cisco Unified MeetingPlace Audio Server Quick Setup Guide

Page of 766
 
Using the Command-Line Interface (CLI) in Cisco Unified MeetingPlace
Command Reference
15
 
Database Replication Commands
Note
To enter the database replication commands in 
:
  •
The MeetingPlace Database services must be running on the Application Server. 
  •
You must be logged in to the CLI as the 
 user
The output messages from each command execution are displayed on the screen and stored in a log file 
under the directory $MP_LOGDIR/database/replication/logs. The log file names have the format 
mp_replication_log.<YYYY-MM-DD_hh-mm-ss>.
Table 3
Command Reference: Database Replication Commands 
Command
Description
mp_replication init
Makes necessary changes in configuration files and database to enable the Application 
Server to use database replication. Run this command on each node involved in replication.
Syntax: mp_replication init -n node {1 | 2} -r remote-server eth0:0 [-v]
Parameters:
  •
-n node—Specifies the node (within the specified site) on which you run the command. 
Valid values for node are 1 and 2.
  •
-r remote-server—Specifies the hostname or IP address of the other Application Server 
with which to establish replication.
  •
-v—Specifies verbose output.
mp_replication switchON
Starts replication between two Application Servers. 
  •
Run this command on node 1 only.
  •
Run this command only after running the 
 command on each node 
involved in replication.
Syntax: mp_replication switchON [-S -F from-sync] [-v]
Parameters: 
  •
-S -F from-sync—Indicates data synchronization between the two Application Servers.
Note
Both Application Servers must be in standby mode when the -S -F options are 
used.
For intra-site replication, which is used for 
, specify the 
hostname or IP address of the virtual network interface eth0:0. 
  •
-v—Specifies verbose output.
mp_replication status
Displays the status of replication between the specified servers.
Syntax: mp_replication status [-v
Parameter: -v—Specifies verbose output.