vcheck risks

pma111
pma111 used Ask the Experts™
on
I have been made aware of the vcheck script that apparently is a "godsend" for admins. Based on the output of a script, are some of the issues its reporting on more improtant to an admin than others. If you review the script:
 http://www.virtu-al.net/featured-scripts/vcheck/

as vmware admins, could you perhaps share the top 5 checks of concern that the script is checking for, i.e. if the script is finding issues in these 5 checks we are at high risk. Some of the checks are just general information. Others seem to list performance/configuration issues. Id like to know which are more riskys performance/config warnings based on your view. There is a section on "What is checked for ?" which lists:

General Details
Number of Hosts
Number of VMs
Number of Templates
Number of Clusters
Number of Datastores
Number of Active VMs
Number of Inactive VMs
Number of DRS Migrations for the last days
Snapshots over x Days old
Datastores with less than x% free space
VMs created over the last x days
VMs removed over the last x days
VMs with No Tools
VMs with CD-Roms connected
VMs with Floppy Drives Connected
VMs with CPU ready over x%
VMs with over x amount of vCPUs
List of DRS Migrations
Hosts in Maintenance Mode
Hosts in disconnected state
NTP Server check for a given NTP Name
NTP Service check
vmkernel warning messages ov the last x days
VC Error Events over the last x days
VC Windows Event Log Errors for the last x days with VMware in the details
VC VMware Service details
VMs stored on datastores attached to only one host
VM active alerts
Cluster Active Alerts
If HA Cluster is set to use host datastore for swapfile, check the host has a swapfile location set
Host active Alerts
Dead SCSI Luns
VMs with over x amount of vCPUs
vSphere check: Slot Sizes
vSphere check: Outdated VM Hardware (Less than V7)
VMs in Inconsistent folders (the name of the folder is not the same as the name)
VMs with high CPU usage
Guest disk size check
Host over committing memory check
VM Swap and Ballooning
ESXi hosts without Lockdown enabled
ESXi hosts with unsupported mode enabled
General Capacity information based on CPU/MEM usage of the VMs
vSwitch free ports
Disk over commit check
Host configuration issues
VCB Garbage (left snapshots)
HA VM restarts and resets
Inaccessible VMs
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
As part of our Top 50 Daily Checks.....we look at

1. Snapshots present on VMs - Dangerous leads to VM out of service
2. Datastores with less than x% free space  - Dangerous leads VMs out of service
3. VMs with high CPU usage
4. VM High Memory
5. Number of DRS Migrations  - Capacity issues

The above would concern us, in terms of SERVICE Delivery.

Author

Commented:
Thanks

Could you elaborate on point 1 in laymans terms for someone new to virtualisation/vmware.

And 5, what is a DRS migration, and why would it occur?

Author

Commented:
has your top 100 gone down to a top 50 :)
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

Author

Commented:
And some more laymans details on 2 would be a BIG help
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
number of health checks depends on many things.

it takes two hours to complete every day. When Ops start their shift.

1. Snapshots can be left after a backup, use all the space on datastore, VM fails.

2. Distributed Resource Sceduler, load balances a cluster, but on some occasions, it could move vms between hosts constantly, causing CPU high usage on host, snapshot issues on VM
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
no disk space on datastore, VMs fail

Author

Commented:
1) What would be a dangerous watermark in terms of available disk space on a datastore?

2) Can you set alarms on data-stores to see when they are getting close to capacity, would this be done in vcenter?

3) If a datastore is getting close to capacity, what will an admin do, if theres no obvious free space to free up?

PS - in terms of vcenter alarms, how do they alarm you, is it via an email or something?

Thanks again..

Author

Commented:
>>3. VMs with high CPU usage
4. VM High Memory


What kinds of issues would cause the above, if the VM has not previously had a history of high CPU usage and memory usage.And when the above happens, what can/should/would an admin do about it?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
1. we work on 20% free space on a datastore

2. yes, vCenter can alarm, Warning and Alert

3. Good Administration, should not happen. Create another datastore, move VM,mDiagnose why the datastore space is low.

4. Virus Outbreak, bad SQL query, windows backup running, windows update running, spam attack on Exchange server, I could go on....

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial