diff --git a/docs/ngcpcfg.txt b/docs/ngcpcfg.txt index 2b2bc3f5..a7cb9223 100644 --- a/docs/ngcpcfg.txt +++ b/docs/ngcpcfg.txt @@ -443,6 +443,21 @@ as argument then the changes will be pushed to the shared repository and to the given hosts only. If no host has been specified then the hosts specified in _/etc/ngcp-config/systems.cfg_ are used. The magic word 'all' can be used as a 'host' to push the changes on all the nodes from the network.yml except the local one. +Note: This option is available in the High Availability setup only. + + **push-parallel** [--apply-on-all-nodes] []:: + +Like the action 'push' above, action 'push-parallel' pushes modifications to the +shared repository and remote systems _in parallel_. After the changes have been +pushed to the nodes the _apply_ operation will be executed on the remote systems +to rebuild the configuration files. All the actions are only performed on HA inactive +nodes (unless the option '--apply-on-all-nodes' is specified). +If one or multiple hostnames or IP addresses are given as arguments then the +changes will be only pushed to the shared repository and the actions performed +only on the given hosts. +If no hosts have been specified then the 'push' will hapen to all HA inactive nodes. +All 'ngcpcfg' output is muted on STDOUT but available in the log file +'/var/log/ngcp/ngcpcfg-parallel.log' on each node. Note: This option is available in the High Availability setup only. **services** [--dry-run]:: diff --git a/sbin/ngcpcfg b/sbin/ngcpcfg index d3106656..389654b4 100755 --- a/sbin/ngcpcfg +++ b/sbin/ngcpcfg @@ -64,7 +64,8 @@ Actions: # display only if ngcp-ngcpcfg-ha is available if [ -r /usr/share/ngcp-ngcpcfg/functions/ha_features ] ; then - printf " push [] push modifications to other systems (shared storage setup only)\n" + printf " push [] push modifications to other node(s) (shared storage setup only)\n" + printf " push-parallel push modifications to other node(s) in parallel (shared storage setup only)\n" printf " pull retrieve modifications from shared storage (shared storage setup only)\n" fi @@ -151,6 +152,7 @@ case ${1:-} in log|\ pull|\ push|\ + push-parallel|\ services|\ status|\ set|\