In the last recipe, we made all the preparations required for deploying VSM. In this recipe, we will learn how to automatically deploy VSM on all the nodes.
In this demonstration, we will use CentOS7 as the base operating system; let's download the VSM repository for CentOS7. Log in to the
vsm-controller
node ascephuser
and get VSM:$ wget https://github.com/01org/virtual-storage-manager/releases/download/v2.0.0/2.0.0-216_centos7.tar.gz
Note
VSM is also available for the Ubuntu OS and can be downloaded from https://github.com/01org/virtual-storage-manager.
Extract VSM:
$ tar -xvf 2.0.0-216_centos7.tar.gz $ cd 2.0.0-216 $ ls -la
Set the Controller node and agent node's address; add the following lines to the
installrc
file:AGENT_ADDRESS_LIST="192.168.123.101 192.168.123.102 192.168.123.103" CONTROLLER_ADDRESS="192.168.123.100"
Verify the
installrc
file:$ cat installrc | egrep -v "#|^$"
In the
manifest
folder, create directories using the name of the management...