Download OAR - XtreemOS
Transcript
IST-033576 D4.3.1 If /dev is mounted using "udev" (it’s probably the case if a /dev/.udevdb directory exists), the directions to follow can be found on the wiki at: Sidebar > User Docs > Kadeploy > Environments requirements > \ udev and devfs Warning. Kadeploy insists archives be named with a .tgz extension and not .tar.gz. Moreover, the system user deploy should have "read access" to the archive file (this hence also means "execute access" on each subdirectories from the user homedir to that file) in order to deploy an environment based on this archive. 4.5.3 Recording this environment for future deployments This is done using the karecordenv command. It allows to create a pointer in the Kadeploy database to the archive and associate to it a name, that can be recalled by the kadeploy command, as well as a post-install archive to finely adjust some system files and make the system bootable on each different deployed node. An environment thus consists of this association between an image archive, a name and a post-install archive, along with some other minor parameters. To find all the parameters of this command, one method is to read the output of karecordenv -h. Usage : karecordenv -n | --name -v | --version -d | --description -a | --author -fb | --filebase -ft | --filesite -s | --size -i | --initrdpath -k | --kernelpath -p | --param -fd | --fdisktype -fs | --filesystem -o | --optsupport -fe | --file_environment -h environment name version (default description author’s email environment image path post-installation file path size (Mo) initrd path kernel path kernel parameters fdisk type (default file system (default optimisation support (default is 1) is 83) is ext2) is 0) get this help message Here, the -i and -k parameters are pointers to system files within the user environment needed to build the correct boot loader (Kadeploy uses "grub"). The files in the following example correspond to the default kernel installed in the debian4all environment, which are still valid in the customized environment (unless the user has compiled another kernel...). yjegou@parasol-dev:~$ karecordenv \ -n "debian4all-jegou" \ -v 1 \ -d "customized debian4all by Yvon Jegou" \ -a Yvon.Jegou@irisa.fr \ -fb file:///home/rennes/yjegou/archive.tgz \ -ft file://usr/local/kadeploy/Scripts/postinstall/post\ XtreemOS–Integrated Project 36/53