Cisco Unified MeetingPlace, Release 7.0 -- Command Reference

From DocWiki

(Difference between revisions)
Jump to: navigation, search
(Table: Command Reference: Database Replication Commands)
(Table: Command Reference: Application Commands)
Line 147: Line 147:
Syntax: '''clearalarm''' {''reference-number'' | '''all'''}
Syntax: '''clearalarm''' {''reference-number'' | '''all'''}
|-
|-
 +
 +
 +
|
 +
 +
cleardb
 +
|
 +
 +
Clears the following Application Server data:
 +
*All user profiles except the admin and guest user profiles
 +
*All user groups except the System group
 +
*All user recordings
 +
*All conference recordings
 +
 +
You must be signed in to the Application Server CLI as the root user to enter this command.
 +
 +
Use this command for specific situations; as instructed in the documentation or as recommended by Cisco TAC. It first clears the database, then restarts all Cisco Unified MeetingPlace services.  Upon restarting, ConfSchd service executes a ConfSchd db table rebuild to clean up other dependent tables.  When the ConfSchd db table rebuild is completed and all other MeetingPlace services are up, then the prompt returns.
 +
 +
'''Note:''' If the Application Server is in a failover or in a RSNA deployment, then turn off replication before running this command. Be sure that the Application Server is in active mode before running this command.
 +
 +
Syntax: '''cleardb'''
 +
 +
|-
 +
 +
 +
|
|
Line 480: Line 505:
Syntax: '''viewexlog'''  
Syntax: '''viewexlog'''  
|}
|}
-
 
-
 
-
 
===== Related Topics =====
===== Related Topics =====

Revision as of 01:31, 13 November 2010

Main page: Cisco Unified MeetingPlace, Release 7.0

Up one level: Reference Information



Contents

Command Syntax Conventions

This document uses these command syntax conventions.


Convention Description

bold

Bold text indicates commands and parameters that you enter as shown.

italic

Italic text indicates parameters for which you supply values.

<x>

Angle brackets enclose a parameter for which you supply values. This is typically used instead of italic text when there is no space between adjacent parameters.

[x]

Square brackets enclose an optional parameter.

|

A vertical line, called a pipe, indicates a choice within a set of parameters.

[x | y]

Square brackets enclosing parameters separated by a pipe indicate an optional choice.

{x | y}

Braces enclosing parameters separated by a pipe indicate a required choice.

[x {y | z}]

Braces and a pipe within square brackets indicate a required choice within an optional element.



Application Commands

Table: Command Reference: Application Commands
Command Description

activity

Displays a quick, verbose, or complete status of all ports or a range of ports. Allows you to make a test call and show all meetings.


Syntax: activity

alarm

Displays the Alarm Table:

Note: The brief description in the alarm table entry may contain values that are specific to one alarm occurrence, such as an IP address. These values may differ in all alarms that are combined into one table entry, but only the values for the first alarm are displayed. To see the individual alarms, use the errorlog command or the viewexlog command.


Syntax: alarm

checklic

Shows the type and number of licenses installed.

Note: The system may take up to 15 seconds to process this information.


Syntax: checklic

clearalarm

Clears either all the alarms in the alarm table or just the alarm specified.


If there are any major alarms in the alarm table, the system can be configured to call the system administrator after every restart until all major alarms are deleted from the alarm table. See Configuring the System to Call You if There is a Major Alarm.


Running this command stops the system from calling the system administrator (if it has been configured to do so).


Syntax: clearalarm {reference-number | all}

cleardb

Clears the following Application Server data:

  • All user profiles except the admin and guest user profiles
  • All user groups except the System group
  • All user recordings
  • All conference recordings

You must be signed in to the Application Server CLI as the root user to enter this command.

Use this command for specific situations; as instructed in the documentation or as recommended by Cisco TAC. It first clears the database, then restarts all Cisco Unified MeetingPlace services. Upon restarting, ConfSchd service executes a ConfSchd db table rebuild to clean up other dependent tables. When the ConfSchd db table rebuild is completed and all other MeetingPlace services are up, then the prompt returns.

Note: If the Application Server is in a failover or in a RSNA deployment, then turn off replication before running this command. Be sure that the Application Server is in active mode before running this command.

Syntax: cleardb

cpstatus

Displays information about each active call, including the associated meeting ID, whether the system dialed out to the endpoint, and whether the call uses video.


Syntax: cpstatus

cptrace

Lists selected portions of the call processing trace log.


