Running the SetupPTClient Script

To set up the PeopleTools Client DPK:

  1. Verify that the Microsoft Windows folders options are set to show known file extensions.

    Hidden file extensions may interfere with the script. To show file extensions, for example:

    Note:

    Depending upon the Microsoft Windows operating system, you may use a different method to set the folder options.

    1. Open Windows Explorer and select View, Options.

    2. On the Folder Options dialog box, select the View tab.

    3. Verify that the check box for Hide extensions for known file types is not selected, as shown in this example:

      Figure 3-3 Folder Options dialog box

      Folder Options dialog box
    4. Click OK to close the box.

    5. Alternatively, on the View toolbar, verify that the check box for File Name Extensions is selected.

  2. Open a command prompt, running as administrator.

  3. If you deployed the PeopleSoft environment on a Microsoft Windows operating system, on the Microsoft Windows machine you have designated for the PeopleTools client, go to the BASE_DIR\pt\tools_client directory.

    If you deployed the PeopleSoft environment on a Linux operating system, go to the tools_client directory in the drive that you mapped to the corresponding NFS share.

    See Accessing Linux NFS Shares From Windows.

    The tools_client directory includes the following:

    • client-861

      The client-861 directory includes a Readme file, a manifest with version information, archives, and scripts for deployment of the PeopleSoft PeopleTools 8.61 client home directory.

    • client-862

      The client-862 directory includes a Readme file, a manifest with version information, archives, and scripts for deployment of the PeopleSoft PeopleTools 8.62 client home directory.

    • client-863

      The client-863 directory includes a Readme file, a manifest with version information, archives, and scripts for deployment of the PeopleSoft PeopleTools 8.63 client home directory.

    • oracle-client

      The oracle-client directory includes a Readme file, a manifest with version information, archives, and scripts for deployment of the Oracle database client home directory.

    • SetupPTClient.bat

      Interactive script that installs the PeopleSoft PeopleTools components such as Application Designer and Change Assistant. When you run the script, you supply information such as the PeopleSoft PeopleTools release and the RDBMS platform for your target database.

      Note:

      There are also SetupPTClient.bat scripts in the subdirectories. Be sure to use the top-level script to install in Update Manager mode.

    • source.properties — A text file that includes information required for the setup.

      Important:

      Do not edit this file. The information is supplied by the setup scripts.

      Here is a sample source.properties file:

      TOOLSCLIENT_VERSION=8.63.05
       PIA_URL=http://<host_name>:8000/ps/signon.html
       DB_USER=VP1
       DB_USER_PWD=
       CONNECT_USER=people
       CONNECT_USER_PWD=
       PI_HOME=C:/psft/pt/<app>_pi_home
       ACCESS_ID=accessid
       ACCESS_PWD=
    • tnsnames.ora — Oracle database connectivity file.

      The file includes the information for the source (PI) database.

      Note that the CONNECT_DATA entry uses SERVICE_NAME rather than SID as in previous releases. When setting up the PI, if you do not replace your existing tnsnames.ora entry with the one described here, you must change this setting in order for your PeopleTools or Change Assistant clients to connect to the PUM source database. For example:

      HCMDB =
         (DESCRIPTION =
            (ADDRESS = (PROTOCOL = TCP)(HOST = server1.example.com)(PORT = 1522))
            (CONNECT_DATA =
             (SERVER = DEDICATED)
             (SERVICE_NAME = HCMDB)
           )
         )

      See the PeopleTools: Change Assistant and Update Manager product documentation for more information on setting up the client.

  4. Go to the tools_client directory, and run the setup script to install to drive C.

    See the table at the beginning of this section for other options.

    SetupPTClient.bat
  5. Answer y (yes) at the following prompt to set up a PeopleTools Client to use with PUM:

    This script will guide you through the deployment of PeopleTools Client
    components for your environment.
    Is this deployment for a Update Manager Environment?
    A 'Y' will prompt you to setup a Target PeopleTools client 
    deployment in  addition to the Source PeopleTools client.)
    [Y/N]: y
                   
  6. Answer y (yes) at the following prompt to set up a PeopleSoft PeopleTools client to connect to your target environment:

    Do you want to deploy Tools Client for Target (Y/N): y
                   
  7. At the following prompt, specify the version of the PeopleSoft PeopleTools for your target environment.

    The PeopleSoft Update Image source always uses a PeopleSoft PeopleTools 8.63 client. The target database may use an earlier version. Select the option for the PeopleSoft PeopleTools release that the target database was built on. The options include the latest patches for the supported PeopleSoft PeopleTools releases. For example, if your target database was built on PeopleSoft PeopleTools 8.62.10, select option 2, 8.62.14.

    Note:

    Oracle recommends that you install the PeopleTools client tools from the installation directories found on the latest PI in order to obtain the latest fixes. See your PI home page for release/patch information for the PeopleTools Client. The link for your PI home page can be found on PeopleSoft Update Manager (PUM) Home Page (My Oracle Support, Article ID KA615).

    In this example, the target client selected is option 2, 8.61.14. Choose the release/patch for your target environment.

    Setting up the Target PeopleTools client deployment.
     Please select a Target client to deploy:
    1. 8.61.24
    2. 8.62.14
    3. 8.63.05
    
    Enter your choice [1-3] : 2
    
    Target Tools Version:  8.61.14
  8. Specify the RDBMS type for the target database.

    In this example, the target database RDBMS is option 1, Oracle.

     Please Select the Database Platform:
     1. Oracle
     2. Microsoft SQL Server
     Enter your choice [1-2] : 1
                   
  9. Review the setup steps.

    Starting Tools Client Deployment!
    Validating compatible Oracle DB Client for Target PeopleTools 8.62.14
    Deploying Target PeopleTools 8.62.14 Client in C:\PT8.62.14_Client
    Validating compatible Oracle DB Client for Source PeopleTools 8.63.05
    Deploying Source PeopleTools 8.63.05 Client in C:\PT8.63.05_Client
    Installing Change Assistant for PeopleTools 8.63.05 Client in 
    C:\Program Files\PeopleSoft\Change Assistant
    Deployment of PeopleTools Clients and installation of 
    Change Assistant Complete.
    Please launch Change Assistant to complete and 
    validate your Source and Target environment setup.
    Tools Client Deployment Ended.
    ***** SetupPTClient ended at 18:17:21.15 ******
    Please review C:\PeopleSoft\PTClientDeploy.log for 
    additional information.
    

    The script uses the information you supplied and carries out the following validations and deployments:

    • Oracle database client for the source (PI)

      The setup process determines whether a 64-bit Oracle 19c database client is present on the Microsoft Windows client machine for connectivity to the source database. If not, the setup process installs it.

    • Oracle database client for the target database.

      If the target is an Oracle database, the setup process determines whether the correct Oracle database client is present. The current PeopleSoft PeopleTools release requires a 64–bit Oracle 19c Database Client installation. If the correct Oracle database client is not present, the setup process installs it.

      Note:

      PeopleSoft PeopleTools 8.58, 8.57, 8.56, and 8.55 require a 64-bit Oracle 12c Database Client installation.

    • PeopleSoft PeopleTools Client for the source (PI).

      The source client tools are installed in C:\PT<release_number>_Client, where <release_number> refers to the PeopleSoft PeopleTools release and patch; for example, C:\PT8.63.05_Client.

    • PeopleSoft PeopleTools Client for the target.

      The source client tools are installed in C:\PT<release_number>_Client, where <release_number> refers to the PeopleSoft PeopleTools release and patch; for example, C:\PT8.62.14_Client.

    • Change Assistant installation

      Change Assistant is installed in C:\Program Files\PeoplesSoft\Change Assistant.

      If there is an earlier Change Assistant installation on the machine, the setup script removes it.

  10. To review the log file for the setup process, go to %USERPROFILE%\AppData\Local\Temp\PeopleSoft\PTClientDeploy.log.

    For example, if the USERPROFILE environment variable is C:\Users\username, the log file location is C:\Users\username\AppData\Local\Temp\PeopleSoft\PTClientDeploy.log.

    Note:

    If you used the -d <drive> option to deploy to a drive other than drive C:\, the log file is found in <drive>:\Users\<username>\AppData\Local\Temp\PeopleSoft\PTClientDeploy.log and creates the directory if it does not exist.

    The PTClientDeploy.log file includes a record of each of the steps in the PeopleTools Client deployment process. If any of the steps fail, a detailed error or warning message will be written to the same log file.