.TH NODEMGR 1 2017\-01\-03 .SH NAME nodemgr - OpenSVC agent's node management command. .SH SYNOPSIS .B nodemgr [ \fIOPTIONS\fP ] COMMAND .SH DESCRIPTION In the OpenSVC infrastructure, the node is an operating system instance with an OpenSVC agent installed. The node may host OpenSVC services instances. The \fBnodemgr\fP program provides commands to configure and execute all the agent functions that interact with the node. .SH COMMANDS \fRCOLLECTOR MANAGEMENT\fP .RE \fBnodemgr collector ack action\fP .RS acknowledge an action error on the node. an acknowlegment can be completed by --author (defaults to root@nodename) and --comment .TP .B --author=AUTHOR the acker name to log when used with the 'collector ack action' action .TP .B --comment=COMMENT a comment to log when used with the 'collector ack action' action .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector alerts\fP .RS display node alerts .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector asset\fP .RS display asset information known to the collector .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector checks\fP .RS display node checks .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector cli\fP .RS open a Command Line Interface to the collector rest API. The CLI offers autocompletion of paths and arguments, piping JSON data from files. This command accepts the --user, --password, --api, --insecure and --config parameters. If executed as root, the collector is logged in with the node credentials. .TP .B --user=USER authenticate with the collector using the specified user credentials instead of the node credentials. Required for the 'register' action when the collector is configured to refuse anonymous register. .TP .B --password=PASSWORD authenticate with the collector using the specified user credentials instead of the node credentials. Prompted if necessary but not specified. .TP .B --api=API specify a collector api url different from the one set in node.conf. Honored by the 'collector cli' action. .TP .B --insecure allow communications with a collector presenting unverified SSL certificates. .TP .B --config=CONFIG specify a user-specific collector api connection configuration file. defaults to '~/.opensvc-cli'. Honored by the 'collector cli' action. .TP .B --refresh-api The OpenSVC collector api url .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector create tag\fP .RS create a new tag with name specified by --tag .TP .B --tag=TAG a tag specifier used by 'collector create tag', 'collector add tag', 'collector del tag' .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector disks\fP .RS display node disks .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector events\fP .RS display node events during the period specified by --begin/--end. --end defaults to now. --begin defaults to 7 days ago. .TP .B --begin=BEGIN a begin date expressed as 'YYYY-MM-DD hh:mm'. used with the 'collector ack action' and pushstats action .TP .B --end=END a end date expressed as 'YYYY-MM-DD hh:mm'. used with the 'collector ack action' and pushstats action .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector list actions\fP .RS list actions on the node, whatever the service, during the period specified by --begin/--end. --end defaults to now. --begin defaults to 7 days ago .TP .B --begin=BEGIN a begin date expressed as 'YYYY-MM-DD hh:mm'. used with the 'collector ack action' and pushstats action .TP .B --end=END a end date expressed as 'YYYY-MM-DD hh:mm'. used with the 'collector ack action' and pushstats action .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector list filtersets\fP .RS show the list of filtersets available on the collector. if specified, --filterset limits the resulset to filtersets matching .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector list nodes\fP .RS show the list of nodes matching the filterset pointed by --filterset .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector list services\fP .RS show the list of services matching the filterset pointed by --filterset .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector list tags\fP .RS list all available tags. use --like to filter the output. .TP .B --like=LIKE a sql like filtering expression. leading and trailing wildcards are automatically set. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector log\fP .RS log a message in the collector's node log .TP .B --message=MESSAGE the message to send to the collector for logging .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector networks\fP .RS display network information known to the collector for each node ip .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector search\fP .RS report the collector objects matching --like [:], where is the object type acronym as shown in the collector search widget. .TP .B --like=LIKE a sql like filtering expression. leading and trailing wildcards are automatically set. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector show actions\fP .RS show actions detailed log. a single action is specified by --id. a range is specified by --begin/--end dates. --end defaults to now. --begin defaults to 7 days ago .TP .B --begin=BEGIN a begin date expressed as 'YYYY-MM-DD hh:mm'. used with the 'collector ack action' and pushstats action .TP .B --id=ID specify an id to act on .TP .B --end=END a end date expressed as 'YYYY-MM-DD hh:mm'. used with the 'collector ack action' and pushstats action .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector show tags\fP .RS list all node tags .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector tag\fP .RS set a node tag (pointed by --tag) .TP .B --tag=TAG a tag specifier used by 'collector create tag', 'collector add tag', 'collector del tag' .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr collector untag\fP .RS unset a node tag (pointed by --tag) .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit \fRCOMPLIANCE\fP .RE \fBnodemgr compliance attach\fP .RS attach ruleset specified by --ruleset and/or moduleset specified by --moduleset for this node .TP .B --moduleset=MODULESET compliance, set moduleset list. The 'all' value can be used in conjonction with detach. .TP .B --ruleset=RULESET compliance, set ruleset list. The 'all' value can be used in conjonction with detach. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance attach moduleset\fP .RS attach moduleset specified by --moduleset for this node .TP .B --moduleset=MODULESET compliance, set moduleset list. The 'all' value can be used in conjonction with detach. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance attach ruleset\fP .RS attach ruleset specified by --ruleset for this node .TP .B --ruleset=RULESET compliance, set ruleset list. The 'all' value can be used in conjonction with detach. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance auto\fP .RS run compliance checks or fix, according to the autofix property of each module. --ruleset instruct the collector to provide an historical ruleset. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance check\fP .RS run compliance checks. --ruleset instruct the collector to provide an historical ruleset. .TP .B --attach attach the modulesets specified during a compliance check/fix/fixable command .TP .B --force force action .TP .B --module=MODULE compliance, set module list .TP .B --moduleset=MODULESET compliance, set moduleset list. The 'all' value can be used in conjonction with detach. .TP .B --ruleset-date=RULESET_DATE compliance, use rulesets valid on specified date .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance detach\fP .RS detach ruleset specified by --ruleset and/or moduleset specified by --moduleset for this node .TP .B --moduleset=MODULESET compliance, set moduleset list. The 'all' value can be used in conjonction with detach. .TP .B --ruleset=RULESET compliance, set ruleset list. The 'all' value can be used in conjonction with detach. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance detach moduleset\fP .RS detach moduleset specified by --moduleset for this node .TP .B --moduleset=MODULESET compliance, set moduleset list. The 'all' value can be used in conjonction with detach. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance detach ruleset\fP .RS detach ruleset specified by --ruleset for this node .TP .B --ruleset=RULESET compliance, set ruleset list. The 'all' value can be used in conjonction with detach. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance env\fP .RS show the compliance modules environment variables. .TP .B --module=MODULE compliance, set module list .TP .B --moduleset=MODULESET compliance, set moduleset list. The 'all' value can be used in conjonction with detach. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance fix\fP .RS run compliance fixes. --ruleset instruct the collector to provide an historical ruleset. .TP .B --attach attach the modulesets specified during a compliance check/fix/fixable command .TP .B --force force action .TP .B --module=MODULE compliance, set module list .TP .B --moduleset=MODULESET compliance, set moduleset list. The 'all' value can be used in conjonction with detach. .TP .B --ruleset-date=RULESET_DATE compliance, use rulesets valid on specified date .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance fixable\fP .RS verify compliance fixes prerequisites. --ruleset instruct the collector to provide an historical ruleset. .TP .B --attach attach the modulesets specified during a compliance check/fix/fixable command .TP .B --force force action .TP .B --module=MODULE compliance, set module list .TP .B --moduleset=MODULESET compliance, set moduleset list. The 'all' value can be used in conjonction with detach. .TP .B --ruleset-date=RULESET_DATE compliance, use rulesets valid on specified date .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance list module\fP .RS list compliance modules available on this node .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance list moduleset\fP .RS list available compliance modulesets. --moduleset f% limit the scope to modulesets matching the f% pattern. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance list ruleset\fP .RS list available compliance rulesets. --ruleset f% limit the scope to rulesets matching the f% pattern. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance show moduleset\fP .RS show compliance rules applying to this node .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance show ruleset\fP .RS show compliance rules applying to this node .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr compliance show status\fP .RS show compliance modules status .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit \fRMISC\fP .RE \fBnodemgr prkey\fP .RS show persistent reservation key of this node .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit \fRNODE ACTIONS\fP .RE \fBnodemgr collect stats\fP .RS write in local files metrics not found in the standard metrics collector. these files will be fed to the collector by the 'pushstat' action. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr dequeue actions\fP .RS dequeue and execute actions from the collector's action queue for this node and its services. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr logs\fP .RS fancy display of the node logs .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr print schedule\fP .RS print the node tasks schedule .TP .B --verbose add more information to some print commands: +next in 'print schedule' .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr provision\fP .RS provision the resources described in --resource arguments .TP .B --resource=RESOURCE a resource definition in json dictionary format fed to the provision action .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr reboot\fP .RS reboot the node .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr rotate root pw\fP .RS set a new root password and store it in the collector .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr scanscsi\fP .RS scan the scsi hosts in search of new disks .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr schedule reboot\fP .RS mark the node for reboot at the next allowed period. the allowed period is defined by a "reboot" section in node.conf. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr schedule reboot status\fP .RS tell if the node is scheduled for reboot .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr scheduler\fP .RS run the node task scheduler .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr schedulers\fP .RS execute a run of the node and services schedulers. this action is installed in the system scheduler .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr shutdown\fP .RS shutdown the node to powered off state .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr unschedule reboot\fP .RS unmark the node for reboot at the next allowed period. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr updatecomp\fP .RS upgrade the opensvc compliance modules. the modules must be available as a tarball behind the node.repo/compliance url. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr updatepkg\fP .RS upgrade the opensvc agent version. the packages must be available behind the node.repo/packages url. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr wol\fP .RS forge and send udp wake on lan packet to mac address specified by --mac and --broadcast arguments .TP .B --broadcast=BROADCAST list of broadcast addresses, comma separated, used by the 'wol' action .TP .B --mac=MAC list of mac addresses, comma separated, used by the 'wol' action .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit \fRNODE CONFIGURATION\fP .RE \fBnodemgr edit authconfig\fP .RS open the auth.conf configuration file with the preferred editor .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr edit config\fP .RS open the node.conf configuration file with the preferred editor .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr get\fP .RS get the value of the node configuration parameter pointed by --param .TP .B --param=PARAM point a node configuration parameter for the 'get' and 'set' actions .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr print authconfig\fP .RS open the node.conf configuration file with the preferred editor .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr print config\fP .RS open the node.conf configuration file with the preferred editor .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr register\fP .RS obtain a registration number from the collector, used to authenticate the node .TP .B --app=APP Optional with the register command, register the node in the specified app. If not specified, the node is registered in the first registering user's app found. .TP .B --password=PASSWORD authenticate with the collector using the specified user credentials instead of the node credentials. Prompted if necessary but not specified. .TP .B --user=USER authenticate with the collector using the specified user credentials instead of the node credentials. Required for the 'register' action when the collector is configured to refuse anonymous register. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr set\fP .RS set a node configuration parameter (pointed by --param) value (pointed by --value) .TP .B --param=PARAM point a node configuration parameter for the 'get' and 'set' actions .TP .B --value=VALUE set a node configuration parameter value for the 'set --param' action .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr unset\fP .RS unset a node configuration parameter (pointed by --param) .TP .B --param=PARAM point a node configuration parameter for the 'get' and 'set' actions .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit \fRPUSH DATA TO THE COLLECTOR\fP .RE \fBnodemgr checks\fP .RS run node sanity checks, push results to collector .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushasset\fP .RS push asset information to collector .TP .B --sync use synchronous collector rpc. to use when chaining a compliance run, to make sure the node ruleset is up-to-date. .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushbrocade\fP .RS push Brocade switch configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushcentera\fP .RS push EMC Centera configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushdcs\fP .RS push Datacore configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushdisks\fP .RS push disks usage information to collector .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushemcvnx\fP .RS push EMC CX/VNX configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pusheva\fP .RS push HP EVA configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushfreenas\fP .RS push FreeNAS configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushgcedisks\fP .RS push Google Compute Engine disks configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushhds\fP .RS push HDS configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushhp3par\fP .RS push HP 3par configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushibmds\fP .RS push IBM DS configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushibmsvc\fP .RS push IBM SVC configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushnecism\fP .RS push NEC ISM configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushnetapp\fP .RS push Netapp configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushnsr\fP .RS push EMC Networker index to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushpatch\fP .RS push patch/version list to collector .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushpkg\fP .RS push package/version list to collector .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushstats\fP .RS push performance metrics to collector. By default pushed stats interval begins yesterday at the beginning of the allowed interval and ends now. This interval can be changed using --begin/--end parameters. The location where stats files are looked up can be changed using --stats-dir. .TP .B --begin=BEGIN a begin date expressed as 'YYYY-MM-DD hh:mm'. used with the 'collector ack action' and pushstats action .TP .B --end=END a end date expressed as 'YYYY-MM-DD hh:mm'. used with the 'collector ack action' and pushstats action .TP .B --stats-dir=STATS_DIR points the directory where the metrics files are stored for pushstats .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushsym\fP .RS push symmetrix configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --symcli-db-file=SYMCLI_DB_FILE [pushsym option] use symcli offline mode with the specified file. aclx files are expected to be found in the same directory and named either .aclx or .aclx .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr pushvioserver\fP .RS push IBM VIO server configuration to collector .TP .B --object=OBJECTS an object to limit a push* action to. multiple --object parameters can be set on a single command line .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .RE \fBnodemgr sysreport\fP .RS push system report to the collector for archiving and diff analysis .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit \fRSERVICE ACTIONS\fP .RE \fBnodemgr discover\fP .RS discover vservices accessible from this host, cloud nodes for example .TP .B --color=COLOR colorize output. possible values are : auto=guess based on tty presence, always|yes=always colorize, never|no=never colorize .TP .B --cron cron mode .TP .B --debug debug mode .TP .B --format=FORMAT specify a data formatter for output of the print* and collector* commands. possible values are json or table. .TP .B -h, --help show this help message and exit .SH OPTIONS .SH SEE ALSO .BR nodemgr (1) .BR svcmgr (1) .BR svcmon (1) .SH AUTHORS OpenSVC is developped and maintained by the OpenSVC company.