Step 2: Install the java jre for vSphere Replication
Run the following commands:
Note: You might receive this message if directory already exists. Ignore this error and proceed with other commands.
mkdir: cannot create directory `/usr/java': File exists
rm -f /usr/java/latest /usr/java/default
ln -s /usr/java/jre-vmware /usr/java/latest
ln -s /usr/java/latest /usr/java/default
rm -f /usr/bin/java
ln -s /usr/java/default/bin/java /usr/bin/java
rpm -qa | grep studio
You will notice the vmware-studio-vami-cimom_2.6.0.9-3609964_x86_64.rpm file missing from the output.
For the expected output, see the Related Information section of this article.
Step 3: Install the VAMI
Run this command to install the VAMI.
rpm -ivh /tmp/vmware-studio-vami-cimom_2.6.0.9-3609964_x86_64.rpm
Step 4: Reboot the appliance
Note: The jre files attached to zip file in this article can also be copied from ISO for respective build of vSphere Replication.
To browse the files, download the ISO for respective build, mount the ISO to windows machine, and then browse to the update > package-pool folder.
Expected output from each command:
mkdir: cannot create directory `/usr/java': File exists ( This is expected in case directory already exists )
Please ignore and move execute below command
rm -f /usr/java/latest /usr/java/default
ln -s /usr/java/jre-vmware /usr/java/latest
ln -s /usr/java/latest /usr/java/default
rm -f /usr/bin/java
ln -s /usr/java/default/bin/java /usr/bin/java
Preparing... ########################################### [100%]
1:jre ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
localedata.jar...
jfxrt.jar...
Check the VAMI version by running the command:
rpm -qa | grep studio
Output:
vmware-studio-vami-service-core-2.6.0.9-0
vmware-studio-vami-service-system-2.6.0.9-0
vmware-studio-vami-login-2.6.0.9-3609964
vmware-studio-vami-service-update-2.6.0.9-0
vmware-studio-init-2.6.0.9-160505024738
vmware-studio-vami-service-hms-6.1.1.13216-3849281
vmware-studio-appliance-config-2.6.0.9-160505024738
vmware-studio-vami-servicebase-2.6.0.9-3609964
vmware-studio-vami-service-network-2.6.0.9-0
vmware-studio-vami-tools-2.6.0.9-3609964
vmware-studio-vami-lighttpd-2.6.0.9-3609964
----------------------------------------------------------------------------------------------------------------------
rpm -ivh /tmp/vmware-studio-vami-cimom_2.6.0.9-3609964_x86_64.rpm
Output:
Preparing... ########################################### [100%]
1:vmware-studio-vami-cimo########################################### [100%]
Use existing /opt/vmware/lib/libssl.so.1.0.1
Use existing /opt/vmware/lib/libcrypto.so.1.0.1
insserv: Service syslog is missed in the runlevels 4 to use service cgconfig
insserv: Service network is missed in the runlevels 4 to use service hms-vpostgr
vami-sfcb 0:off 1:off 2:off 3:on 4:off 5:on 6:off