HPSA : getServerScriptJobOutput functionality ? (259 Views)
Reply
Occasional Visitor
mattsmith1970
Posts: 1
Registered: ‎05-27-2010
Message 1 of 2 (259 Views)

HPSA : getServerScriptJobOutput functionality ?

Hoping to make use of this command within global shell to retrieve job output from the mesh.

Anyone have an example of how to use this, e.g. what parameters to use ?

Have tried the HPSA documentation but could not make sense of what parameters are needed for such a use of the command.
Please use plain text.
Regular Visitor
andy.roth
Posts: 1
Registered: ‎03-26-2009
Message 2 of 2 (259 Views)

Re: HPSA : getServerScriptJobOutput functionality ?

You need to specify the job and the server.

For example:

./getServerScriptJobOutput job:i= server:i=

The twister docs have this information (snippet below). You will also find the dev/api guides useful.

---------------------------
getServerScriptJobOutput
Parameters:
job - the reference to the job
server - the server to get the output from the script
Returns:
the detailed results
Throws:
java.rmi.RemoteException - if a system level error occurs or server communication error occurs
AuthorizationException - if the user is not authorized to view the results from job
IllegalValueException - if job is an illegal value or the job is still running or server was not part of job
NotFoundException - if job is not found in the db.
NoServerResultException

Required Roles:
PrivateJob.read
AllJobs.read

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation