Author: Noel Alvarez

Dell – Get Service Tag

You may use the command below, from Microsoft Windows Powershell or command prompt, to retrieve the service tag of a Dell device.

wmic bios get serialnumber


VMware vSphere Update Manager 6.0 – Remediating a VMware ESXi 6.0 Host

The following is a step by step guide for remediating (i.e. patching) a VMware ESXi 6.0 host.

  1. On the home page of the VMware vSphere Client select Hosts and Clusters.01
  2. Select a VMware ESXi 6.0 host from the inventory tree on the left.02
  3. Select the Update Manager tab on the VMware vSphere Client.03
  4. Click Remidiate… in the lower right portion of the Update Manager tab.
  5. On the Remediation Selection dialog box select the baselines or baseline groups to apply and click Next >.05
  6. On the Patches and Extensions dialog box deselect any patches you would like to exclude then click Next >.05
  7. On the Schedule dialog box enter a Task Name:, Task Description: and Remediation Time: then click Next >.07
  8. On the Host Remediation Options dialog box accept the default settings and click Next >.08
  9. On the Ready to Complete dialog box review the configuration settings and click Finish.09
  10. Review the Recent Tasks pane to verify the host was remediated.10
  11. Verify the host is compliant on the Update Manager tab.11

VMware vSphere Update Manager 6.0 – Staging Patches

The following is a step by step guide for staging patches to VMware ESXi 6.0 hosts. This is a useful feature if your VMware ESXi 6.0 hosts are located across lethargic wide area network (WAN) links.

  1. On the VMware vSphere Client home page select Hosts and Clusters.01
  2. From the inventory list select a VMware ESXi 6.0 host.02
  3. On the content area of the VMware vSphere Client select the Update Manager tab.03
  4. On the Update Manager tab content area click Stage….
  5. On the Baseline Selection dialog box select the baselines for the patches to be staged and click Next >.04
  6. On the Patch and Extension Exclusion dialog box deselect any patches or extension you would not like to be staged and click Next >.06
  7. On the Ready to Complete dialog box click Finish to being staging the patches.07
  8. View the Recent Tasks pane to verify the patches have been staged.08

VMware vSphere Update Manager 6.0 – Scanning a VMware ESXi 6.0 Host

The follow is a step by step guide for performing a VMware vSphere Update Manager 6.0 scan on a VMware ESXi 6.0 host.

  1. On the home page of the VMware vSphere Web Client select the Hosts and Clusters view.01
  2. On the inventory tree select the VMware ESXi 6.0 host you would like to scan.02
  3. On the content area of the VMware vSphere Web Client select the Monitor tab then select Update Manager.03
  4. On the content area of the Update Manager section click Scan….
  5. On the Confirm Scan dialog box select both check boxes and click OK.05
  6. On the Recent Tasks pane verify that a Scan entity task completed.06
  7. Review the Update Manager tab to verify if the VMware ESXi 6.0 host is compliant or non-compliant with the attached baseline.07

VMware vSphere Update Manager 6.0 – Attaching a Baseline to a VMware ESXi Host

The following is a step by step guide for attaching a vSphere Update Manager 6.0 baseline to a VMware ESXi 6.0 host.

  1. On the VMware vSphere Web Client home page select Hosts and Clusters.01
  2. On the inventory tree select the VMware ESXi 6.0 host you would like to attach the baseline to.02
  3. On the content area of the VMware vSphere Web Client select the Monitor tab then select Update Manager.03
  4. On the content area of the Update Manager section click Attach….
  5. On the Attach Baseline or Group dialog box select the Individual Baseline or Baseline Groups of your choice then click OK.05
  6. On the content area of the Update Manager verify the baseline is listed under the Attached Baselines: list.06

VMware vSphere Update Manager 6.0 – Create a Dynamic Baseline

The following is a step by step guide for creating VMware vSphere Update Manager 6.0 dynamic baseline. A dynamic baseline is updated dynamically and may be used to verify that your vSphere infrastructure is up to date or out or date, regarding patches.

  1. On the vSphere Client home page under Solutions and Applications click Update Manager.01
  2. On the Update Manager Administration page click the Baseline and Groups tab and View Baselines for: Hosts.02
  3. On the Baselines section click Create….
  4. On the Baseline Name and Type dialog box enter a name for the baseline and select the check box for Host Patch, then click Next >.04
  5. On the Patch Options dialog box select Dynamic and click Next >.05
  6. On the Criteria dialog box select the criteria and click Next >.06
  7. On the Patches to Exclude dialog box select any patches to exclude and click Next >.07
  8. On the Additional Patches dialog box select any patches that did not meet the criteria of step (6) but you would like to include and click Next >.08
  9. On the Ready to Complete dialog box click Finish.09
  10. On the Baselines and Groups tab verify the baseline has been created.10

VMware vSphere Update Manager 6.0 – Installing the vSphere Update Manager Client

