Systems Management (OpenView-OP Mgmt) Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

How to push custom script to managed node from OMU MGM SRV

Frequent Advisor

How to push custom script to managed node from OMU MGM SRV

Hi Expert ,

 

Im using HP OMU version 8.35

 

Im trying to modify some custom scripts to be distrebuted to managed node,but when ever i copied the modefied script to below path in MGM server :

 

/var/opt/OV/share/databases/OpC/mgd_node/customer/hp/ipf32/hpux1122/cmds   " lets say it is HP ip32 server type"

 

i couldnt find it on the manged node after distrebute the template !!!

 

any one can advice me please !!!

 

thanks,

 

Wael

4 REPLIES
Valued Contributor

Re: How to push custom script to managed node from OMU MGM SRV

Did you try distribution of commands to the node ?

From OMU Mgmt Server , execute :
opcragt -distrib -commands <nodename>

or you can use force option...
opcragt -distrib -commands -force <nodename>

See if this helps.
Best Regards,
Gopinath Manickam

To show your appreciation, click KUDOS !!!
HPE Expert

Re: How to push custom script to managed node from OMU MGM SRV

Hello Wael,

 

Based on the instrumentation path you mentioned: "/var/opt/OV/share/databases/OpC/mgd_node/customer/

hp/ipf32/hpux1122/cmds" ..I assume you are trying to distribute this script to an Itaniun HPUX node, please confirm if this is correct. Otherwise, you need to put the script you want to deploy in the instrumentation path of the right platform for the corresponding node.

 

I hope this helps.

 

Best regards.

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
If you liked it I would appreciate KUDOs.
Frequent Advisor

Re: How to push custom script to managed node from OMU MGM SRV

Hi gope,

 

 

can i use this command line to distribute on Node grpoup ?

 

opcragt -distrib -commands -force <nodename>

 

if yes, how it will be please ?

 

 

Thank you,

 

Wael

Valued Contributor

Re: How to push custom script to managed node from OMU MGM SRV

Hello Wael,

Yes, you can specify nodegroup as menitoned below...
opcragt -distrib -commands -force -nodegrp < Node Group Name>

for more options / details, you can take a look at man page of opcragt
Best Regards,
Gopinath Manickam

To show your appreciation, click KUDOS !!!