VMware vSphere Replication

VMware vSphere Replication is a virtual machine data protection and disaster recovery solution which is fully integrated with vCenter Server and vSphere Web Client.

vSphere Replication delivers flexible, reliable and cost-efficient host-based, asynchronous replication of virtual machines to enable data protection and disaster recovery for the virtual machines in your VMware environment.

vSphere Replication is a proprietary replication engine developed by VMware that is included with VMware vSphere Essentials Plus Kit and higher editions of VMware vSphere, VMware vSphere with Operations Management editions, and VMware vCloud Suite editions.

Deployment and configuration of vSphere replication are easy and straight forward.

Download Banner

In this article, we’ll look at how to reset the root password on VMware vSphere Replication.

There may be cases like where the replication appliance password is forgotten or the account is locked due to unsuccessful multiple account. In this case, you have to reset the root account password to access the appliance.

vsphere replication reset root password

Before moving to the procedure, you must understand one important point of vSphere Replication Appliance: From version 8.1, the operating system has been changed from SUSE Linux Enterprise Server (SLES) to Photon.

With Photon OS, there are many advantages that made the vSphere replication more flexible and useful for customers. Photon OS is a lightweight Linux distribution optimized for vSphere with a security-hardened kernel. It provides enhanced security, stability and makes upgrades and patching the appliance easier which helps customers to keep their solution more secure, stable.

Even the root account is locked, the vSphere Replication console is accessible from vSphere Web Client using administrator@vsphere.local or through the account you have integrated with the vCenter server. However, you will need the root account to do any modification of configuration.

Open Site Recovery -> Option to access Site Recovery Console

Configure -> Open the vSphere replication configuration Page

vsphere replication reset root password

Reset the Root Password of vSphere Replication Appliance

Step 1: Shutdown vSphere replication appliance from the vSphere web client

  • Right-click on the vSphere Replication Appliance and select Shut Down Guest OS

vsphere replication reset root password

Step 2: Power on vSphere replication appliance and from the Photon OS screen press ‘e’ to enter GNU GRUB edit menu

vsphere replication reset root password

Note: The Photon OS screen only appears very quickly so you have to press the “e” quickly.

GNU GRUB menu will look like below and you have to make changes and boot to reset the password

vsphere replication reset root password

Step 3: Type rw init=/bin/bash at the end of the line that starts with Linux.

vsphere replication reset root password

Step 4: Then, mount the partition using below command
mount -o remount, rw /

Step 5: Press F10 key and enter passwd to change the password of the root account.

Type the new password and again retype to confirm.

Note: Make sure you are not using the password that is used earlier. If the password is already used, you will be prompted with an error to choose another password.

vsphere replication reset root password

Step 6: Unmount the file system using the below command
umount /

Step 7: Reboot the appliance
Reboot -f

vsphere replication reset root password

After the vSphere replication appliance reboots, login with the new root password

vsphere replication reset root password

Follow our Twitter and Facebook feeds for new releases, updates, insightful posts and more.

Like what you read? Rate us
How to Reset root password on VMware vSphere Replication 8.X
5 (100%) 2 votes