When you click Save and Restart in the virtual appliance management interface (VAMI) of vSphere Replication, the HMS service cannot start, and you can no longer manage replications.

Problem

If you use the virtual appliance management interface (VAMI) to install a new SSL certificate, to change the IP address of the VRM host, or apply another setting on the VR tab, and you click Save and Restart, the following error message appears:

 Missing command-line argument.

Cause

The OVF environment of the vSphere Replication appliance might be missing or corrupted.

Procedure

  1. Establish an SSH connection to the vSphere Replication appliance and navigate to /opt/vmware/etc/vami/.
  2. Open the ovfEnv.xml.
    1. If the ovfEnv.xml file is not empty, search for the vServiceEnvironmentSection element. If the vServiceEnvironmentSection element is missing, there might be a problem with the vCenter Management Web Services process on the vCenter Server machine. Verify that the vCenter Management Web Services is running on the vCenter Server machine and then try powering the vSphere Replication appliance off and on. To power the appliance off and on, use the vSphere Web Client while you are connected to the vCenter Server, and not directly to the ESXi host.
    2. If the ovfEnv.xml file is empty, try to power off and on the vSphere Replication appliance by using the vSphere Web Client while you are connected to the vCenter Server, and not directly to the ESXi host.
  3. If powering the vSphere Replication appliance does not resolve the issue, most certainly the appliance has been temporarily removed and re-added in the vCenter Server. There is no solution for restoring the OVF environment in that case. You must re-deploy the vSphere Replication appliance by using an empty database, and configure all replications from scratch.