TT#63758 Add 'push-parallel' action in ngcpcfg and manuals

Change-Id: Ib560b28d14bb75c9817894350cd14fbd3614a350
changes/91/32091/4
Alexander Lutay 7 years ago
parent 4335b98f02
commit 20127f0b8c

@ -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] [<host(s)>]::
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]::

@ -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 [<opts>] push modifications to other systems (shared storage setup only)\n"
printf " push [<opts>] 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|\

Loading…
Cancel
Save