Posted by Marek.Z on 3 May 2012
In the previous part I created a database and an ODBC connection for the deployment of SRM 5. In this part we will focus on the installation process of SRM 5 which is quite straightforward if all of the prerequisites are met. After the installation we will have to download and enable the VMware vCenter Site Recovery Manager Extension plug-in for administration of SRM 5.
- Login to the vCenter Server, locally or through RDP, on the Protected Site and start the installation wizard.
- Click Next and Next again. Accept the EULA and click on Next.
- Accept the default installation folder or change it if you like. Click Next to proceed.
- Select “Install vSphere Replication” and click Next.
- Provide the vCenter Server credentials for the Protected Site and click Next to proceed.
- Accept the Security Warning and select “Automatically generate a certificate” in the Certificate Type Selection window. Click Next to proceed.
- Enter the Organization name and Unit in the Certificate Generation window. Click Next.
- Fill in the required information in the VMware vCenter Site Recovery Manager Extension window. In the Local Site Name, make sure you provide a suggestive name so you can easily track it back if necessary. Provide an e-mail where administrative alerts and notifications will be send (mandatory). Select the IP address from Local Host drop down menu and click Next.
- In the Database Configuration window, select SQL Server as the Database Client. For the Data Source Name, provide the name of the ODBC connection created in step 2 of the ODBC connection setup and the credentials of the database user (i.e. srmadmin) created in step 4 of the database setup. Click Next to start the installation.
- Wait until the installation is completed and you are done!
Repeat the steps above for the vCenter Server in the Recovery Site.
Next step is to download and install the vCenter Server SRM Manager Extension plug-in.
- Open the vSphere Client and login to the vCenter Server on the Protected Site.
- Navigate to Plug-ins menu and open the Plug-in Manager.
- As you can see, the VMware vCenter Site Recovery Manager Extension is available for download and installation. Click on the Download and Install link.
- Install the certificate and click on Ignore.
- When download is finished, click on Run to install the plug-in.
- Follow the steps in the installation wizard and click Finish to complete the installation.
- Click on Close to close the plug-in manager window.
- Go to Home in the vSphere Client. The SRM 5 plug-in should now be visible under Solutions and Applications.
Remember to install the plug-in also on the vCenter Server at the Recovery Site. Proceed to part 3 where we will connect the Protected Site to the Recovery Site.
Posted in Site Recovery Manager, SRM 5, vCenter, VMware, vSphere 5 | Tagged: installation, Site Recovery Manager, SRM5, VMware | Leave a Comment »
Posted by Marek.Z on 1 May 2012
The last couple of weeks I have been playing around with VMware vCenter Site Recovery Manager 5 in my home lab after attending the vCenter Site Recovery Manager: Install, Configure, Manage course. As you all probably know, SRM is an end-to-end disaster recovery product that automates the recovery of VMs that reside on replicated LUNs. The version 5 of SRM comes with vSphere Replication (VR for short) which is a technique that copies the VMs from one host to another. In the next blog posts I will give you a quick start tutorial of SRM 5 with VR.
As you can see in the drawing below, I have built 2 sites for testing purposes, Site A is the Protected Site and Site B is the Recovery site.
The installation process of SRM 5 is quite straight forward but the database and the ODBC connection must be set up first.
Before the installation you have to create a database and an ODBC connection for the deployment of SRM 5. I used the Microsoft SQL Server 2008 R2 Express which was installed during the vCenter Server installation. Make sure you have the SQL Management Tools installed on your system.
- Before creating the database, open the SQL Server Configuration Manager and under the SQL Server Network Configuration -> Protocols, edit the properties of TCP/IP. Make sure that all IP addresses are active and enabled. Verify that no TCP Dynamic Ports are assigned and the default TCP/IP port is set to 1433. Check Windows Firewall if TCP port 1433 is allowed for inbound connection.
- Start the SQL Server Management Studio and edit the properties of the SQL Server. Select Security and set the Server Authentication to SQL Server and Windows Authentication mode. Click OK to save the settings, exit the SQL Server Manager and restart the SQL Server Service.
- Open the SQL Server Management Studio again, right click on Database and select New Database. Provide a suggestive name (i.e. SRMBD) and leave all setting to default. Click OK to create the database.
- Next, create a user account that will be accessing the SRM database. Go to Security and right click Logins, select New Login. Provide a suggestive name (i.e. srmadmin), set the authentication to SQL Server and provide a password. Un-check the “Enforce password expiration” option. Select Server Roles in the left side pane and verify that Public is selected. Proceed to User Mapping and select your SRM database created in step 3. Make sure DB_Owner and Public are selected as the database role membership. Click OK.
- Go to your SRM database, expand Security, right click Schemas and select New Schema. Enter a name for the schema (Note: the schema name must be the same as the database user name, in this case: srmadmin) and enter the name of the user created in step 4. Click OK.
- Next, expand the Users under Security of your database. Edit the properties of the user account created in step 4 (i.e. srmadmin) and change the default schema to the one created is step 5. Click OK and close the SQL Server Management Studio.
SRM 5 uses 32-bit ODBC connection. You can open the odbcad32.exe from the %SystemRoot%\SysWOW64 folder.
- In the ODBC Data Source Administrator, select System DSN and click on the Add button. Scroll down and select the SQL Server Native Client. Click Finish.
- Provide a name for the data source (i.e. SRM) and select the server from the pull down menu. Click Next.
- Change the authentication to SQL Server and provide the username and password created in step 4 of the database creation (i.e. srmadmin). Click Next.
- In the next window, change the Default Database to the one created in step 3 of the database creation. Click Next.
- Leave all settings to default and click Finish.
- Click on Test Data Source to test the connection to the database. Click OK to close the ODBC Administrator.
The environment is now ready for SRM 5 installation. Repeat these steps for the Recovery Site. Continue to part 2, the installation of SRM 5.
Posted in Site Recovery Manager, SRM 5, vCenter, VMware, vSphere 5 | Tagged: database, ODBC, setup, SRM5, VMware | 11 Comments »