Installing VI Toolkit for Perl on Junos Space Virtual Appliance
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.
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
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
VMware-VIPerl-1.6.0-104313.x86_64.tar.gzfile 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-vmby executing the following command:
- Copy the
VMware-VIPerl-1.6.0-104313.x86_64.tar.gzfile you downloaded to the directory
- Change the current directory to
/usr/local/jmp-vmby executing the following command:
- Extract the compressed TAR files by executing the following
tar -zxvf *.gz
- Create a new directory named etc within the
vmware-viperl-distribby executing the following command:
- Copy the file
vmware-uninstall-viperl.plfrom the directory
/var/www/cgi-binto the directory named
/usr/local/jmp-vm/vmware-viperl-distrib/binon 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.plfile and press Enter.
- Change the permissions of the files in the
/usr/local/jmp-vmfolder 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.plby 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.
You can now create a System Snapshot by going to the Fabric page (Administration > Fabric). For more information, see Creating a System Snapshot.