How To Reboot Cisco Prime Infrastructure 2.0

June 30, 2014 — 1 Comment

If you’ve been working in IT any length of time, you understand that every once in a while a piece of hardware just needs a good kick in the pants.  I’ve generally found most Cisco products to be very reliable.  Cisco Prime Infrastructure, however, seems to be an exception.  I’ll spare you my biased opinion of this particular product and we’ll move on…

We have yet to fully implement Cisco Prime Infrastructure and use it for it’s intended purpose: making my life easier.  It’s made my life anything but easier, but I’m still hoping to see it operate in all it’s glory and witness it effortlessly deploy updates to thousands of routers simultaneously.  Before that can happen, we’re still continually updating devices which often required bulk imports containing hundreds of devices (either to add or update existing records) and the occasional deletion of devices.  For whatever (unknown) reason, the jobs often fail to complete thereby prohibiting you from submitting subsequent jobs.

Unfortunately, the only “solution” we have to date is to reload the box.  Only not-so-recently have I determined that there is a wrong way to reload Prime and a right way to do it.  Guess which method I’ve been using?

While I haven’t specifically read anywhere this is the wrong way to reload Prime, I’d agree it probably isn’t the best way.  Here’s what I’ve been doing:

  1. SSH into Cisco Prime
  2. Use the “root” command to get root shell on the underlying Linux OS
  3. Use the “reboot” command to reload the box

[text]

Last login: Wed May 21 18:02:00 2014 from 10.1.6.20
CiscoPrime/admin# root
Enter root password : ********
Starting root bash shell …
ade # reboot

Broadcast message from root (pts/0) (Fri Jun 27 13:40:09 2014):

The system is going down for reboot NOW!
ade #
ade # [/text]

It appears that the more palatable method to reload Cisco Prime Infrastructure is to use their built-in reload command, similar to what you might expect to use on many of their router and switch hardware.  Of course, I didn’t know about this since the original method I’d been using worked and I must be the only Cisco engineer in the world that finds their website most difficult to navigate.  (I’ve been using a Google query of Cisco’s site to find information.  Even then, you get poor results unless you’re using right keywords to get desired results.)

If you’re a new Cisco Prime user, you might want to bookmark the Cisco Prime Command Reference.  You’ll probably be seeing it a lot in your future.

Aaron Melton

Posts

One response to How To Reboot Cisco Prime Infrastructure 2.0

  1. If you only need to restart the PI services (not the entire server) there’s another option:
    “ncs stop”
    “ncs start”

    I also run “ncs stop” before “reload” or “halt”. I don’t think it’s strictly necessary, but it seems a bit more graceful. (The “halt” command is useful if you are running PI as a VM and you need to reboot the ESXi host, or if you need to do any physical maintenance.)

Leave a Reply

Text formatting is available via select HTML.

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

*