The following is a step by step guide for installing the vSphere Update Manager Client.

  1. On the vSphere Client navigate to Plug-ins > Manage Plug-ins….01
  2. On the Plug-in Manager dialog box click the blue Download and Install link to install the VMware vSphere Update Manager Extension.02
  3. On the Open File – Security Warning dialog box click Run.03
  4. On the VMware vSphere Update Manager Client 6.0a – InstallShield … dialog box click OK.04
  5. On the VMware vSphere Update Manager Client 6.0a dialog box click Next >.05
  6. On the End User License Agreement dialog box select the check box for I accept the terms in the license agreement and click Next >.06
  7. On the Read to Install the Program dialog box click Install.07
  8. On the InstallShield Wizard Completed dialog box click Finish.08
  9. On the Plug-in Manager dialog box verify the VMware vSphere Update Manager Extension is Enabled.09

VMware vCenter Server 6.0 – Verify the Status of Critical Services

The script below will query the status of the VMware VirtualCenter Server (vpxd), VMware Inventory Service (invsvc) and VMware vSphere Web Client (vspherewebclientsvc) services on the specified server hosting an instance of VMware vCenter Server 6.0.

<#
.SYNOPSIS
This script will provide the status of the VMware VirtualCenter Server (vpxd), VMware Inventory Service (invsvc) and VMware vSphere Web Client (vspherewebclientsvc) services on VCENTER01.ROOT.SYSADMIN.NET.
.DESCRIPTION
This script will automate the process of providing the status of the VMware VirtualCenter Server (vpxd), VMware Inventory Service (invsvc) and VMware vSphere Web Client (vspherewebclientsvc) services on VCENTER01.ROOT.SYSADMIN.NET.
.EXAMPLE
N/A.
.AUTHOR
Written by Noel Enrique Alvarez on Friday, March 25, 2016.
#>

#Query the status of the VMware VirtualCenter Server (vpxd), VMware Inventory Service (invsvc) and VMware vSphere Web Client (vspherewebclientsvc) services on VCENTER01.ROOT.SYSADMIN.NET
Get-Service -ComputerName VCENTER01 | Where-Object {$_.name -eq “vpxd”}
Get-Service -ComputerName VCENTER01 | Where-Object {$_.name -eq “invsvc”}
Get-Service -ComputerName VCENTER01 | Where-Object {$_.name -eq “vspherewebclientsvc”}


VMware vCenter Server 5.0 – Verify the Status of Critical Services

The script below will query the status of the VMware Virtual Center Server (vpxd) and vCenter Inventory Service (vimQueryService) services on the specified server hosting an instance of VMware vCenter Server 5.0.

<#
.SYNOPSIS
This script will provide the status of the VMware Virtual Center Server (vpxd) and vCenter Inventory Service (vimQueryService) services on VCENTER01.ROOT.SYSADMIN.NET.
.DESCRIPTION
This script will automate the process of providing the status of the VMware Virtual Center Server (vpxd) and vCenter Inventory Service (vimQueryService) services on VCENTER01.ROOT.SYSADMIN.NET.
.EXAMPLE
N/A.
.AUTHOR
Written by Noel Enrique Alvarez on Friday, March 25, 2016.
#>

#Query the status of the VMware Virtual Center Server and vCenter Inventory Service services on VCENTER01.ROOT.SYSADMIN.NET
Get-Service -ComputerName VCENTER01 | Where-Object {$_.name -eq “vpxd”}
Get-Service -ComputerName VCENTER01 | Where-Object {$_.name -eq “vimQueryService”}


vSphere Update Manager 6.0 – Installation

The following is a step by step guide for installing vSphere Update Manager (VUM) 6.0.

  1. On the VMware vCenter Installer dialog box select Server under the vSphere Update Manager section and click Install. Additionally, this is a lab environment so Microsoft SQL Server 2012 Express will be utilized.01
  2. On the VMware vCenter Installer dialog box click No.02
  3. On the VMware vSphere Update Manager – InstallShield … dialog box select a language and click OK.03
  4. On the VMware vSphere Update Manager dialog box click OK.04
  5. On the Welcome to the InstallShield Wizard for VMware vSphere Update Manager dialog box click Next >.05
  6. On the License Agreement dialog box select the check box for the option that states I accept the terms in the license agreement and click Next >.06
  7. On the Support Information dialog box accept the default settings and click Next >.07
  8. On the vCenter Server Information dialog box enter the information for an instance of vCenter Server and click Next >.08
  9. On the VMware vSphere Update Manager Port Settings dialog box select the hostname or Internet Protocol (IP) address from the drop down box and click Next >.09
  10. On the Destination Folder dialog box change the drive letters to E: and click Next >.10
  11. On the Ready to Install the Program dialog box click Install.11
  12. On the InstallShield Wizard Completed dialog box click Finish.12