Manage Portal Scripting Interface in the cluster
The Portal Scripting Interface enables the creation of administrative tasks that administrators can run from a command line. Prepare the cluster to manage Portal Scripting Interface.
- Complete the following steps before we use the Portal Scripting Interface for the first time:
- Verify that the wp.wire.jar file is present in the AppServer_root/lib directory on the deployment manager workstation.
- If the file is not present, copy the file from the AppServer_root/lib directory on any HCL WebSphere Portal node to the AppServer_root/lib directory on the deployment manager workstation.
- Restart the deployment manager.
- For z/OS : Before using the Portal Scripting Interface for the first time:
- Mount the SMP/E home directory of HCL WebSphere Portal, read only, on your deployment manager node.
- Edit job EJPSSEWL with the SMP/E home directory of HCL WebSphere Portal for #EJPSMPH# and with the WebSphere Application Server home directory of the deployment manager node for #ASWASH#.
- Submit the job on the deployment manager node.
- Upon completion, examine the job output. Success is indicated with "rc=0" in the job output.
- Restart the deployment manager.
- Connect the scripting client to the WebSphere Application Server Network Deployment SOAP port:Where:
- ND SOAP Port is the WebSphere Application Server Network Deployment workstation's SOAP connector-address.
To find the SOAP port, on the WebSphere Integrated Solutions Console, clickSystem administration > Deployment Manager > Ports > SOAP_CONNECTOR_ADDRESS.
For example, if we are running wpscript on a workstation that is part of a cell that is managed by a deployment manager, the SOAP port might be 8881.
- user is the WebSphere Application Server administrative user name.
- password is the administrative user password.
Operating system Task Windows wpscript.bat -port ND SOAP Port -user user -password password AIX HP-UXLinux Solaris ./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 Note: We must be logged in using the WebSphere administrative user ID.
Parent topic: Manage the cluster