Syntax: cptrace

date

Displays the time and date for the Application Server.


If you are logged in as a root user, then you can also set the date and time based on the local time zone.


Syntax: date [MMDDhhmm[YYYY][.ss]]


Parameters (available only to root users):

  • MM -- month, specified by two digits
  • DD -- day, specified by two digits
  • hh -- hour, specified by two digits in 24-hour format
  • mm -- minute, specified by two digits
  • YYYY -- calendar year, specified by four digits
  • .ss -- second, specified by two digits and a preceding period (.)

dbupdate

Deletes all entries in the Cisco Unified MeetingPlace database, so that the database is the equivalent of that in a newly installed Cisco Unified MeetingPlace system. This means that all user groups, user profiles, video terminal profiles, remote servers, meeting categories, and all meeting records are deleted from the system except the standard, preconfigured items, such as the System user group.

Caution! Deleting all database entries is an irreversible operation. Before you run the dbupdate command, consider backing up and archiving the database. See Backing Up, Archiving, and Restoring Data on the Cisco Unified MeetingPlace Application Server.


Use this command only in the following situations:

  • Cisco TAC instructs you to do so.
  • You configured Directory Service on your system, and you need to change the LDAP directory with which Cisco Unified Communications Manager is integrated. If you do not clear the database before switching from one LDAP directory to another, then all the user profiles from the first LDAP directory will remain in the Cisco Unified MeetingPlace database until you manually delete them.
The automatic Directory Service deletion of user profiles does not apply when you change the LDAP directory. For details about when and how the system automatically deletes Directory Service user profiles, see Directory Service User Profile Deletion.

errorlog

Displays the Exception Log output one screen at a time:

  • Date of the event
  • Time of the event
  • Severity (major, minor, informational, or warning)
  • Exception code
  • Brief description


In contrast, the viewexlog command provides the entire Exception Log output all at once.


Syntax: errorlog

eventlog

Displays the system event log.

Note: This command has many parameter options; only the most commonly used parameters are listed below.


Syntax: eventlog [-b [YY][MMDD]hhmm] [-e [YY][MMDD]hhmm] [-G | -C] [-t] [| more]


Parameters:

  • -b -- Specifies a start time for the log events to include in the output.
  • -e -- Specifies an end time for the log events to include in the output.

Note: To show events for the current day, you may omit the YY, MM, and DD parameters from the start and end times.

  • YY -- Calendar year, specified by two digits. Typically, this parameter is included only when troubleshooting issues around the start of a new calendar year.
  • MM -- month, specified by two digits
  • DD -- day, specified by two digits
  • hh -- hour, specified by two digits in 24-hour format
  • mm -- minute, specified by two digits
  • -G -- Shows the telephony and conference events and control messages from the Call Processing-Media Control Protocol (CPMCP) component, which is a proxy for the Media Server.
  • -C -- Limits log output to events for the conference scheduler (ConfSchd) component.
  • -t -- Displays the log output in real time. This option is useful for troubleshooting issues in real time. For example, you can enter eventlog -G -t and then place a test call to the system to see how the system responds to the incoming call and to any subsequent user input.
  • | more -- Displays the log output one screen at a time.

exc

Displays the meaning of an exception code that was listed in the errorlog or viewexlog command output.


Syntax: exc [-v] exception-code

hostname

Displays the hostname of the Application Server.


Syntax: hostname

infocap

Captures configuration details and logs from the system for a particular time period. The output file is a zip file that is stored in the /tmp directory. The system gives the exact location after compiling the information.


Restrictions:

  • You must be logged in as the root user to run this command.
  • You can also get this information by completing Obtaining and Viewing the System Information Capture (Infocap) Log. Use this command only if you are unable to get the information from the Cisco Unified MeetingPlace Administration Center.
  • The begin and end dates and times must be in the format [YY]MMDDhhmm. The YY is optional and if not specified, the system uses the current year. For format details, see the parameters for the date command.


Syntax: infocap -b begin-date-and-time -e end-date-and-time

langinfo

Displays information about all installed locales including the following:

  • Locale ID
  • Language code
  • Locale order
  • Locale name
  • Country code
  • Locale version number


Syntax: langinfo

mtginfo

