EMC RecoverPoint for VMs ESXi Splitter Installation
The following steps detail the installation of the ‘EMC RecoverPoint for VMs’ Splitter VIB on ESXi hosts. The requirement is to Install the ‘RP for VMs’ splitter on each ESXi […]
Virtualization & Storage
The following steps detail the installation of the ‘EMC RecoverPoint for VMs’ Splitter VIB on ESXi hosts. The requirement is to Install the ‘RP for VMs’ splitter on each ESXi […]
The following steps detail the installation of the ‘EMC RecoverPoint for VMs’ Splitter VIB on ESXi hosts. The requirement is to Install the ‘RP for VMs’ splitter on each ESXi server hosting VMs that require RP protection. The recommendation is to allow 800MB of RAM per ESXi host for the RP4VM Splitter.
Note:
Begin by ensuring that SSH is enabled on the ESXi hosts where the splitter will be installed in order to issue the ESXCLI cmds (After completing the splitter install then SSH may be disabled).
Using WINSCP to securely copy over the RP splitter VIB to /tmp:
Change directory to /tmp where the VIB has been copied to and ensure the VIB is present:
cd /tmp
ls -l
du -ah
Run the installation of the VIB file on ESXi host:
# esxcli software vib install –v kdriver_RPESX-00.4.3.0.1.0.c.122_md5_d4e7e95a89e74c7ca17be8f4344830b8.vib –no-sig-check
Retrieve the names of the packages installed on the vSphere host confirming the splitter installation:
# esxcli software vib list
# esxcli software vib list | grep RP
Note: VIB stands for vSphere Installation Bundle
PowerCLI Script:
##########################################################
# RP4VM Splitter Install Version 1.0
# Date: 2016-04-08
# Created by: David Ring
##########################################################
############# vCenter Connectivity Details ################
Write-Host “Please enter the vCenter Host IP Address:” -ForegroundColor Yellow -NoNewline
$VMHost = Read-Host
Write-Host “Please enter the vCenter Username:” -ForegroundColor Yellow -NoNewline
$User = Read-Host
Write-Host “Please enter the vCenter Password:” -ForegroundColor Yellow -NoNewline
$Pass = Read-Host
Connect-VIServer -Server $VMHost -User $User -Password $Pass
####### Please enter the Cluster to install RP4VM Splitter #######
Write-Host “Clusters Associated with this vCenter:” -ForegroundColor Green
$VMcluster = ‘*’
ForEach ($VMcluster in (Get-Cluster -name $VMcluster)| sort)
{
Write-Host $VMcluster
}
Write-Host “Please enter the Cluster to install RP4VM Splitter:” -ForegroundColor Yellow -NoNewline
$VMcluster = Read-Host
################# Enabling SSH ######################
Write-Host “Enabling SSH on all hosts in your specified cluster:” -ForegroundColor Green
Get-Cluster $VMcluster | Get-VMHost | ForEach {Start-VMHostService -HostService ($_ | Get-VMHostService | Where {$_.Key -eq “TSM-SSH”})}
############ Please enter the VMFS datastore #############
Write-Host “From the list provided – Please enter the VMFS datastore where the VIB has been uploaded to:” -ForegroundColor Green
$Datastore = ‘*’
ForEach ($Datastore in (Get-Datastore -name $Datastore)| sort)
{
Write-Host $Datastore
}
Write-Host “Please enter the VMFS datastore Name:” -ForegroundColor Yellow -NoNewline
$Datastore = Read-Host
########## Please enter the VIB name ##########
Write-Host “Please enter the VIB name e.g. kdriver_RPESX-00.4.3.0.1.0.c.122_md5_d4e7e95a89e74c7ca17be8f4344830b8.vib:” -ForegroundColor Yellow -NoNewline
$VIB = Read-Host
########## Installing RP4VM Splitter ###########
Write-Host “Installing RP4VM Splitter” -ForegroundColor Green
$hosts = Get-Cluster $VMcluster | Get-VMHost
foreach($vihost in $hosts)
{
$esxcli = get-vmhost $vihost | Get-EsxCli
$esxcli.software.vib.install($null,$false,$false,$false,$false,$true,$null,$null,”/vmfs/volumes/$Datastore/$VIB”)
}
###### Confirm Splitter Installed Successfully #######
Write-Host “Confirm Splitter Installed Successfully” -ForegroundColor Green
$hosts = Get-Cluster $VMcluster | Get-VMHost
forEach ($vihost in $hosts)
{
$esxcli = get-vmhost $vihost | Get-EsxCli
$esxcli.software.vib.list() | Where { $_.Name -like “*RP*”} | Select @{N=”VMHost”;E={$ESXCLI.VMHost}}, Name, Version
}
####### Enter each host in maintenance mode and reboot (use with caution!) #######
Write-Host “Enter all Cluster hosts in maintenance mode and reboot (use with caution!)” -ForegroundColor Yellow -NoNewline
Write-Host ” Y/N:” -ForegroundColor Red -NoNewline
$Reboot = Read-Host
if ($Reboot -eq “y”) {
$hosts = Get-Cluster $VMcluster | Get-VMHost
forEach ($vihost in $hosts)
{
$esxcli = get-vmhost $vihost | Get-EsxCli
$esxcli.system.maintenanceMode.set($true)
$esxcli.system.shutdown.reboot(10,”RP4VM Splitter”)
}
}
######## Disabling SSH #########
Write-Host “Disabling SSH” -ForegroundColor Green
Get-Cluster $VMcluster | Get-VMHost | ForEach {Stop-VMHostService -HostService ($_ | Get-VMHostService | Where {$_.Key -eq “TSM-SSH”}) -Confirm:$FALSE}
######### RP4VM INSTALLATION COMPLETE #########
Write-Host “RP4VM INSTALLATION COMPLETE” -ForegroundColor Green
Ramblings by Keith Lee
Discussions about all things VxRail.
Random Technology thoughts from an Irish Virtualization Geek (who enjoys saving the world in his spare time).
Musings of a VMware Cloud Geek
Converged and Hyper Converged Infrastructure
'Scamallach' - Gaelic for 'Cloudy' ...
Storing data and be awesome
Best Practices et alia
Every Cloud Has a Tin Lining.
Hi David
Good article as per usual. One question which is the obvious to me, but why is the VIB installation not supported by VMware Update Manager( VUM)? This should be the default deployment method for any VIB you would think. Also when is VUM support expected for the VIB deployment as well?
Thanks
DAvid
Thanks David
Great question, the use of VUM for the VIB install is on the roadmap and I will report back with dates once I have confirmed with product mgmt.
All the best.
David
Great article David! #EMCer #EMCstrong
Thanks Ryan
esxcli system maintenanceMode set -e=true