Skip to main content
Solved

Power On Management for VM


Forum|alt.badge.img+14

Hello,

I have 2 VM MediaAgent installed for cloud backup, both Media Agent have DDB With 4 partitions. To make a full air Gap i enable Power Manager on both Media Agent. And i created DDB verification scheduler for Cloud DDB.

 

But mostly of time when the scheduler start and commvault turn vm's on then some of partitions breaking down and DDB Reconstruction start. 

Best answer by Mike Struening RETIRED

Sharing case solution:

update from Development to force a time wait/delay.
This way there will be an extended period after the Services are requested to stop, before the VM is Force shutoff.

Apply update UpdateBundle_Build1108133_Form3802

And create the following additional settings on Commserve. Properties of the Commserve > Additional Settings.

Name : PMServiceStopWaitTimeInMins
Category : CommServDB.GxGlobalParam
Value : 5

The Value can be 5 to 60 ( mins ). This is the time out period of service stop request of MA. The CS will wait for SIDB process to go down till this time. If it’s not going down by this time, there will be a force power-off. If SIDB process is taking more than 5 mins to go down, then you can change this value to set an ideal time out period.

View original
Did this answer your question?
If you have a question or comment, please create a topic

14 replies

Forum|alt.badge.img+15
  • Vaulter
  • 630 replies
  • March 29, 2022

Good morning.  When the VM is powered down, are Commvault services being shut down prior?  If you are just powering the VM off without stopping CV services first, especially SIDB2.exe, you could see corruption of the DDB.


Forum|alt.badge.img+14
  • Author
  • Byte
  • 164 replies
  • March 29, 2022

@Orazan Dont think so its set up, do i need to do it with CLI or Powershell script? 


Forum|alt.badge.img+15
  • Vaulter
  • 630 replies
  • March 29, 2022

You can try this command to stop services:

<Path to Commvault Base Directory>\gxadmin -stopsvcgrp “All” -console

 

 


Forum|alt.badge.img+14
  • Author
  • Byte
  • 164 replies
  • March 30, 2022

@Orazan Ok i can try it, but i dont want to run this scrip by the hand, because when there is no activity on MA, vm wil be power off by commvault. How can i implament the script before the commvault power off vm? 


Mike Struening
Vaulter
Forum|alt.badge.img+23

@Egor Skepko , I had a good chat with some internal folks who advised that you should turn off Data Verification on cloud libraries and see if the DDB corruption still occurs.

We don’t recommend running CV on cloud based DDBs normally.

Let me know how this goes.  If it continues to corrupt, then we should open a support case.


Forum|alt.badge.img+14
  • Author
  • Byte
  • 164 replies
  • March 30, 2022

@Mike Struening  Thank you for advise, i will let you know if the problem accure after disabling ddb verification. 

 

Why you not advising to have ddb verification on cloud? 


Mike Struening
Vaulter
Forum|alt.badge.img+23

One factor is that depending on where the DDB/library is, you can incur egress costs.


Satya Narayan Mohanty
Vaulter
Forum|alt.badge.img+3

Hi All, power management feature stops the services on MA before shutting down the VM. So there is no need to manually run any command to stop service. As part of CVD stop, it waits for DDBs to go down gracefully. However power management has a time out of 30 seconds for services to be stopped. So if the services are not stopped within 30 seconds (a bit unusual though),  the machine is shut down and we may see DDB corruptions. As part of a related customer issue we are discussing this aspect. Let me know if you have any further questions.


Forum|alt.badge.img+14
  • Author
  • Byte
  • 164 replies
  • April 11, 2022

I have disable ddb verification for cloud, but yestoday i sow again ddb reconstruction of partitions.  I dunno why and what happend. The vm's were down btw. Its might happend after aux. 


Satya Narayan Mohanty
Vaulter
Forum|alt.badge.img+3

@Egor Skepko  - the DDB corruption has nothing to do with DDB verification. As I explained above, the corruption happens when in between CVD stop the cloud VM is shut down. As said, power management waits for 30 sec before issuing a shut down, so the issue happens only when CVD does not go down in 30 sec. Is this issue escalated to support? if so can you give me the reference ticket number? 


Forum|alt.badge.img+14
  • Author
  • Byte
  • 164 replies
  • April 11, 2022

@Satya Narayan Mohanty Not i did not escaleted yet to support. I might need to do it


Satya Narayan Mohanty
Vaulter
Forum|alt.badge.img+3

Ok. Mention my name in the escalation, so that it gets redirected to me and I can help with this as soon as possible.


Forum|alt.badge.img+14
  • Author
  • Byte
  • 164 replies
  • April 11, 2022

@Satya Narayan Mohanty  case nummber 220411-348


Mike Struening
Vaulter
Forum|alt.badge.img+23

Sharing case solution:

update from Development to force a time wait/delay.
This way there will be an extended period after the Services are requested to stop, before the VM is Force shutoff.

Apply update UpdateBundle_Build1108133_Form3802

And create the following additional settings on Commserve. Properties of the Commserve > Additional Settings.

Name : PMServiceStopWaitTimeInMins
Category : CommServDB.GxGlobalParam
Value : 5

The Value can be 5 to 60 ( mins ). This is the time out period of service stop request of MA. The CS will wait for SIDB process to go down till this time. If it’s not going down by this time, there will be a force power-off. If SIDB process is taking more than 5 mins to go down, then you can change this value to set an ideal time out period.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings