Example 1: Starting a Web Logic Server
In this V2.0 syntax example we see how to start up a web logic server using an ENTITY step type.
{
"steps": [
{
"name": "start_weblogic",
"operation": {
"type": "ENTITY",
"parameters": {
"entity": {
"entityByName": {
"name": "host01.example.com",
"type": "omc_host_linux"
}
},
"command": "/bin/sh",
"arguments": [
"/u01/app/oracle/Middleware/Oracle_Home/user_projects/domains/medrec/startWebLogic.sh"
],
"credential": "MySSHCred"
}
}
}
]
},
"input": {
"vars": {},
"workerVars": {
"worker1": {}
}
}
}