typo
← Older revision
Revision as of 04:24, 19 February 2013
(5 intermediate revisions not shown)
Line 40:
Line 40:
=== Pool2: Shared LVM storage for KVM guests ===
=== Pool2: Shared LVM storage for KVM guests ===
-
By using the shared LUN feature, you can assign a virtual disk to multiple compute modules enabling live migration of KVM guests between compute modules.
+
By using the shared LUN feature, you can assign a virtual disk to multiple compute modules enabling live migration of KVM guests between compute modules.
This is one of the main advantages of the IMS, as you do not need an extra SAN box. No need for expensive fiber channel (FC) infrastructure or the complexity of configuration of an extra storage network for iSCSI.
This is one of the main advantages of the IMS, as you do not need an extra SAN box. No need for expensive fiber channel (FC) infrastructure or the complexity of configuration of an extra storage network for iSCSI.
Line 49:
Line 49:
'''Example: Four 300GB disks'''
'''Example: Four 300GB disks'''
-
As we use Raid10, we have a total capacity of 600 GB, so we can use 600 GB for our KVM virtual machines.
+
As we use Raid10, we have a total capacity of 600 GB, so we can use 600 GB for our KVM virtual machines.
=== Pool3: Backup and ISO images - NFS ===
=== Pool3: Backup and ISO images - NFS ===
Line 161:
Line 161:
[[Image:Add-NFS-Backup-Store.png|Add-NFS-Backup-Store]]
[[Image:Add-NFS-Backup-Store.png|Add-NFS-Backup-Store]]
+
+
== Optional: Configure Multi-Path ==
+
+
The Intel modular server can be configured with two storage controllers. If one controller goes down the other one can take over. In order for fail-over to work the OS on each blade must be configured to be multipath aware. The ProxMox 2.x bare-metal iso, based on Debian 6, is not fully multi-path aware by default. The following is a how-to tested on ProxMox VE 2.2. Many thanks to Tozz, Kaya, mjoconr and others on the forum for help with this! This how-to is based on the above flex server configuration with installation disk = sda1 shared LVM storage = sdb1 and backup/iso images = sdc1
+
+
*Install the following packages:
+
+
*The grub packages in Debian 6 do not support multipath-tools-boot and therefore you need to install packages from Debian 7 repositories. The following package links worked on February 18th 2013, but may need to be updated as packages change, download and install the following packages: (you can just cut and paste these in the command land to download, use dpkg -i to install)
+
+
*Find the wwid of each disk
+
+
*create /etc/multipath.conf and add the wwid's and aliases for each disk. In the example below I have added an entry for the installation disk sda = system, shared LVM Storage sdb = vmdisks and backup/iso images sdc = vzdumps.
+
+
+
+
*Restart multipath
+
+
+
+
*Modify /etc/fstab for new multipath devices (aliases) This is an example of my /etc/fstab, in this case my two drives are listed by UUID but they could also be listed as /dev/sda and /dev/sdc. I commented the old entries out so you can see what it looked like before the change. '''Note''': there is no entry for vmdisks or /dev/sdb
+
+
+
+
*Re-create inittramfs
+
+
*Disable UUID in /etc/default/grub
+
*update Grub
+
+
*Reboot Server and press ESC during GRUB. Edit boot path by replacing UUID with /dev/mapper/system-part1 and boot system by hitting F10
+
*After the system boots up, log in and do a "update-grub" to save the new boot path. Reboot the server to make sure all is working.
+
*you can see if mulitpath is working with the following command:
+
+
the output should look something like this:
+
+
*Then for the final test: pull out the storage controller to which the blade you just configured has affinity and see if your system still works. Don't do this on a production system!
= Install Virtual Machines =
= Install Virtual Machines =
Line 176:
Line 295:
= Links =
= Links =
-
* [http://www.intelmodularserver.com Intel Modular Server]
+
*[http://www.intelmodularserver.com Intel Modular Server]
-
* [http://imskey.intel.com/ Intel® Shared LUN product code: '''MFSLUNKEY''']
+
*[http://imskey.intel.com/ Intel® Shared LUN product code: '''MFSLUNKEY''']
[[Category:HOWTO]] [[Category:Hardware]]
[[Category:HOWTO]] [[Category:Hardware]]