Is it possible to redeploy an existing assignment of management template on an specific CI by command with opr-assign or any other command?
Regards
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
Is it possible to redeploy an existing assignment of management template on an specific CI by command with opr-assign or any other command?
Regards
Thanks for your help but the opr-assign does not accept parameter -deploy as explined on link.
Redeploy full configuration to system n1.mycom.com:
$ opr-agt -username user -password passwd -deploy -force -node_list n1.mycom.com
Hello,
I'm sorry it's not working.
I just tested and another error. In this case "The following arguments are not recognized by this application":
# /opt/HP/BSM/opr/bin/opr-agt.sh -username admin -password admin -deploy node_list=mynode
ERROR: The following arguments are not recognized by this application:
node_list=mynode
INFO: Enter -help or -h to find help using the tool
Then I noticed it was the equals sign that was at fault, so I removed that:
# /opt/HP/BSM/opr/bin/opr-agt.sh -username admin -password admin -deploy -node_list mynode
INFO: No need to create deployment jobs.
And it worked. I tested on 2.21.11, 24.2 and 24.4.
Would you be able to try again?
Thanks,
Duncan
This is a special case because servers are monitored by sitescope and not OA. Command opr-agt only applies to servers monitored by OA.
Server has a sitescope template wich create monitors on sitescope when they are deployed on the server. Sometimes does not works and monitors are not created on sitescope and I have to redeploy from GUI the management template which contains the sitescope template. I would like to redeploy this management template by command but opr-agt does not apply because the server has not OA.
opr-agt -list_policies -node_list mynode
mynode:383: ERROR
Possible reasons: OM agent is not running or doesn't exist or cannot be reached over the network.
Hello,
I think you are describing this process: https://docs.microfocus.com/doc/SiteScope/24.2/ImportSISTemplateOBM
In which case, the SiS policies can be deployed from the OBM server as OA12 is installed on the SiS server. If the agent cannot does not exist or cannot be reached over the network, I think OBM would fail when connecting.
I think you'll need to open a service request to get an answer.
Thanks + sorry,
Yes, it is deployed by OBM to sitescope with sisconfig process.
Thanks for your time.