Création d’appliance Scientific Linux 6.5

Toute machine (physique ou virtuelle) a besoin d’un disque de démarrage contenant le système d’exploitation.

Nous vous proposons ici les scripts permettant de créer un nouveau disque de démarrage Scientific Lunux 6.5. Pour créer une nouvelle appliance (ou disque de démarrage), vous devez exécuter ces scripts dans une machine (physique ou virtuelle) Scientific Linux 6.

Tout ceci est fait avec l’outil Kickstart.

Exécution

Vous devez avoir les privilèges administrateur pour exécuter le script.


$> ./sl65_createlivecd.sh

Scripts

le script bash "sl65_createlivecd.sh";
le fichier kickstart "sl65_createlivecd.ks".

Vous devez aussi télécharger nos scripts de contextualisation.

Creating Scientific Linux 6 appliances

Any machine (physical or virtual) needs a boot disk containing the operating system.

Here, we propose scripts to create new customized Scientific Lunux 6.5 bootable disk image (or appliance). You must use these scripts inside a Scientific Linux host.

All this is done using Kickstart.

Execution

Administrator privileges are need to run the script.


$> ./sl65_createlivecd.sh

Scripts

bash script "sl65_createlivecd.sh";
kickstart file "sl65_createlivecd.ks".

You must also download our contextualization scripts.

VirtualBox

The middleware proposes a bash script to manage virtual machine in VirtualBox. You can use this script to test an appliance in your own computer with VirtualBox installed,.

Using this script, you can:
– get help, if you provide no parameter or use ‘-h’ or ‘–help’;
– install a new virtual machine in Virtualbox;
– start a virtual machine in Virtualbox;
– stop a virtual machine in Virtualbox;
– remove a virtual machine from Virtualbox.

Execution


$> ./xwstartvm.sh
Usage : ./xwstartvm.sh --install --name vm_name --hda aFile [install_parameters] | --start --name vm_name | --stop --name vm_name | --uninstall --name vm_name

When running on the Grid Computing, commands are automatically and sequentially executed as follow
[1] install –hda aFile [install_parameters] [2] start
[3] stop
[4] uninstall

–install –name vm_name –hda aFile [–context aFile] [–app aFile] [–input aFile] [–result aFile] [–sshport portNumber] [–sharedfs aDirectory] This installs a new VM in VirtualBox and exits.
Install parameters:
–hda aFile : This is required
This provides the boot disk (an ISO, VDI, VMDK or VHD)

–context aFile : This is optional
This provides a file or a directory as context
If this is not a virtual disk (VD), a new VD is created containing aFile (recursively, if applicable)
If this is a VD (an ISO, VDI, VMDK or VHD), it is kept as is
The VD will be mounted on /mnt/xwcontext

–app aFile : This is optional
This provides a virtual disk (VD) file to mount on /mnt/app
This file may be ISO, VDI, VMDK or VHD file
This typically contains user application stack
This is removed at VM shutdown

–input aFile : This is optional
This provides a virtual disk (VD) file to mount on /mnt/input
This file may be ISO, VDI, VMDK or VHD file
This typically contains user application input files
This is removed at VM shutdown

–result aFile : This is optional
This provides a virtual disk (VD) file to mount on /mnt/result
This file may be ISO, VDI, VMDK or VHD file
If not provided, the script creates, formats
and mounts a new empty 30Gb disk
This will contain user application results
This is kedpt at VM shutdown and sent back to user

–sharedfs : This is optional
This provides a local directory to be mounted inside the VM on /mnt/sharedfs
This is forced to , when running on the Grid Computing
–sshport : This is optional
This provides a port number to forward to VM port 22, to connect through ssh

–start –name vm_name
This starts vm_name

–stop –name vm_name
This stops vm_name

–uninstall –name vm_name
This uninstalls vm_name from VirtualBox

 

Scripts

bash script “xwstartvm.sh”;
bash script “createvdi”.

Création d’appliance Scientific Linux 5

Ceci est obsolète

Vous devriez utiliser Scientific Linux 6.

Introduction

Toute machine (physique ou virtuelle) a besoin d’un disque de démarrage contenant le système d’exploitation.

Nous vous proposons ici les scripts permettant de créer un nouveau disque de démarrage Scientific Lunux 5. Pour créer une nouvelle appliance (ou disque de démarrage), vous devez exécuter ces scripts dans une machine (physique ou virtuelle) Scientific Linux 5.

Exécution

Vous devez avoir les privilèges administrateur pour exécuter le script.


$> ./sl5_createlivecd.sh

Scripts

le script bash "sl5_createlivecd.sh".

Vous devez aussi télécharger nos scripts de contextualisation.

Creating Scientific Linux 5 appliances

This is deprecated

You should prefer Scientific Linux 6.

Introduction

Here, we propose scripts to create new customized Scientific Lunux 5 bootable disk image (or appliance). You must use these scripts inside a Scientific Linux host.

Execution

Administrator privileges are need to run the script.


$> ./sl5_createlivecd.sh

Scripts

bash script "sl5_createlivecd.sh".

You must also download our contextualization scripts.

LiveCD

Les appliances proposées ici ont toutes été générées avec les outils proposés ici.

OSArchContextSSH
connection
LoginsudoMount guest FSConnect
as root
Access
to LAN
sizeMD5sumDate
Scientific Linux Scientific Linux 6.5

32yesyesvmuser poweroff nonono481Mb52041f50e36e9ab012ad991755069af8Dec 19th, 2014
Scientific Linux Scientific Linux 6.5

32yesyesvmuser poweroff nonono450Mb4a659746d192fbd4c8fa7c03b2262d3cOct 3th, 2014
Ubuntu Ubuntu 12

32yesyesvmuserpoweroffnonoyes445Mb30cc7a1cdf433003cef1b90a7f0a5cd5Feb 5th, 2014
CernVM CernVM 2.5.3 set up for Atlas experiment

32yesyesvmusershutdownnonono240Mb1661abd105e10fca7c81cb6c1e3e698aSept 27th, 2012