You can install VMware Infrastructure Toolkit (VI Toolkit)
on a Junos Space virtual appliance deployed on a VMware Elastic Sky
X (ESX) server or an ESXi server to enable the System Snapshot feature
in Junos Space Network Management Platform.
The System Snapshot feature enables you to create a snapshot
of the system state and roll back the system to a predefined state.
Note: If you have a fabric consisting of only virtual appliances,
then VI Toolkit for Perl must be installed on all nodes of the fabric
for the System Snapshot functionality to be enabled on Junos Space
Platform.
To install VI Toolkit for Perl on a Junos Space virtual
appliance deployed on an ESX or an ESXi server:
- Open https://www.vmware.com/support/developer/viperltoolkit/ in a web browser.
The VMware vSphere SDK for Perl Documentation page is displayed.
- Select the release VI Perl Toolkit 1.6 from
the drop-down list.
- Click the Download link.
You are redirected to the VMware login page.
- If you are not a registered user, click Register.
You are redirected to the registration page. Follow the prompts
on the registration page and activate your account.
- Log in using your VMware credentials.
The VMware Infrastructure Perl Toolkit page opens, displaying
a list of different packages of VI Perl Toolkit 1.6.
- From the list, click the Download Now button
for the VMware-VIPerl-1.6.0-104313.x86_64.tar.gz (VI Perl Toolkit - Linux Installer for 64-bit) package.
The End User License Agreement dialog box is displayed.
- Follow the prompts displayed on the page to download the
file.
The VMware-VIPerl-1.6.0-104313.x86_64.tar.gz file is downloaded to your local computer.
- Connect to the Junos Space node (by using SSH) and log
in (as the
admin
user) to access the Junos Space CLI.
- Open a debug (command) prompt by using the Junos Space
Settings menu.
- Create a new directory named jmp-vm by executing the following command:
- Copy the VMware-VIPerl-1.6.0-104313.x86_64.tar.gz file you downloaded to the directory /usr/local/jmp-vm.
- Change the current directory to /usr/local/jmp-vm by executing the following command:
- Extract the compressed TAR files by executing the following
command:
- Create a new directory named etc within the
folder vmware-viperl-distrib by executing
the following command:
mkdir /usr/local/jmp-vm/vmware-viperl-distrib/etc
- Copy the file vmware-uninstall-viperl.pl from the directory /var/www/cgi-bin to the directory named /usr/local/jmp-vm/vmware-viperl-distrib/bin on the local machine by using the following command:
cp /var/www/cgi-bin/vmware-uninstall-viperl.pl /usr/local/jmp-vm/vmware-viperl-distrib/bin/vmware-uninstall-viperl.pl
The following message is displayed:
cp: overwrite /usr/local/jmp-vm/vmware-viperl-distrib/bin/vmware-uninstall-viperl.pl?
- Type
yes
to replace the existing vmware-uninstall-viperl.pl file and press Enter.
- Change the permissions of the files in the /usr/local/jmp-vm folder to allow read and execute
permissions to everyone and, additionally, write permission to the
file owner by executing the following command:
chmod -R 755 /usr/local/jmp-vm
- Run the file vmware-install.pl by executing the following command:
perl vmware-viperl-distrib/vmware-install.pl --prefix=1
On successful installation, the following message is displayed:
The installation of VMware VIPerl Toolkit 1.6.0
build-104313 for Linux completed successfully. You can decide to remove
this software from your system at any time by invoking the following
command: "1/bin/vmware-uninstall-viperl.pl"
- Log out of the Junos Space VIP node.