Getting Started with Universal Command Agent for SOA - XD Connector
Objective
The objective of this document is to assist in the following activities regarding the Universal Command Agent for SOA: XD Connector:
- Installing Universal Agent for SOA 6.x, which is comprised of:
- Universal Command Agent for SOA
- Universal Event Monitor for SOA
- Validating the WebSphere environment.
- Running the XD Connector on Universal Command Agent for SOA.
Installation Requirements
The following is required for running Universal Command Agent for SOA with an XD Connector:
- Universal Agent 6.x (64-bit package): installed, licensed, and running.
Installation
Note
These instructions describe installation of the Universal Agent for SOA 6.x for the Linux x86_64 Debian package.
Universal Agent for SOA 6.x is packaged as a Debian file (extension .deb). It is installed using the Linux dpkg command.
The name of the Universal Agent for SOA 6.x package file has the following format:
sb-soa-6.4.1.0-linux-3-x86_64-deb.tar.Z
(The name assumes product maintenance level 6.4.1.0 for Universal Agent for SOA 6.4.x.)
To unpack and install Universal Agent for SOA, perform the following steps:
Step 1 | Create a directory (or select an existing directory) in which to save the package file. |
---|---|
Step 2 | Save the package file into that directory. |
Step 3 | Uncompress and extract the installation files in the current working directory. The command to extract the files is: zcat sb-soa-6.4.1.0-linux-3-x86_64-deb.tar.Z | tar xvf - |
Step 4 | After the extraction is complete, run the installation script, upsinst, which executes the dpkg command: ./upsinst |
Step 5 | From the license file that was sent to you by Stonebranch, Inc., add the license information to the |
Step 6 | Recycle Universal Broker using the following commands (cd to ./ubrokerd stop ./ubrokerd start |
Step 7 | Use Universal Query (cd to Component ID..............: 1360109684 Component Name............: uac (Server) Component Description.....: Universal Application Container Server Component Version.........: 6.4.x Level 1 Release Build 101 Component Type............: uac Component Process ID......: 23331000 Component Start Time......: 18:14:42 Component Start Date......: 02/05/13 Component Command ID......: uac Component State...........: REGISTERED Component MGR UID.........: Component MGR Work ID.....: Component MGR Host Name...: Component MGR IP Address..: Component MGR Port........: Component Comm State......: ESTABLISHED Component Comm State Time.: 18:14:44 Component Comm State Date.: 02/05/13 Component MGR Restartable.: NO Component Comment.........: |
Validating the WebSphere XD Environment
To ensure trouble-free operation of Universal Command Agent for SOA: XD Connector 6.4.x, the WebSphere XD environment must be set up correctly.
The following steps should be made before using the Universal Command Agent for SOA: XD Connector 6.4.x.
Step 1 | Application Security
|
---|---|
Step 2 | Map Users to Job Scheduler
|
Step 3 | Install the Job Scheduler Sample Applications |
Step 4 | Run Sample Applications using
|
Running a Universal Command Agent for SOA Job on z/OS Connecting to XD Connector
You now can run jobs in WebSphere XD using the Universal Command Agent for SOA: XD Connector.
The following z/OS examples reference the PostingsSampleEar application.
Step 1 | Create the UMCD Manager JCL. //UACXD1A JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID //* //*********************************************************** //*PostingsSampleEar //*UCMD is the proc that calls UC Manager //*LOGON is the DD with userid and passwd (can use encrypted) //*SCR is the script that contains the XD Connector information //* to connect to Websphere job scheduler //*UNVIN provides the payload for the script in SCR //*********************************************************** //* // JCLLIB ORDER=SBI.UNV.SUNVSAMP //* //UCMD EXEC UCMDPRC //LOGON DD DISP=SHR,DSN=SUPPORT.UAC.LOGON(YOURUSER) //SCR DD DISP=SHR,DSN=SUPPORT.UAC.SCRIPTS(SCRXD1) //UNVIN DD DISP=SHR,DSN=SUPPORT.UAC.SCRIPTS(PYLXD1) //SYSIN DD * -s scr -script_type service -i yourserver -G yes -f logon |
---|---|
Step 2 | Create the XD Connector Command Options Data Set Member. # protocol is what protocol you are choosing(XDSOAP) # mep is the type of message (Request) # xdcmd is the xd command you want to perform (submit,restart) # cmdid is a unique identifier to match to jobid(websphere jobid) # serviceurl is the websphere url to the job scheduler # serviceusername is the websphere user # servicepassword is the websphere user password # timeoutms is the timeout in milliseconds for the job #************************************************ -protocol XDSOAP -mep Request -xdcmd SUBMIT -cmdid 10010 -serviceurl http://sup\-wasxd:9080/LongRunningJobSchedulerWebSvcRouter/services/JobScheduler -serviceusername admin -servicepassword admin -timeoutms 120000000 |
Step 3 | Create the xJCL Payload Data Set Member. |