Administrative scripts available on the MPP

Last Updated : Jan 24, 2014 |
Prolog information
The following administrative scripts are available on the MPP. You can run any of these scripts from a command line on the MPP machine:
Script/Executable
Type
Description
app.php
php
Summary of the application information downloaded from the EPM.
appstat.php
php
The statistics of all applications running on the MPP since the MPP was last started or the application changed.
Note:
This information also appears on the Application Statistics page in the Media Server Service Menu.
asr.php
php
Summary of the ASR server information downloaded from the EPM.
Note:
This script provides a summary, not a complete list of all properties for the ASR servers.
authorize_epm.php epm_host_address
php
Downloads the EPM certificate that is used for the mutual authentication with the Web Service and the EPM.
Note:
This script has been replaced by $AVAYA_HOME/Support/VP-Tools/setup_vpms.php script.
dirclean.sh
bash
Removes all application error handlers that were downloaded from the EPM.
Note:
This script is automatically called when the MPP service is stopped. When the MPP service is restarted, the event handlers are downloaded again to ensure that the latest copy is always available on the MPP.
dropcall.php station_id,switch name
php
Causes a specific station to drop any current call.
Specify the following parameters:
  • station_id: the station number
  • switch name: the name of the H.323 or SIP connection under which the station is defined.
    Tip:
    You can generate a list of stations with the listst.php script.
From EP 7.0 onwards, this script works with both H.323 and SIP.
dropsession.php session_id
php
Causes the MPP to drop the session whose Session ID is specified in session_id.
dumpRecords
exe
Dumps the contents of an MPP’s Call Detail Record (CDR) or Session Detail Record (SDR) bin file.
getmpplogs.sh
bash
Automatically combines the MPP logs in a TAR.GZ file so that you can archive them or send them to your Avaya support representative.
For details about using this script, see Packing MPP logs and transcriptions using getmpplogs.sh.
Tip:
You can restore these logs with the restorempplogs.sh script.
installstatus.php [--history]
php
Lists the MPP version and release number. If you use the optional --history parameter, it lists the installation history starting with Avaya Experience Portal release 4.0.
listcalls.php
php
Lists the active calls on the MPP.
listsessions.php
php
Lists all sessions on the MPP.
listss.php
php
Summarizes the speech server resources currently available to the MPP, including the number of resources that the MPP server can use without shorting other MPP servers in the system (known as the H value) and the total number of ports that the MPP needs if the system is operating under a full call load (the M value).
Note:
This information also appears on the Speech Servers page in the Media Server Service Menu.
listst.php
php
Lists the configured stations and their statuses.
mppMoveLogs.sh
bash
Moves the current MPP logs directory to a different drive or partition and creates a symbolic link so that all future MPP logs will be written to the new location.
For more information, see Moving the MPP logs to a different location.
mpprollback.sh
bash
Rolls the MPP installation back to the previously installed version.
Tip:
The Version page in the Media Server Service Menu displays the current installed release and the available rollback version.
restorempplogs.sh
bash
Restores the MPP logs archived by the getmpplogs.sh script.
For details, see Restoring packed MPP log files.
SMDump
exe
Dumps Telephony, ASR, and TTS status detail.
Note:
The SessionManager process must be running and you must be logged in as root or sroot to run this executable.
stat.php
php
Lists the MPP state and the running state of its monitored processes.
tts.php
php
Summary of the TTS server information downloaded from the EPM.
Note:
This script provides a summary, not a complete list of all properties for the TTS servers.
usr.php
php
Displays a list of the users downloaded from the EPM.
Note:
User roles and passwords are encrypted in this list.
xml.php
php
Dumps out two XML configurations:
  • Configuration loaded from the $AVAYA_MPP_HOME/config/mppconfig.xml
  • Configuration downloaded from the EPM