
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
(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>]
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.