Download OAR - XtreemOS

Transcript
IST-033576
D4.3.1
kadeploy deploys the specified environment on the requested nodes. When successfully over, the
nodes are available under the new and freshly installed environment. It needs critic variables to be
defined in the /etc/kadeploy/deploy.conf configuration file; see configuration file section for
further details.
Options
-e, --environment environment_name
- the name of the environment to deploy
-m, --machine hostname
- specifies a host. This option can be used more than once to specify
several hosts. By default, it tries to deploy on all the nodes.
-p, --partition partition
- the target partition. This option can’t be used more than once and the
partition is the same for all the nodes.
Configuration files
/etc/kadeploy/deploy.conf
Contains variables that should be defined prior to the command execution. These variables are grouped
into several sections. A very short description is available for each variable and sometimes example
values are given in commentary. The file is read once at the beginning of the execution and prior to any
other action. The syntax is the following:
# section_name #
# ------------ #
# short description
var_name1 = var_value1
# short description
var_name2 = var_value2
# example_value
...
Also, an example of this file can be found at in the tools/cookbook/ folder.
/etc/kadeploy/deploy_cmd.conf
Contains entries describing reboot command needed for deployment. Please see kareboot man page
for further details.
kadeploy needs read and write access to several folder and files to acheive a deployment. These rights
should be granted to the deploy user. Here are the files and folder list:
• $KADEPLOYDIR/boot/ contains utilities (binaries etc.) for grub/pxe/reboot stories
• the tftp folder where grub and pxe files will be written and that should be defined in the
/etc/kadeploy/deploy.conf configuration file
• and /tmp/ for a few temporary files
Example:
kadeploy -e debian -m node7 -p hda3
XtreemOS–Integrated Project
46/53