New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Captain
Captain
589 views

(OMi) Support Tip: Tool to operate Node/Node Group (command-line)

The "opr-node" command-line tool can be used to do operations for node/node group. It can be used to list/add/modify/delete  nodes or node groups:

<OMi_HOME>/bin/opr/opr-node

Default:

Windows: C:\HPBSM\opr\bin
Linux: /opt/HP/BSM/opr/bin

Usage:

opr-node -help | -version | -examples | <CONNECTION_INFO> <operation> [-v]
         <operation> =
         -list_nodes <targets> | -add_node <identifier_options> [ <add_options>] |
         -modify_node <identifier_options> [ <modify_options> ] |
         -del_node  <identifier_options> |
          -list_os_types |
         -list_node_groups [-show_details] |
         -list_containing_node_groups <node_identifier> |
         -add_node_group <node_group_identifier> [ <add_node_group_options> ] |
         -modify_node_group <node_group_identifier> [<modify_node_group_options> ] |
        -del_node_group  <node_group_identifier>


         <targets> =
         -query_name <query_name> | -view_name <view_name> | -node_list <node_list> |
         -node_group <node_group> | -filter_name <filter_name> |
         -all


         <identifier_options> =
          -node_name <primary_node_name> &| -ci_id <node_ci_id>

         <add_options> =
          [ -ip_addrs <comma_separated_ip_addresses> ] [ -ci_name <ci_name> ] [ -os_type <os_type> ]
          [ -processor_family <processor_family> ] [ -ci_type <ci_type> ]
         [ -node_group   <node_group_name> ]

         <modify_options> =
        [ -ip_addrs <comma_separated_ip_addresses> [ -add_ip_addrs | -del_ip_addrs ] ] [ -ci_name <ci_name> ]
       [ -os_type  <os_type> ] [ -processor_family <processor_family> ] [ -node_group <node_group_name> ]
       [ -remove_from_node_group ] [ -new_node_name  <new_primary_node_name> ]
        
       <node_group_identifier> =
         -node_group <node_group_name>  [-parent_node_group <node_group_name> ]


         <add_node_group_options> =
         [-node_group_description  <node_group_description> ] [ -parent_node_group <node_group_name> ]


         <modify_node_group_options> =
         [-new_name <new_node_group_name> ] [ -new_description <node_group_description> ]
         [ -new_parent_node_group  <node_group_name> ]

<CONNECTION_INFO> consists of:
-rc_file <file> &| -username <login name> [ -password <password> | -smartcard |-winCrypto | -jks <keystore path> -jksPassword <keystore password> ] [[-port <port>] [-server <gatewayserver>] [-ssl] | [-u <URL>]] [-customer customerID>]

 

Micro Focus Software Support

The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of Micro Focus.

If you find this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.