The Latest Gartner® Magic Quadrant™Hyperconverged Infrastructure Software
Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)
Thanks. I figured I was missing something obvious. As for XenServer, I've heard this come up before, but it has never been any real issues as a result. There can be some issues with alignment, so I'm told... but nothing too noticeable on my end.darklight wrote:You have to choose Hard Disk Device -> Virtual Disk instead of Physical Disk option while creating a Starwind device. And you will be fine.
My concern here is that AFAIK Storage Spaces is aligned to 4K block size and for XenServer you have to use 512B block size devices... not sure it will work this way but give it a try!
So... I've made some progress. I had to uninstall/reinstall SW because no matter what I did, I couldn't get the the management console to connect after I removed the old iSCSI stuff I erroneously built. Also, it did not ask me for a license key this time, but I do have it on the desktop. The option of Host > Install License is grayed out, so I'm hoping all is good there. No nag screens yet.Vladislav (Staff) wrote:Hi Cabuzzi!
These aren't the droids you're looking for (c)
In order to create your StarWind devices you should choose Virual Disk option in the "Add new device" manager. Please check the screenshot in the attachment
P.S: Our Xen documentation looks a bit outdated so I would like to advice you starting with our Hyper-V guide: https://www.starwindsoftware.com/techni ... manual.pdf in order to learn how to create StarWind devices and than move to Xen guide: https://www.starwindsoftware.com/techni ... Server.pdf after initial steps are finished.
P.P.S: Also please keep in mind that we are not yet officially support Storage Spaces and hardware RAID is highly recommended.
Also, thanks darklight for your awesome contribution. We highly appreciate it
Code: Select all
[root@xen1 etc]# more multipath.conf
# This configuration file is used to overwrite the built-in configuration of
# multipathd.
# For information on the syntax refer to `man multipath.conf` and the examples
# in `/usr/share/doc/device-mapper-multipath-*/`.
# To check the currently running multipath configuration see the output of
# `multipathd -k"show conf"`.
defaults {
user_friendly_names no
replace_wwid_whitespace yes
dev_loss_tmo 30
}
devices {
device {
vendor "DataCore"
product "SAN*"
path_checker "tur"
path_grouping_policy failover
failback 30
}
device {
vendor "DELL"
product "MD36xx(i|f)"
features "2 pg_init_retries 50"
hardware_handler "1 rdac"
path_selector "round-robin 0"
path_grouping_policy group_by_prio
failback immediate
rr_min_io 100
path_checker rdac
prio rdac
no_path_retry 30
}
device {
vendor "DGC"
product ".*"
detect_prio yes
retain_attached_hw_handler yes
}
device {
vendor "EQLOGIC"
product "100E-00"
path_grouping_policy multibus
path_checker tur
failback immediate
path_selector "round-robin 0"
rr_min_io 3
rr_weight priorities
}
device {
vendor "IBM"
product "1723*"
hardware_handler "1 rdac"
path_selector "round-robin 0"
path_grouping_policy group_by_prio
failback immediate
path_checker rdac
prio rdac
}
device {
vendor "NETAPP"
product "LUN.*"
dev_loss_tmo 30
}
device {
vendor "FreeBSD"
product "iSCSI Disk"
path_grouping_policy multibus
path_selector "round-robin 0"
rr_min_io 1
}
}
Also, regarding question 3, I just wanted confirmation that LSFS is the correct file system to use for VMs on shared storage (vs NTFS).Cabuzzi wrote:2) What (if any) changes should I make to the multipathing on the XenServer side? For FreeNAS, I had to put an entry in the "devices" section of the multipath.conf file. It would work without it... it's just MPIO wasn't working *great* until I added the FreeBSD section. Here is a look at what the config looks like:
Code: Select all
[root@xen1 etc]# more multipath.conf # This configuration file is used to overwrite the built-in configuration of # multipathd. # For information on the syntax refer to `man multipath.conf` and the examples # in `/usr/share/doc/device-mapper-multipath-*/`. # To check the currently running multipath configuration see the output of # `multipathd -k"show conf"`. defaults { user_friendly_names no replace_wwid_whitespace yes dev_loss_tmo 30 } devices { device { vendor "DataCore" product "SAN*" path_checker "tur" path_grouping_policy failover failback 30 } device { vendor "DELL" product "MD36xx(i|f)" features "2 pg_init_retries 50" hardware_handler "1 rdac" path_selector "round-robin 0" path_grouping_policy group_by_prio failback immediate rr_min_io 100 path_checker rdac prio rdac no_path_retry 30 } device { vendor "DGC" product ".*" detect_prio yes retain_attached_hw_handler yes } device { vendor "EQLOGIC" product "100E-00" path_grouping_policy multibus path_checker tur failback immediate path_selector "round-robin 0" rr_min_io 3 rr_weight priorities } device { vendor "IBM" product "1723*" hardware_handler "1 rdac" path_selector "round-robin 0" path_grouping_policy group_by_prio failback immediate path_checker rdac prio rdac } device { vendor "NETAPP" product "LUN.*" dev_loss_tmo 30 } device { vendor "FreeBSD" product "iSCSI Disk" path_grouping_policy multibus path_selector "round-robin 0" rr_min_io 1 } }
3) During the install, I was asked if I wanted to do thick provisioning, or LSFS. I didn't previously know what that was, so I looked it up on your site, and it seemed to be storage optimized for virtualization, so I choose that.
...but when you look at the device paths in XenServer, you'll see that "ROCKET" and "IMAGEFILE" are not even how the paths are presented to Xen. It shows in Xen as "STARWIND,STARWIND". If I were to enter what is in your current documentation, the multipath policies would not apply. If I'm not mistaken, this is a change on your end... not Citrix's, but I could be wrong. Either way, I have to wonder if the other settings defined for the device are still correct.To apply multipathing take the following actions for each XenServer in the pool:
1. Insert the following block into the defaults
section of the /etc/multipath.conf:
2. Insert the following block into the devices section of the /etc/multipath.conf:Code: Select all
defaults { polling_interval 10 max_fds 8192 }
Code: Select all
device { vendor "ROCKET" product "IMAGEFILE" path_selector "round-robin 0" path_grouping_policy multibus getuid_callout "/sbin/scsi_id -g -u -s /block/%n" prio_callout none path_checker readsector0 rr_min_io 100 rr_weight priorities failback immediate no_path_retry 5 }
Code: Select all
[root@xen1 by-scsid]# multipath -ll
2e0cdb9916453fd4f dm-12 STARWIND,STARWIND
size=3.5T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 109:0:0:0 sdf 8:80 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 110:0:0:0 sdg 8:96 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 111:0:0:0 sdh 8:112 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 112:0:0:0 sdi 8:128 active ready running
36589cfc000000b8c7d2eba0fc493b9e8 dm-0 FreeBSD,iSCSI Disk
size=7.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 48:0:0:0 sdb 8:16 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 49:0:0:0 sdc 8:32 active ready running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 50:0:0:0 sdd 8:48 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 51:0:0:0 sde 8:64 active ready running