cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
2039
Views
10
Helpful
12
Replies
Highlighted
Beginner

Precautions before power shutdown activity

There is a power shutdown activity going to happen end of this month in the data center.  My applications are running on ESXi (includes CUCM, CUCXN, UCCX). 

Though the activity will be done off business hours. Do I need to take any extra measures? Will my applications run as it is once the UCS is powered back?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Hall of Fame Master

Issue "utils system shutdown" on all appliance virtual machines to gracefully shut them down, once they are all powered down you can shut down the UCS servers either from ESXi or CIMC.

View solution in original post

12 REPLIES 12
Highlighted
Hall of Fame Cisco Employee

Assuming you do a proper shutdown of the apps beforehand, you should have no problems.

Whether the apps start when they plug back the UCS and start ESXi, that's up to your ESXi config, it can be automated, or you'll have to do it manually.

HTH

java

if this helps, please rate
Highlighted

Thanks..

Highlighted

So this is what i am going to do.

1) Shutdown all the applications.

2) Shutdown UCS from CIMC.

3) remove the power cable from UCS. Do the cleaning activity in the rack. 

4) Plug back the power cable to UCS. Then UCS will automatically powers up.

5) Manually turn on all the virtual apps from ESXi.

Does this sounds good? Correct me if I am wrong.

Thanks

Highlighted

The sequence is absolutely correct. Once you power up the Virtual Machines, do not forget to check the DB replication using below command:

utils dbreplication runtimestate

Regards

Deepak

Highlighted
Hall of Fame Master

Issue "utils system shutdown" on all appliance virtual machines to gracefully shut them down, once they are all powered down you can shut down the UCS servers either from ESXi or CIMC.

View solution in original post

Highlighted

So this is what i am going to do.

1) Shutdown all the applications.

2) Shutdown UCS from CIMC.

3) remove the power cable from UCS. Do the cleaning activity in the rack. 

4) Plug back the power cable to UCS. Then UCS will automatically powers up.

5) Manually turn on all the virtual apps from ESXi.

Does this sounds good? Correct me if I am wrong.

Thanks

Highlighted

This is correct, unless the ESXi is configured to automatically restart virtual machines (recommended) in which case step 5 can be skipped.

Highlighted

Thank you..

Highlighted

Is that possible ESXi that will shutdown CUCM vm instead of I manually shutdown using CLI?

The scenario will be like these

1. When UPS battery left 30min, it will instruct ESXi to shutdown

2. ESXi will shutdown all its VMs based on order

tq

Highlighted

Once ESXi will be shutdown, all the VMs will automatically get shutdown. However, this is not recommended and you should go for a proper shutdown through CLI as it can impact the file system if a clean shutdown is not performed.

Regards

Deepak

Highlighted

Imagine if power down in the middle of the night.

None in the office

The only power source is UPS.

ESXi can clean shutdown every vm that has vmware tools.

It seems CUCM is not.

Alternatively is to instruct ESXi to run a script that will ssh to CUCM as admin and issue 

"utils system shutdown"

Anyone ever try that method?

Highlighted

Here the answer

https://nbctcp.wordpress.com/2016/02/21/shutdown-cucm-together-with-esxi/

Basically instruct APC to run a script when ups on battery