Assign template group to node group
opcnode -assign_templ group_name=T_HPUX templ_name=Applications templ_type=TEMPLATE_GROUP
Deassign template group from node group
opcnode -assign_templ group_name=T_HPUX templ_name=Applications templ_type=TEMPLATE_GROUP
Globally disable node
opcnode -chg_nodetype node_list=node1 node_type=DISABLED
Globally enable node
opcnode -chg_nodetype node_list=node1 node_type=CONTROLLED
Add node to OpenView
opcnode -add_node node_name=node3 net_type=NETWORK_IP mach_type=MACH_HP11_PA_RISC group_name=T_HPUX node_label=node3 comm_type=COMM_DCE_TCP
Remove distribution files that did not get transferred
/usr/bin/rm /var/opt/OV/share/tmp/OpC/distrib/*
Add node group
opcnode -add_group group_name=T_Apps group_label=T_Apps
Assign node to node group
opcnode -assign_node node_name=node1 group_name=T_Apps net_type=NETWORK_IP
|LOG| = “LOGFILE_TEMPLATE”
|MSG| = “MESSAGE_TEMPLATE”
|SCH| = “SCHEDULE_TEMPLATE”
May 27th, 2009 at 15:20
Nice collection of OVO snippets – useful, thanks!