» Home
Table of Contents
DiVA User's Guide
This guide is a how-to use an existing installation of DiVA.
Command-Line
Usage:
Usage: diva COMMAND... Commands: -d, --deploy [NAME] update image, create volume if needed and start component(s) -u, --update-image [NAME] update image component(s) from original repository -U, --update-component <NAME> <REV> update the component to a specific revision -s, --start [NAME] create if necessary and start the component(s) -S, --stop [NAME] stop component(s) -r, --remove [NAME] remove component(s) -i, --infos [NAME] print information of component(s) -R, --running [NAME] print running status of component(s) -e, --exec <NAME> <CMD> execute a command inside a component -E, --enter <NAME> enter into a running component -c, --conf <NAME> <ARGS> configure a component -C, --create <NAME> <REV> create a component -o, --commit [NAME] create a revision of the actual state of a component -p, --path [NAME] print DiVA home path or path to component -V, --version output version information -h, --help display this help Combine Commands: -Ss, --stop --start restart components -rd, --remove --deploy redeploy a clean installation
Example:
Obtain info about a component:
$ diva -i DiVA-apache DiVA-apache: ------------ ip : 192.168.10.42 running : False veid : 1042 uuid : 11a79880-02ca-4540-b78f-40318dc77242 args : www: www hostname: DiVA-apache log: log/DiVA-apache
Restart a component:
$ diva -Ss DiVA-WebManager
Restore original state of a component:
$ diva -rd DiVA-WebManager
Back up to: Documentation