Howto: properly reboot a linux based Cisco Unified Communications Manager (Callmanager) server

The proper way to reboot or shutdown a Cisco Unified Communications Manager (Callmanager) server is to issue the “UTILS SYSTEM RESTART” command from the console. Alternatively you can SSH to the server and issue the restart command remotely. You can SSH to your server using any SSH client you wish. Putty is a free, commonly used SSH client. I personally use SecureCRT, however, you must purchase a license. (There is a trial version available as well.)

To reboot the server, simply log into the console or SSH to the server. Log in with the platform username and password that was configured when you installed the server. Once you’ve logged in, issue the “utils system restart” command. The system will prompt you asking if you are sure you want to restart, to which you must respond “yes” and press ENTER. The system will now reboot.

admin:utils system restart

Do you really want to restart ?

Enter (yes/no)? yes

If you wish to properly power off the server, issue a “UTILS SYSTEM SHUTDOWN” command.

If you are rebooting the system, keep in mind that it will take several minutes for the system to properly shut down and restart. I have gone into panic mode several times worrying that the server isn’t coming back when rebooting it remotely.

Another useful command when rebooting a server is the “UTILS SERVICE LIST” command. This command lists the status of all of the services on the server. It is common for a server to be pingable or have a login prompt at the console for quite some time before you can log into the GUI. To check the status of the server services, you can log into the consloe or SSH back into it and issue this command.

admin:utils service list



Requesting service status, please wait…
System SSH [STARTED]
Cluster Manager [STARTED]
Service Manager is running
Getting list of all services
>> Return code = 0
A Cisco DB[STARTED]
A Cisco DB Replicator[STARTED]
Cisco AMC Service[STARTED]
Cisco AXL Web Service[STARTED]
Cisco Audit Event Service[STARTED]
Cisco Bulk Provisioning Service[STARTED]
Cisco CAR DB[STARTED]
Cisco CAR Scheduler[STARTED]
Cisco CAR Web Service[STARTED]
Cisco CDP[STARTED]
Cisco CDP Agent[STARTED]
Cisco CDR Agent[STARTED]
Cisco CDR Repository Manager[STARTED]
Cisco CTIManager[STARTED]
Cisco CTL Provider[STARTED]
Cisco CallManager[STARTED]
Cisco CallManager Admin[STARTED]
Cisco CallManager Cisco IP Phone Services[STARTED]
Cisco CallManager Personal Directory[STARTED]
Cisco CallManager Serviceability[STARTED]
Cisco CallManager Serviceability RTMT[STARTED]
Cisco Certificate Authority Proxy Function[STARTED]
Cisco Certificate Change Notification[STARTED]
Cisco Certificate Expiry Monitor[STARTED]
Cisco Change Credential Application[STARTED]
Cisco DRF Local[STARTED]
Cisco DRF Master[STARTED]
Cisco Database Layer Monitor[STARTED]
Cisco DirSync[STARTED]
Cisco Extended Functions[STARTED]
Cisco Extension Mobility[STARTED]
Cisco Extension Mobility Application[STARTED]
Cisco License Manager[STARTED]
Cisco Log Partition Monitoring Tool[STARTED]
Cisco RIS Data Collector[STARTED]
Cisco RTMT Reporter Servlet[STARTED]
Cisco SOAP – CallRecord Service[STARTED]
Cisco Serviceability Reporter[STARTED]
Cisco Syslog Agent[STARTED]
Cisco Tftp[STARTED]
Cisco Tomcat[STARTED]
Cisco Tomcat Stats Servlet[STARTED]
Cisco Trace Collection Service[STARTED]
Cisco Trace Collection Servlet[STARTED]
Cisco Trust Verification Service[STARTED]
Cisco WebDialer Web Service[STARTED]
Host Resources Agent[STARTED]
MIB2 Agent[STARTED]
SNMP Master Agent[STARTED]
SOAP – Diagnostic Portal Database Service[STARTED]
SOAP -Log Collection APIs[STARTED]
SOAP -Performance Monitoring APIs[STARTED]
SOAP -Real-Time Service APIs[STARTED]
System Application Agent[STARTED]
Cisco CallManager SNMP Service[STOPPED] Service Not Activated
Cisco DHCP Monitor Service[STOPPED] Service Not Activated
Cisco Dialed Number Analyzer[STOPPED] Service Not Activated
Cisco IP Manager Assistant[STOPPED] Service Not Activated
Cisco IP Voice Media Streaming App[STOPPED] Service Not Activated
Cisco Messaging Interface[STOPPED] Service Not Activated
Cisco SOAP – CDRonDemand Service[STOPPED] Service Not Activated
Cisco TAPS Service[STOPPED] Service Not Activated
Cisco UXL Web Service[STOPPED] Service Not Activated
Cisco Unified Mobile Voice Access Service[STOPPED] Service Not Activated
Primary Node =true

You are primarily looking for the status of the CALLMANAGER service, although there are several critical services to keep an eye on.

If you add the “page” keyword onto the end of the command, the system will display the services one page at a time. “UTILS SERVICE LIST PAGE”.

Thats it!

-Go0se.

6 comments to Howto: properly reboot a linux based Cisco Unified Communications Manager (Callmanager) server

  • Jose Miguel

    Hi
    I’m trying to do a remote shutdown of my ccm executing a command via plink (plink -ssh -pw ******* @ccm-host “utils system shutdown”). But when I execute it, I get this message:
    stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    Command Line Interface is starting up, please wait…
    Exception in thread “main” java.lang.NumberFormatException: For input string: “”

    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:470)
    at java.lang.Integer.parseInt(Integer.java:499)
    at sdMain.main(sdMain.java:590)

    And the connection closed

    If I execute it in interactive way, all running well.

    Any ideas?

    Thanks

  • admin

    I’m not a plink user, however, you don’t have “-l username” in your statement above. You must log in with the same username you would use from the console. I’m not familiar enough to know for sure if that is your problem, however.

    -Go0se

  • One more place you can reboot the callmanager
    WebConsole:-> OS Administration – >Settings -> Version
    Click the Restart Button. (Why it’s under Version I have no idea)

    Mike

  • admin

    I was not aware that was there. Thanks for sharing!

    -Go0se

  • kcbell

    Good article above! May I share with my experience with the servers reboot below.

    Cisco engineer helped me to do a reboot on my cluster last night. I like to share several items.
    - Make sure you have a backup available for restore. I did not need it but just in case.
    - We used RTMT to observe the number of phones registered with each server prior to the reboot.
    - My phone call with the engineer never dropped while the two call managers were rebooting. The reboot process between two servers was able 15 minutes apart to ensure that at least of the server was up.
    - At the end, the number of phones registered was off by one.
    - I told him that the display on my phone said UCM failed. I didn’t think he heard what I told him.
    - I told him if we are off by one phone I can deal with it.
    - I hanged up with him then my phone reboot. Then the number of phones registered was same as before the reboot.

  • Travis

    thank you!

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>