Archive for March, 2017

vSphere Update Manager (VUM) is a tool which enabled VMWare administrators to automate and streamline process of applying updates to vSphere environment.VUM is integrated to vCenter server  and offers the ability to scan and remediate ESXi hosts.

In this example i used SQL server database (192.168.0.6) for storing updates,VUM will be installed on separate Windows Server 2016 machines (192.168.0.45)

Configuring SQL server

VMWare requires using SQL server login when SQL database is on separate server,so first thing is to create SQL server login:

In SQL server management studio Expand security-Right Click Login-New Login

 

1.png

 

 

2.PNG

 

Creating  VUM database

Right click Database-New Database

 

3

Set owner to SQL login

4.PNG

Set SQL login to be owner to MSDB database too (required during VUM installation)

1-1-3.PNG

 

Enable SQL Authentication

1-0.PNG

Check if Named Pipe,Shared Memory and TCP/IP is enabled,if not,enable it and restart MSSQL service

 

5

Using SQL server management studio try to log in using SQL server login,you should be prompted for new password

 

6

 

 

After we configured SQL server,now it’s time to configure server where VUM will be installed:

 

Configuring VUM server

Install appropriate ODBC driver (on my SQL server ODBC 11 driver is installed),so i need to install the same driver on VUM server

 

1-1-1.PNG

Creating connection to SQL server VUM database

Create ODBC connection (must select 32 bit version)

 

7.png

 

Select System DSN-Add

8

Select ODBC Driver 11

 

1-0.PNG

Enter Connection Name and name/IP of SQL server and click next

 

10.PNG

Enter SQL login credentials

11.PNG

From drop-down list select VUM database

 

12.PNG

Test connection and click OK

 

13

 

Installing VUM

Mount vCenter Server ISO,on Auto-Run windows select vSphere Update Manager-Server

2.png

Enter vCenter IP Address/hostname and vCenter credentials

3

Enter ODBC name (we created in in previous steps)

4.PNG

Enter SQL login

5

Leave default or enter custom ports (installation routine will open these ports on VUM server)

 

6.PNG

After installation finishes, Update Manager should be visible in vCenter Sever

13.png

 

Click Update Manager-icon with IP address of VUM server should appear-click on it-Manage-Settings-Download Settings-Download Now

 

Capture.PNG

We can monitor download progress from VUM server

 

7

 

8.PNG

 

9.png

 

vSphere Replication is solution for VM protection ,it’s integrated in vCenter server.Using vSphere Replication we can replicate VM from one datastore to another.

Features:

• Protect nearly any virtual machine regardless of operating system (OS) and applications. • Only changes are replicated, which improves efficiency and reduces network utilization.
• Recovery point objectives (RPOs) range from 15 minutes to 24 hours and can be configured on a per–virtual machine basis..
• Compatibility is provided with VMware Virtual SAN™, traditional SAN, NAS, and local storage.
• Quick recovery for individual virtual machines minimizes downtime and resource requirements.
• Optional network isolation and compression help secure replicated data and further reduce network bandwidth consumption.
• Support for Microsoft Volume Shadow Copy Service (VSS) and Linux file system quiescing improves reliability of recovered virtual machines.

Replication appliance is located on VMWare vSpehere Replication ISO.

Connect to vCenter server,Right-click to datacenter-Deploy OVF template

 

1 (1).png

Local File-Browse

 

1.PNG

Select OVF file from ISO (bin folder)

2

 

 

 

3.png

Accept License Agreement-click Next-Select Datacenter

4.png

Choose vCPU number

 

5.PNG

Choose ESXi  which will host Replication Appliance

 

6.PNG

Select Datastore

7.PNG

Specify network settings

 

8.PNG

Set root password,NTP servers and appliance IP

9.PNG

 

10.PNG

 

11.PNG

After some minutes Appliance should be deployed

12.PNG

 

Log in to vCenter Replication Appliance using web browser (http://ipaddress:5480/

If VRM service is stopped,go to Configuration,enter vCenter username and password click Save and Restar Service

 

13.PNG

Click yes

 

14.PNG

In vCenter server you should be able to see vSphere Replication

 

Capture.PNG

and new context menu should appear when right click on VM:

1.PNG

 

In case you don’t see vSphere Replication,try first to reboot vSphere Replication appliance,if it fails,reboot vCenter Server,if it fails too reboot ESXi host (this helpled in my case 🙂 )

If all fail check log file on vCenter Server,vsphere_client_virgo.log stored in /var/log/vmware/vsphere-client/logs/