CLIRunner_ManagementConsole Job
Operation to run the command line interface (CLI) commands by using a REST Framework on the Hardware Management Console (HMC).
Resource
/rest/api/uom/ManagementConsole/{ManagementConsole_UUID}/do/CLIRunner
Overview of CLIRunner_ManagementConsole Job
You can invoke this job on the HMC, as a substitute for running CLI commands by using the command line interface. The following CLI commands can be run by using the CLIRunner job:
bkprofdata, chcod, chaccfg, chhmc, chhmcencr, chhmcfs. chhmcldap, chhmcusr, chipsec, chled, chnportlogin. chproxy, chpsm, chpwdpolicy, chsvc, chsvcevent. chtskey, chusrtca, cpdump, cpfile, getdump. getfile, hmcshutdown, hwdbg, lpcfgop, lscod. lsdump, lsfru, lsaccfg, lshmc, lshmcencr, lshmcfs. lshmcusr, lsipsec, lslic, lslock, lslogon. lsmediadev, lsproxy, lspsm, lspwdpolicy, lssacfg. lssvcevents, lssysconn, lstskey, lsusrtca, lsvet, lsvsn. migrlpar, mkauthkeys, mkprofdata, refdev, rmfile. rmlock, rmprofdata, rmpwdpolicy, rmsyscfg, rmsysconn. rmvterm, rsthwres, rstprofdata, rstupgdata, startdump. termtask, updlic, viosvrcmd.
Sample Job Request
<JobRequest:JobRequest
xmlns:JobRequest="http://www.ibm.com/xmlns/systems/power/firmware/web/mc/2012_10/"
xmlns="http://www.ibm.com/xmlns/systems/power/firmware/web/mc/2012_10/" xmlns:ns2="http://www.w3.org/XML/1998/namespace/k2" schemaVersion="V1_0">
<Metadata>
<Atom/>
</Metadata>
<RequestedOperation kxe="false" kb="CUR" schemaVersion="V1_0">
<Metadata>
<Atom/>
</Metadata>
<OperationName kxe="false" kb="ROR">CLIRunner</OperationName>
<GroupName kxe="false" kb="ROR">ManagementConsole</GroupName>
</RequestedOperation>
<JobParameters kxe="false" kb="CUR" schemaVersion="V1_0">
<Metadata>
<Atom/>
</Metadata>
<JobParameter schemaVersion="V1_0">
<Metadata>
<Atom/>
</Metadata>
<ParameterName kxe="false" kb="ROR">cmd</ParameterName>
<ParameterValue kxe="false" kb="CUR">lshmc -V</ParameterValue>
</JobParameter>
<JobParameter schemaVersion="V1_0">
<Metadata>
<Atom/>
</Metadata>
<ParameterName kxe="false" kb="ROR">acknowledgeThisAPIMayGoAwayInTheFuture</ParameterName>
<ParameterValue kxe="false" kb="CUR">true</ParameterValue>
</JobParameter>
</JobParameters>
</JobRequest:JobRequest>