Re: How to push custom script to managed node from OMU MGM SRV (161 Views)
Reply
Frequent Advisor
Wael_shayeb
Posts: 75
Registered: ‎06-27-2012
Message 1 of 5 (210 Views)

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

Valued Contributor
gope
Posts: 51
Registered: ‎09-05-2005
Message 2 of 5 (192 Views)

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 !!!
HP Expert
GTrejos7
Posts: 200
Registered: ‎07-14-2011
Message 3 of 5 (172 Views)

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
Wael_shayeb
Posts: 75
Registered: ‎06-27-2012
Message 4 of 5 (167 Views)

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
gope
Posts: 51
Registered: ‎09-05-2005
Message 5 of 5 (161 Views)

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 !!!
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.