VMware Cloud Community
Dileep84
Contributor
Contributor
Jump to solution

How to check how long a VM is turned off in vSphere

How to check how long a VM is turned off in vSphere

Reply
0 Kudos
1 Solution

Accepted Solutions
DonData
Contributor
Contributor
Jump to solution

Yea with you on that, check out the vmware.log file in datastore folder where the VM is located.


---------------------------------------------------------------------------------------------------------------

Kudos are welcome and returned! Twitter@DonLowYH

View solution in original post

Reply
0 Kudos
8 Replies
Sachchidanand
Expert
Expert
Jump to solution

One way is to go to datastore and check the last updated date and time of VM's files specially .nvram

Regards,

Sachcidanand

Reply
0 Kudos
DonData
Contributor
Contributor
Jump to solution

Yea with you on that, check out the vmware.log file in datastore folder where the VM is located.


---------------------------------------------------------------------------------------------------------------

Kudos are welcome and returned! Twitter@DonLowYH

Reply
0 Kudos
Dileep84
Contributor
Contributor
Jump to solution

No It is wrong, as i observed one vm is in power off mode since more than one month but data staore log file it is showing recent date. so any command is there to check the details

Reply
0 Kudos
DonData
Contributor
Contributor
Jump to solution

Well, it really depends on what you are after for a VM that is powered off?

Check out LucD's notes @ https://www.lucd.info/2011/02/27/virtual-machine-logging/


---------------------------------------------------------------------------------------------------------------

Kudos are welcome and returned! Twitter@DonLowYH

Reply
0 Kudos
Dileep84
Contributor
Contributor
Jump to solution

 Is it mandatory to assign public IP to vCenter Appliance or if already public IP assigned can we remove, please suggest

 

Already public IP is assigned to vcenter appliance & also local IP is assigned so if we remove the public IP is there any impact?

Reply
0 Kudos
Sachchidanand
Expert
Expert
Jump to solution

The most important thing is to protect your infra and update your product to latest version to make it less vulnerable. So private ip with NAT is good idea as it will reach to internet and take update from there. If vcenter is your in-house product, not deployed in a public space, I don't think it's a good idea to have a public ip.

Regards,

Sachchidanand

Reply
0 Kudos
Dileep84
Contributor
Contributor
Jump to solution

Thanks for the information so i just want to know if i remove the public IP assigned to vcenter appliance is there any impact..? any have local IP is assigned to vcenter appliance.. please confirm. 

Reply
0 Kudos
Sachchidanand
Expert
Expert
Jump to solution

Removing public ip will not impact on vCenter. Just to check local ip have internet access if you want to download update directly or you have to use proxy to reach internet.

Regards,

Sachchidanand