stoney cloud: Multi-Node Installation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
==== Manual Steps ==== | ==== Manual Steps ==== | ||
In order to be able to migrate a VM from one carrier to another, a special unprivileged user called transfer will be created. This user is able to open sftp connections to another carrier and fetch a VM's disk file (qcow2 image). | |||
Install a transfer user. | Install a transfer user. | ||
< | Create the user and generate an SSH private/public key pair (without a pass phrase): | ||
<source lang="bash"> | |||
lvcreate -L 60G -n transfer local0 | lvcreate -L 60G -n transfer local0 | ||
Line 20: | Line 24: | ||
mount /home/transfer | mount /home/transfer | ||
</ | useradd --comment "User which is used for VM disk file transfer between carriers" \ | ||
--create-home \ | |||
--system \ | |||
--user-group \ | |||
transfer | |||
passwd transfer | |||
</source> | |||
[[Category:Documentation]] | [[Category:Documentation]] |
Revision as of 16:33, 6 September 2013
Specialized Installation
Primary-Master-Node (vm-node-01)
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.
Log into the Primary-Master-Node and execute the node-configuration script as follows:
/usr/sbin/fc-node-configuration --node-type primary-master-node
Manual Steps
In order to be able to migrate a VM from one carrier to another, a special unprivileged user called transfer will be created. This user is able to open sftp connections to another carrier and fetch a VM's disk file (qcow2 image).
Install a transfer user.
Create the user and generate an SSH private/public key pair (without a pass phrase):
lvcreate -L 60G -n transfer local0
mkfs.xfs -L "OSBD_transfe" /dev/local0/transfer
cat << EOF >> /etc/fstab
LABEL=OSBD_transfe /home/transfer xfs noatime,nodev,nosuid,noexec 0 2
EOF
mount /home/transfer
useradd --comment "User which is used for VM disk file transfer between carriers" \
--create-home \
--system \
--user-group \
transfer
passwd transfer