Displays information about a specific meeting. Searches for a meeting based on any of these:

  • Unique conference ID (such as 125). (This number is output by certain commands such as cptrace -C and errorlog. It uniquely identifies a meeting.)
  • Meeting ID (such as 1278). Can optionally use any of the time arguments.
  • Unique user ID (such as 0x65). (This number is output by certain commands such as userinfo. It uniquely identifies a user.) Searches for all meetings that a user has attended or been invited to.
  • Activity. Searches only for active meetings.
  • Time. Searches for all meetings valid at a certain time with the -t argument or between two times when the -s and -e arguments are used together.


Syntax: mtginfo -a time -c unique-conf-id -e end-time -m meeting-id -s start-time -t time -u unique-user-id

Note: The start and end times must be in the format YYMMDDhhmm. All parameters are optional. If they are not all present, the system starts processing from the right. For format details, see the parameters for the date command.

Note: Start and end times in the command output are adjusted for the Meeting ID start guard time (minutes) and Meeting ID end guard time (minutes) fields on the Meeting Configuration Page.


Examples:


mtginfo -m 1234 Looks for the meeting with the ID of 1234 at the current time


mtginfo -m 1234 -t 11 Looks for meeting with the ID of 1234 at 11 minutes after the current hour


mtginfo -m 1234 -t 1111111111 Looks for meeting with the ID of 1234 at 11:11am on Nov 11, 2011


mtginfo -a 1430 Looks for meetings that are active at 2:30pm today


mtginfo -s 1430 -e 1530 Looks for meetings that started or ended between 2:30 and 3:30pm today


mtginfo -c 123 Looks for meeting with the unique conference ID of 123


mtginfo -u 123 -t 1111 -e 1211 Looks for meetings that the user with the unique user ID of 123 is invited to between 11:11 and 12:11 today

net

Lists the current network configuration settings and allows you to change them after the system has been installed. Most changes take affect after restarting the system.

Caution! A system restart terminates all existing call connections. Proceed only during a scheduled maintenance period or during a period of extremely low usage. NOTE: When you restart the Web Server, all manual changes made to the registry are lost.


Use the net command to set the following:

  • Port configuration parameters, including:
    • Application Server (eth0) hostname, IP address, subnet mask, and default gateway
    • Virtual (eth0:0) hostname, IP address, subnet mask, and default gateway-the eth0:0 virtual interface is used in Application Server Failover deployments
    • MTU and link parameters (auto-negotiation, speed, duplex).
  • Domain name
  • DNS servers


Syntax: net

ntpdate

Sets the Application Server date and time to match the time obtained by polling an NTP server.


Syntax: ntpdate [-u] ntp-server


Parameters:

  • -u -- Specifies to send packets through an unprivileged port to communicate with the NTP server. Use this option when you want to reach an NTP server that is beyond a firewall.
  • ntp-server -- Hostname or IP address of the NTP server.

swstatus

Displays information about Cisco Unified MeetingPlace, including the following:

  • Version number
  • System mode
  • Status of the power supplies
  • List of software modules loaded in to memory, their version number, and their status


Syntax: swstatus

techui

Displays statistics for the Media Server, ports, and conferences.


This technician user interface helps to diagnose and troubleshoot media and voice quality issues of active calls.


Syntax: techui

userinfo

Displays information about a specific user. Searches for a user based on any of these:

  • User ID
  • Profile number
  • Unique user ID (such as 0x65). The unique user ID is output by certain commands. It uniquely identifies a user but does not display the name of the user.


Syntax: userinfo {user-id | profile-number | unique-user-id}

userutil

Performs administrative functions for any user profile.


Restriction: You cannot set the admin user to inactive, locked, or the group default.


Syntax: userutil {-q | [-p | -P] [-n | -N] [-a | -i | -l | -g]} userid [password]


Parameters:

viewexlog

Provides the entire Exception Log output all at once:

  • Date of the event
  • Time of the event
  • Severity (major, minor, informational, or warning)
  • Exception code
  • Brief description


In contrast, the errorlog command displays the Exception Log output one screen at a time:


Syntax: viewexlog

Related Topics


Operating System Commands

In addition to the Cisco Unified MeetingPlace commands listed in Table: Command Reference: Operating System Commands, the CLI supports the standard Linux operating system commands. You can use the vim command to view or modify text files if necessary.


Note the following requirements and restrictions for operating system commands:

  • With the exception of the mpx_sys command, use the operating system commands to start or stop services only when you have been explicitly told to do so by Cisco TAC. Use of these commands may cause unpredictable results.
  • If you are not logged in as the root user, you must enter sudo before you can run any of these commands. For example, to stop all application services, go to the command line and enter the following:
