Deploy Procedure in Kadeploy 3 and OAR
Administración
In this section we describe all the administration tasks for the job scheduler OAR
Kadeploy
Deploying a base image
It's necessary to check the exact name of the environment to deploy. The command kaenv3 -l allows to see all the environments available for the current user.
In this example, the base image selected for deployment is 'squeeze-x32-base'.
Then you can access the deployed node via ssh:
Saving the modified image
In the machine execute these commands
After exiting the machine, on the front-end execute the following commands, where xx is a numeric string between 01 and 16 (nodes availables at the moment) and archivoImagen.tgz is the filename of the image file:
Create the following file (in this case ambiente.dsc) in an accessible location, taking into account the filename used and other similar parameters:
name : ambiente version : 1 author : usuario tarball : /home/usuario/archivoImagen.tgz|tgz kernel : /boot/vmlinuz-2.6.26-2-amd64 initrd : /boot/initrd.img-2.6.26-2-amd64 fdisktype : 83 filesystem : ext3 visibility : private demolishing_env : 0 environment_kind : linux
In this case the image is going to be private, which means it can only be accessed and deployed by the user that created it. If you want it to be public, root must do it, and must set the visibility parameter to public in the dsc file; also, it is advisable to copy the image file to /home/images, lest you want to set a complicated permissions scheme, then you have to change the path in the dsc file accordingly:
name : ambiente version : 1 author : usuario tarball : /home/images/archivoImagen.tgz|tgz kernel : /boot/vmlinuz-2.6.26-2-amd64 initrd : /boot/initrd.img-2.6.26-2-amd64 fdisktype : 83 filesystem : ext3 visibility : public demolishing_env : 0 environment_kind : linux
After the dsc file is ready you must run the following command to add the environment:
Remember checking the dsc file name and path. Now can check with:
And the new environment must appear in the list. It will be ready to use.