+

Search Tips   |   Advanced Search

Manage Portal Scripting Interface in the cluster


The Portal Scripting Interface allows us to create administrative tasks that administrators can run from a command line. You must prepare your cluster to manage Portal Scripting Interface.

To manage Portal Scripting Interface:

  1. Perform the following steps before using the Portal Scripting Interface for the first time:

    1. Verify the wp.wire.jar file is present in the WAS_HOME/lib directory on the dmgr machine.

    2. If the file is not present, copy the file from the WAS_HOME/lib directory on any node to the WAS_HOME/lib directory on the dmgr machine.

    3. Restart the dmgr.
  2. For z/OS : Before we use the Portal Scripting Interface for the first time:

    1. Mount the SMP/E home directory of WebSphere Portal, read only, on the dmgr node.

    2. Edit job EJPSSEWL with the SMP/E home directory of WebSphere Portal for #EJPSMPH# and with the WAS home directory of the dmgr node for #ASWASH#.

    3. Submit the job on the dmgr node.

    4. Upon completion, examine the job output. Success is indicated with "rc=0" in the job output.

    5. Restart the dmgr.

  3. Run the following task to connect the scripting client to the WAS Network Deployment SOAP port:

    ...where...

    • ND SOAP Port is the WAS Network Deployment machine's SOAP connector-address.

      To find the SOAP port, on the WAS admin console, navigate to System administration > dmgr > Ports > SOAP_CONNECTOR_ADDRESS.

      For example, if we are running wpscript on a machine that is part of a cell managed by a dmgr, the SOAP port might be 8881.

    • user is the WAS administrative user name.
    • password is the administrative user password.

    scripting client to the WAS Network Deployment SOAP
    Operating system Task
    Windows wpscript.bat -port ND SOAP Port -user user -password password
    UNIX ./wpscript.sh -port ND SOAP Port -user user -password password
    IBM i wpscript.sh -port ND SOAP Port -user user -password password
    z/OS ./wpscript.sh -port ND SOAP Port -user user -password password

    Be logged in using the WebSphere admin user ID.


Parent: Manage the cluster