Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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.

    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:

    1. Open https://www.vmware.com/support/developer/viperltoolkit/ in a web browser.

      The VMware vSphere SDK for Perl Documentation page is displayed.

    2. Select the release VI Perl Toolkit 1.6 from the drop-down list.
    3. Click the Download link.

      You are redirected to the VMware login page.

    4. 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.

    5. 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.

    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.

    7. 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.

    8. Connect to the Junos Space node (by using SSH) and log in (as the admin user) to access the Junos Space CLI.
    9. Open a debug (command) prompt by using the Junos Space Settings menu.
    10. Create a new directory named jmp-vm by executing the following command:

      mkdir /usr/local/jmp-vm

    11. Copy the VMware-VIPerl-1.6.0-104313.x86_64.tar.gz file you downloaded to the directory /usr/local/jmp-vm.
    12. Change the current directory to /usr/local/jmp-vm by executing the following command:

      cd /usr/local/jmp-vm

    13. Extract the compressed TAR files by executing the following command:

      tar -zxvf *.gz

    14. 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

    15. 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?

    16. Type yes to replace the existing vmware-uninstall-viperl.pl file and press Enter.
    17. 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

    18. 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"

    19. 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.

    Modified: 2017-12-17