Local-Storage deployment
When you select local-storage (with or without parameters) this means
that the installed server will always boot from local disk!
To grab an image from an installed node and provision a 'scratch node' follow the steps below :
- Enable and start the local-storage plugin via the plugin manager
- Create a new 'local-storage' storage component
- choose storage overview
- select new storage
- fill in : storage name, storage type ('local-storage' server), storage capabilities,
comment and select the storage server in the resource list
- Create a new 'local-deployment' image
- choose images overview
- select new image
- select 'local-deployment'
- fill
in : image name, image version, root device, root-fs type, deployment
parameter, comment, capabalities and select the local storage server
from the local storage server list
- deployment parameters :
- IMAGE_GRAB_TO='nfs-share'
fill in the 'nfs-share' which is defined on your 'local-storage' server to store your images - IMAGE_INSTALL_FROM='nfs-share'
fill
in the 'nfs-share' where your deployment image is stored on your
'local-storage' server (mostly the same as grab_to 'i guess') - You
can also transform your rootfs to an nfs share with
IMAGE_TRANSFORM_TO_NFS='nfs-share' the 'root device' will then be
copied to the 'nfs-share'
- When you want to install your rootfs
via nfs you can use the parameter IMAGE_INSTALL_FROM_NFS='nfs-share'
the data on the 'nfs-share' will then be copied to the 'root device'
- Create a new appliance (link kernel, image and resource)
- choose appliances overview
- select new appliance
- fill
in : appliance name, select kernel (mostly default), select server
image (the one you just made), give optional parameters and select the
resource (where you want to grab or install an image)
- If you want to grab or install the image
Notes :
I
used the first two parameters to install my cluster nodes. first 'grab'
an image from a fully installed node and then 'install_from' to
provision the rest but i also tested the other parameters.
This howto is brought to you by Tom Degroote