Difference between revisions of "Deploy Procedure in Kadeploy 3 and OAR"

From Supercomputación y Cálculo Científico UIS
Line 1: Line 1:
 +
'''Deploying a base image'''
  
To save the modified image
+
To be filled soon
 +
 
 +
'''Saving the modified image'''
  
 
In the machine execute these commands
 
In the machine execute these commands
Line 6: Line 9:
 
{{Command|<nowiki>rm /etc/udev/rules.d/70-persistent-net.rules</nowiki>}}
 
{{Command|<nowiki>rm /etc/udev/rules.d/70-persistent-net.rules</nowiki>}}
 
{{Command|<nowiki>mount -o bind / /mnt</nowiki>}}
 
{{Command|<nowiki>mount -o bind / /mnt</nowiki>}}
 
 
After exiting the machine, on the front-end execute the following commands:
 
After exiting the machine, on the front-end execute the following commands:
 
 
{{Command|<nowiki>ssh root@guanexx "cd /mnt; tar --posix --numeric-owner --one-file-system -zcf - *" > archivoImagen.tgz</nowiki>}}
 
{{Command|<nowiki>ssh root@guanexx "cd /mnt; tar --posix --numeric-owner --one-file-system -zcf - *" > archivoImagen.tgz</nowiki>}}
 
 
 
 
Create the following file in an accessible location:
 
Create the following file in an accessible location:
 
 
 
{{File|ambiente.dsc|<pre><nowiki>
 
{{File|ambiente.dsc|<pre><nowiki>
 
name : ambiente
 
name : ambiente

Revision as of 17:21, 8 September 2014

Deploying a base image

To be filled soon

Saving the modified image

In the machine execute these commands

rm /etc/udev/rules.d/70-persistent-net.rules
mount -o bind / /mnt

After exiting the machine, on the front-end execute the following commands:

ssh root@guanexx "cd /mnt; tar --posix --numeric-owner --one-file-system -zcf - *" > archivoImagen.tgz

Create the following file in an accessible location:

File: ambiente.dsc
name : ambiente

version : 1 
author : usuario 
tarball : /home/usuario/ambiente.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