User guide

Installing the ViPR CLI on Linux
You can install the ViPR command line interface executable directly from ViPR appliance
onto a supported Linux host.
Before you begin
u
You need access to the ViPR appliance host.
u
You need root access to the Linux host.
Procedure
1. Log in to the Linux server as root.
2. Create a temporary directory to download the CLI installer.
mkdir cli/temp
cd cli/temp
3. Either point your browser to https://<FQDN>:4443/cli or run the wget
command to retrieve the ViPR CLI installation bundle:
wget https://<FQDN>:4443/cli
Note
For sites with self-signed certificates or where issues are detected, optionally use
http://<ViPR_virtual_IP>:9998/cli only when you are inside a trusted
network. <ViPR_virtual_IP> is the ViPR public virtual IP address, also known as the
network vip. The CLI installation bundle is downloaded to the current directory.
4. Use tar to extract the CLI and its support files from the installation bundle.
tar -xvzf <cli_install_bundle>
5. Run the CLI installation program.
./Installer_viprcli.linux
6.
Change directory to /opt/vipr/cli or to the directory where the CLI is installed.
7.
Note
Perform this step only when you have not provided the correct input in step 5.
Edit the file viprcli.profile using the vi command and set the VIPR_HOSTNAME to
the ViPR public virtual IP address and VIPR_PORT=4443 environment variable and
save the file.
# vi viprcli.profile
#!/usr/bin/sh
# Installation directory of ViPR CLI
ViPR_CLI_INSTALL_DIR=/opt/ViPR/cli
# Add the ViPR install directory to the PATH and PYTHONPATH env
variables
if [ -n $ViPR_CLI_INSTALL_DIR ]
then
export PATH=$ViPR_CLI_INSTALL_DIR/bin:$PATH
export PYTHONPATH=$ViPR_CLI_INSTALL_DIR/bin:$PYTHONPATH
fi
# USER CONFIGURABLE ViPR VARIABLES
Deployment Steps
Installing the ViPR CLI on Linux 23