VMware Cloud Community
hamidsattarrana
Enthusiast
Enthusiast
Jump to solution

Reverting vCenter Snap after Certificate Renewal failure

Hi!

I was trying to renew the machine SSL certificate via vCenter CLI but it went wrong and vCenter GUI was not accessible. Everything in the background is working fine. We have 2 clusters, a Distributed switch with multiple ports group, and Shared storage iSCSI.

Before SSL renewal I took a vCenter snapshot.

I want to know if I revert back to the snapshot from the ESXI host of vCenter, Will it cause any issues on virtual machines because we have servers in production and we can't bear downtime?

I need someone suggestions who is an expert. I would really appreciate that.

 

Thanks in Advance.

Reply
0 Kudos
3 Solutions

Accepted Solutions
lukasrueckerl
Enthusiast
Enthusiast
Jump to solution

Hi,

did you take an offline snapshot or did you exclude the VMs memory? Then the vCenter will come up as if it was shut down or crashed. 

Speaking from my experience with similar infrastructure, you won't have a problem. 

The ESX servers and the VMs on them are mostly decoupled from the vCenter and will keep running regardless. Regarding the distributed  switch - even when the vCenter is lost, the ESX servers will keep working with their running configuration.

 

Regards,
Lukas

-------------------------------------------
VCIX-NV + VCIX-DCV 2023
Please mark resolved issues as such. Kudos are appreciated.

View solution in original post

lukasrueckerl
Enthusiast
Enthusiast
Jump to solution

This is taking a snapshot including the VMs RAM contents - if you restore this snapshot the VM will be powered on and running like at the exact time the snapshot was taken.

If you exclude it, the VM will be powered off when restoring, resulting in the VM behaving like it has crashed and rebooted.

The safest option overall though would be to temporarily shut down the vCenter and take an offline snapshot. 

 

Regards,
Lukas

-------------------------------------------
VCIX-NV + VCIX-DCV 2023
Please mark resolved issues as such. Kudos are appreciated.

View solution in original post

lukasrueckerl
Enthusiast
Enthusiast
Jump to solution

No, the VMs will keep on running. The vCenter is only needed for management, the actual VMs, the dVS and the HA configuration will keep functioning.

Regards,
Lukas

-------------------------------------------
VCIX-NV + VCIX-DCV 2023
Please mark resolved issues as such. Kudos are appreciated.

View solution in original post

6 Replies
lukasrueckerl
Enthusiast
Enthusiast
Jump to solution

Hi,

did you take an offline snapshot or did you exclude the VMs memory? Then the vCenter will come up as if it was shut down or crashed. 

Speaking from my experience with similar infrastructure, you won't have a problem. 

The ESX servers and the VMs on them are mostly decoupled from the vCenter and will keep running regardless. Regarding the distributed  switch - even when the vCenter is lost, the ESX servers will keep working with their running configuration.

 

Regards,
Lukas

-------------------------------------------
VCIX-NV + VCIX-DCV 2023
Please mark resolved issues as such. Kudos are appreciated.
hamidsattarrana
Enthusiast
Enthusiast
Jump to solution

I took the snapshot while it's running.

Snapshot the virtual machine memory: yes

Reply
0 Kudos
hamidsattarrana
Enthusiast
Enthusiast
Jump to solution

What does a snapshot of the virtual machine memory do? is it safe to check this option during the snapshot?

I have to renew the SSL because Vcenter was not accessible after the SSL expired date is the 19th of November. So I was thinking of taking another snapshot. 

 

 

Reply
0 Kudos
lukasrueckerl
Enthusiast
Enthusiast
Jump to solution

This is taking a snapshot including the VMs RAM contents - if you restore this snapshot the VM will be powered on and running like at the exact time the snapshot was taken.

If you exclude it, the VM will be powered off when restoring, resulting in the VM behaving like it has crashed and rebooted.

The safest option overall though would be to temporarily shut down the vCenter and take an offline snapshot. 

 

Regards,
Lukas

-------------------------------------------
VCIX-NV + VCIX-DCV 2023
Please mark resolved issues as such. Kudos are appreciated.
hamidsattarrana
Enthusiast
Enthusiast
Jump to solution

If I shutdown vCenter and take snapshot will it cause any impact on virtual machines?

Reply
0 Kudos
lukasrueckerl
Enthusiast
Enthusiast
Jump to solution

No, the VMs will keep on running. The vCenter is only needed for management, the actual VMs, the dVS and the HA configuration will keep functioning.

Regards,
Lukas

-------------------------------------------
VCIX-NV + VCIX-DCV 2023
Please mark resolved issues as such. Kudos are appreciated.