sudo ./mpx_app stop
The preceding example assumes that you are already in the /etc/init.d directory. If you are not in that directory, you instead enter the following:
sudo /etc/init.d/mpx_app stop
  • Existing call connections will not be terminated by stopping services on the Application Server. However, starting or restarting services will terminate those calls. This behavior applies:
    • To the mpx_app, mpx_sys, and mpx_va commands.
    • If the Application Server crashes and is reloaded.
    • If you enter the shutdown or reboot Linux command on the Application Server.


Table: Command Reference: Operating System Commands
Command Description

mpx_app

Starts, stops, or restarts all Cisco Unified MeetingPlace application services.

NOTE: When you restart the Web Server, all manual changes made to the registry are lost.


Syntax: mpx_app {start | stop | restart | status} [-v]

mpx_axlds

Starts, stops, or restarts Directory Service and external AXL authentication through Cisco Unified Communications Manager.


Syntax: mpx_axlds {start | stop | restart | status} [-v]

mpx_db

Starts, stops, or restarts Cisco Unified MeetingPlace database services.


Syntax: mpx_db {start | stop | restart | status} [-v]

mpx_lm

Starts, stops, or restarts Cisco Unified MeetingPlace license manager services.


Syntax: mpx_lm {start | stop | restart | status} [-v]

mpx_rmi

Starts, stops, or restarts messaging integration services for Cisco Unified MeetingPlace Click-to-Conference for IBM Lotus Sametime Instant Messaging.


Syntax: mpx_rmi {start | stop | restart | status} [-v]

mpx_rssctrl

Starts, stops, or restarts the Cisco Unified MeetingPlace recording and streaming service.


Syntax: mpx_rssctrl {start | stop | restart | status} [-v]

mpx_snmp

Starts, stops, or restarts SNMP services.


Syntax: mpx_snmp {start | stop | restart | status} [-v]

mpx_sys

Starts, stops, or restarts all Cisco Unified MeetingPlace services.

Caution! A system restart terminates all existing call connections. Proceed only during a scheduled maintenance period or during a period of extremely low usage.

NOTE: When you restart the Web Server, all manual changes made to the registry are lost.


Note: If the restart process is interrupted, you will have to reenter the mpx_sys restart command. For example, the restart process may be interrupted by a power outage, by closing the SSH connection, or by another restart process that is initiated from a different terminal.


Syntax: mpx_sys {stop | restart | status} [-v]

mpx_tomcat

Starts, stops, or restarts Apache Tomcat services.


Syntax: mpx_tomcat {start | stop | restart | status} [-v]

mpx_tomcatmon

Starts, stops, or restarts Apache Tomcat monitoring services.


Syntax: mpx_tomcatmon {start | stop | restart | status} [-v]

mpx_va

Starts, stops, or restarts Media Server services on the Application Server.


If all other Cisco Unified MeetingPlace services continue running, entering this command does not interrupt meetings that are in session.


Syntax: mpx_va {start | stop | restart | status} [-v]

mpx_version

Lists all installed versions of Cisco Unified MeetingPlace.


Syntax: mpx_version

mpx_webx

Starts, stops, or restarts all Cisco WebEx integration services on the Application Server.


Syntax: mpx_webx {start | stop | restart | status} [-v]

resetmsapassword

Resets the Media Server Administration password to "cisco".


Syntax: resetmsapassword

shutdown

Shuts down the Application Server.


For a graceful shutdown, we recommend that you enter the command using the syntax below. You can see which other options are available by entering shutdown without any parameters.


Syntax: shutdown -h now

Related Topics


Database Replication Commands

Note: To enter the database replication commands in Table: Command Reference: Database Replication Commands:

  • The MeetingPlace Database services must be running on the Application Server.
  • You must be logged in to the CLI as the root 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: 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 -s site -n node [-l local-server] -r remote-server {-h | -m} [-v]


Parameters:

  • -s site -- Specifies the site of the node on which you run this command. Valid values for site are 1 and 2.
  • -n node -- Specifies the node (within the specified site) on which you run the command. Valid values for node are 1 and 2.
  • -l local-server -- (Optional) Specifies the hostname or IP address of the Application Server on which you run this command.
For intra-site replication, which is used for Application Server Failover, specify the hostname or IP address of the virtual network interface eth0:0.
By default, the (eth0 hostname) value returned by the hostname command is used.
  • -r remote-server -- Specifies the hostname or IP address of the other Application Server with which to establish replication.
  • -h -- Specifies intra-site replication, which is used for replication between the active and standby Application Server in a single-site active/standby failover deployment.
  • -m -- Specifies inter-site replication, which is used for replication between two singleServer mode Application Servers (i.e, site 1 and site 2) in Reservationless Single Number Access (RSNA) deployment.
  • -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 mp_replication init command on each node involved in replication.


Syntax: mp_replication switchON -r remote-server [-S -F local-server] [-v]


Parameters:

  • -r remote-server -- Specifies the hostname or IP address of the other Application Server with which to establish replication.
For intra-site replication, which is used for Application Server failover, specify the hostname or IP address of the virtual network interface eth0:0.
  • -S -F local-server -- 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 Application Server Failover, 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.

mp_replication switchOFF

Stops replication, but does not restore configuration changes.


Syntax: mp_replication switchOFF [-l local-server] -r remote-server [-v] [-f]


Parameters: See the mp_replication init command. Exception:

  • -f -- Specifies to remove the local server from replication even in the following cases:
    • Specified remote server is not part of replication.
    • Local server is not in replication with any other servers.

mp_replication teardown

Removes configuration changes made on the local server for replication with the specified remote server. Run this command on each node involved in replication to undo the configuration changes.


Syntax: mp_replication teardown [-l local-server] -r remote-server [-v] [-f]


Parameters: See the mp_replication init command.

Related Topics


Failover Commands

Note: You must be logged in to the CLI as the root user to enter the failover commands in Table: Command Reference: Failover Commands.


Table: Command Reference: Failover Commands
Command Description

failoverUtil copyConfigFiles

Transfers configuration files from one Application Server to the other, specifically:

  1. Compresses the configuration files and user prompts on the local server.
  2. Transfers the compressed files to the remote server.


After you enter this command on the local server, you need to enter the failoverUtil restoreConfigFiles on the remote server.


The following files and directories are transferred by this command:

  • Directory Service:
    • /opt/cisco/meetingplace/axlds/current/etc/config.properties
  • Recorded user names and custom voice prompts:
    • Everything under /opt/cisco/meetingplace/afs/custom
  • Microsoft Outlook integration files:
    • Everything under /opt/cisco/meetingplace/var/outlook
    • /opt/cisco/meetingplace/var/admin/outlook.config
    • Everything under /opt/cisco/meetingplace/var/mail
  • Cisco WebEx integration files:
    • /opt/cisco/meetingplace/web/current/etc/conf/keyinfo.properties
    • /opt/cisco/meetingplace/web/current/etc/conf/keystore.jks
    • /opt/cisco/meetingplace/web/current/etc/conf/cert.cer


Syntax: failoverUtil copyConfigFiles

failoverUtil restoreConfigFiles

Completes the transfer of configuration files from one Application Server to the other, specifically:

  1. Decompresses the configuration files and user prompts that were transferred from the remote server.
  2. Places the transferred files into the correct directories, overwriting any existing local files with those from the remote server.

Note: The failoverUtil copyConfigFiles and failoverUtil restoreConfigFiles commands are entered on separate Application Servers.


Syntax: failoverUtil restoreConfigFiles

failoverUtil setDeployment failover

Sets up an Application Server for failover deployment, including the configuration of the virtual network interface (eth0:0) hostname, IP address, subnet mask, and default gateway.


Syntax: failoverUtil setDeployment failover

failoverUtil setDeployment singleServer

Restores a failover-deployed Application Server to a single-server deployment.


Syntax: failoverUtil setDeployment singleServer

failoverUtil setServer

Sets a failover-deployed Application Server to either active or standby mode.


Enter this command only after running the failoverUtil setDeployment failover command on the server.

Note: The mode setting may not be successful if this process is interrupted, for example, by a power outage, by closing the SSH connection, or by a system restart. To view the failover mode, log in to the Administration Center. If the wrong failover deployment mode appears at the top of the page, enter the mpx_sys restart command, followed by the failoverUtil setServer command.

NOTE: When you restart the Web Server, all manual changes made to the registry are lost.


Syntax: failoverUtil setServer {active | standby}

failoverUtil status

Displays the current modes of the Application Server, specifically:

  • Whether the server is deployed for failover or as a single server.
  • If deployed for failover, then whether the server is in active or standby mode.


Syntax: failoverUtil status



Related Topics

Rating: 0.0/5 (0 votes cast)

Personal tools