Client-Only Tutorial Installation for P4 Server

Instructions for automated installation of PiClient, PiExtras, and VersIC.

The Client install (install_all.bash) script will:

  1. Install VersIC
  2. Install the Self-Extracting version of the pi client.
  3. Install the Self-Extracting version of PiExtras and place it in the new client directory.
  4. Generate an 'mdx.bash' file that contains environment settings.

The main install script is located at: /usr/share/mdx/products/piextras/install_scripts/client/install_all.bash (after Installing PiExtras)

)

  1. Work with Perforce support during an initial installation.

Pre-Requisites

Prior to tutorial installation, complete the following step:

  1. Install PiExtras

Installation Procedure

1. Change directory to the installation script directory
root> cd /usr/share/mdx/products/piextras/install_scripts/client


2. Edit the configure.txt file, this contains all the settings used by the install scripts.

        a. set 'CLIENT_INSTALL_DIR' to the directory in which to install VersIC, PiExtras, and IPLM CLI. Once installed this directory is self-contained.

        b. 'PISERVERNAME' to the fully qualified hostname of the machine hosting the Perforce IPLM server

        c. Set 'USERNAMEMDX' and 'PASSWORDMDX' to the values provided by Perforce to access the MDX download site. 

        d. If you are performing an offline install, need to set the SET_OFFLINE_INSTALL to YES. In this case you will need to edit the configure_offline.txt file to point to the pre-downloaded PiCLI .run and pilib files andversic installation tar ball. Instructions on downloading the tarball can be found in configure_offline.txt file. If you are performing the standard installation this step should be skipped.

3. Execute the install script
root> /usr/share/mdx/products/piextras/install_scripts/client/install_all.bash

After the script completes you will have installations of Piclient, PiExtras, and VersIC, as well as a 'mdx.bash' file containing the environment variables necessary to run the tools.

Getting Started with Perforce IPLM

1. Login as the mdx user
root> su - mdx
2. Setup your shell variables
mdx> source $MDX_CONFIG_DIR/config/mdx.bash
3. Log into Perforce IPLM as the admin user
mdx> pi login admin
4. Load a workspace
mdx> pi ip load mdx_tutorial.proj_top /tmp/ws1
5. Change directory to the workspace
mdx> cd /tmp/ws1
6. Check the workspace status
mdx> pi ws st -v