18. Tools für HBA (Emulex)
Commands und Parameter
# /usr/sbin/hbanyware/hbacmd listHBAs
Beispiel:
HBA_LoadLibrary: Encounterd and error loading: /usr/lib/
libqlsdm.so
Manageable HBA List
Port WWN : 10:00:00:00:c9:80:7c:6d
Node WWN : 20:00:00:00:c9:80:7c:6d
Fabric Name: 10:00:00:05:1e:56:57:9d
Flags : 8000f100
Host Name : xenserveribm1
Mfg : Emulex Corporation
Serial No. : 11S42D0487YK50HY83985R
19. Tools für HBA (QLogic)
Menü (SANsurfer)
# scli
Beispiel:
2: HBA Information Menu
HBA Model QLE2462
1: Port 1: WWPN: 21-00-00-1B-32-1B-3D-FD Online
2: Port 2: WWPN: 21-01-00-1B-32-3B-3D-FD Online
3: All HBAs
4: Return to Previous Menu
20. Multipathing Aktivierung (DMP)
Stoppen aller laufenden VMs
Unplugen der Physical Block Devices (PBDs)
Ausführung auf allen XenServer im Pool!
„Enter Maintenance Mode“
„Enable Multipathing” in der GUI
„Repair the storage“
21. Multipathing Aktivierung (DMP)
CLI Instruction
Setzen der des Hosts „other-config:multipathing“
Parameter:
# xe host-param-set other-
config:multipathing=true uuid=host_uuid
Setzen der des Hosts „other-config:multipathhandle“
Parameter für DMP:
# xe host-param-set other-
config:multipathhandle=dmp uuid=host_uuid
22. Multipathing Aktivierung (MMP)
Der mppVhba
Dell: MD3000 and MD3000i
IBM: FAStT100, FAStT200, FAStT500,
Treiber wird nur für FAStT700, FAStT900, FAStT600,
FAStT600Turbo, DS4100, DS4300, DS4300,
spezifische DS4400, DS4500, DS4800, DS4700,
DS4200, DS3200, DS3400, DS3300,
Hardware geladen DS5000, DS5020 and EXP5060
Fujitsu: Primergy Storage SX300
mpp Konfiguration / SGI: TP9300, ISTR-331 or -332, TP9400,
TP9500, TP9500S, TP9700x, TP9600 and
etc/mpp.conf IS220
StorageTek: OPENstorage D173, D178,
mpp RDAC wird von 9176, D178, BC84, D210, D220, D240,
D280, B280, FLX210, FLX240, FLX280 and
initrd geladen FLX380
Sun: Sun 6130, Sun 6140, Sun 6540,
StorageTek 2510, StorageTek 2530,
MPP muss einmal StorageTek 2540, StorageTek 6180,
StorageTek 6580 and StorageTek 6780
aktiviert werden! Teredata: 6284, 6287, 6840, 6841, 6842,
6843, 6844 and 9204
Verari Systems: VS4200, VS4400 and
VS7000
Stand: 6.10.2009
29. Pfad-Informationen aktualisieren
DMP
# /opt/xensource/sm/mpathcount.py
Für multipath –ll und GUI (XenCenter)
MPP
Nicht möglich/notwendig (da Gerätetreiber!)
Editor's Notes
Hinweise zu Copyright und Marken
Die in diesen Unterlagen enthaltenen Angaben und Daten können ohne vorherige Ankündigung geändert werden.
DIESE PUBLIKATION WIRD OHNE JEDLICHE HAFTUNG, AUSDRÜCKLICH ODER ABGELEITET, EINSCHLIESSLICH DER VERKÄUFLICHKEIT, EIGNUNG FÜR EINEN BESTIMMTEN ZWECK ODER NICHT VERLETZUNG VON RECHTEN VERÖFFENTLICHT. ES WIRD WEDER FÜR TECHNISCHE ODER REDAKTIONELLE FEHLER ODER AUSLASSUNGEN NOCH FÜR DIREKTE, INDIREKTE, FOLGESCHÄDEN ODER ANDERE SCHÄDEN, DIE AUS DEM BEREITSTELLEN, DER LEISTUNG ODER DER VERWENDUNG DIESER PUBLIKATION ENTSTEHEN, SELBST WENN IM VORAUS ÜBER DIESE MÖGLICHEN SCHÄDEN INFORMIERT WURDE.
Dieses Dokument enthält urheberrechtlich geschützte Informationen. Außer für eine interne Verteilung darf kein Teil dieses Dokuments fotokopiert oder auf irgendeine Art und Weise ohne die vorherige schriftliche Genehmigung reproduziert werden.
Erwähnte Produktnamen sind möglicherweise Marken und/oder eingetragene Marken der jeweiligen Unternehmen.
Copyright © 2009 DNS Deutschland GmbH
Kontakt und weitere Informationen:
André Dannbacher
Technical Sales Consultant
Citrix Access & SBC-Markets
Business Development & Marketing Group
Digital Network Services Deutschland GmbH
Industriestrasse 10 a
82256 Fuerstenfeldbruck
Tel.: +49 (0) 8141/3536-662
Fax: +49 (0) 8141/3536-887
Mobil: +49 (0) 175/5755347
mailto:andre.dannbacher@dns-gmbh.de
Internet: http://www.dns-gmbh.de
LVM XenServer 5.5 (LVHD)
Replaces LVM for SRs
Hosts VHD files directly on LVM volumes
Best of both worlds
Features of VHD
Performance of LVM
Adds Advanced Storage features
Fast Cloning
Snapshots
Fast and simple upgrade
Backwards compatible
LVM does not offer features like Fast Cloning and thin provisioning, EXT does but has performance issues because of the ext3 support for AIO+DIO. LVHD addresses this by hosting VHD files directly on LVM volumes.
Backwards compatible: LVHD can handle raw VDIs previously created by LVM SR
Hinweise zu Copyright und Marken
Die in diesen Unterlagen enthaltenen Angaben und Daten können ohne vorherige Ankündigung geändert werden.
DIESE PUBLIKATION WIRD OHNE JEDLICHE HAFTUNG, AUSDRÜCKLICH ODER ABGELEITET, EINSCHLIESSLICH DER VERKÄUFLICHKEIT, EIGNUNG FÜR EINEN BESTIMMTEN ZWECK ODER NICHT VERLETZUNG VON RECHTEN VERÖFFENTLICHT. ES WIRD WEDER FÜR TECHNISCHE ODER REDAKTIONELLE FEHLER ODER AUSLASSUNGEN NOCH FÜR DIREKTE, INDIREKTE, FOLGESCHÄDEN ODER ANDERE SCHÄDEN, DIE AUS DEM BEREITSTELLEN, DER LEISTUNG ODER DER VERWENDUNG DIESER PUBLIKATION ENTSTEHEN, SELBST WENN IM VORAUS ÜBER DIESE MÖGLICHEN SCHÄDEN INFORMIERT WURDE.
Dieses Dokument enthält urheberrechtlich geschützte Informationen. Außer für eine interne Verteilung darf kein Teil dieses Dokuments fotokopiert oder auf irgendeine Art und Weise ohne die vorherige schriftliche Genehmigung reproduziert werden.
Erwähnte Produktnamen sind möglicherweise Marken und/oder eingetragene Marken der jeweiligen Unternehmen.
Copyright © 2009 DNS Deutschland GmbH
Kontakt und weitere Informationen:
André Dannbacher
Technical Sales Consultant
Citrix Access & SBC-Markets
Business Development & Marketing Group
Digital Network Services Deutschland GmbH
Industriestrasse 10 a
82256 Fuerstenfeldbruck
Tel.: +49 (0) 8141/3536-662
Fax: +49 (0) 8141/3536-887
Mobil: +49 (0) 175/5755347
mailto:andre.dannbacher@dns-gmbh.de
Internet: http://www.dns-gmbh.de
StorageLink deckt innerhalb der Citrix Essentials folgende vier Aufgabenbereiche ab:
Das StorageLink Gateway aktiviert die automatische Erkennung und den schnellen Zugriff per Mausklick auf die nativen Speicherservices aller führenden Speicherarchitekturen und -protokolle wie DAS, NAS, SAN, iSCSI und Fibre Channel.
Der StorageLink Resource Manager stellt native Aktionen der Storage-Arrays innerhalb der Managementumgebung der virtuellen Umgebung dar – einschließlich Partitionierung, Snapshots, Backups und Datenreplikation.
Der StorageLink Image Manager bietet eine zentrale Bibliothek von Images für virtuelle Maschinen, die sich einfach zwischen XenServer und Hyper-V austauschen lassen und die schnell für eine beliebige Anzahl von Zielhosts geklont und bereitgestellt werden.
StorageLink Connect bietet zahlreiche eindeutig definierte offene APIs, die eine Verbindung von XenServer- und Hyper-V-Umgebungen mit Backup-Lösungen und unternehmensweiten Management-Frameworks anderer Hersteller denkbar einfach machen.
StorageLink deckt innerhalb der Citrix Essentials folgende vier Aufgabenbereiche ab:
Das StorageLink Gateway aktiviert die automatische Erkennung und den schnellen Zugriff per Mausklick auf die nativen Speicherservices aller führenden Speicherarchitekturen und -protokolle wie DAS, NAS, SAN, iSCSI und Fibre Channel.
Der StorageLink Resource Manager stellt native Aktionen der Storage-Arrays innerhalb der Managementumgebung der virtuellen Umgebung dar – einschließlich Partitionierung, Snapshots, Backups und Datenreplikation.
Der StorageLink Image Manager bietet eine zentrale Bibliothek von Images für virtuelle Maschinen, die sich einfach zwischen XenServer und Hyper-V austauschen lassen und die schnell für eine beliebige Anzahl von Zielhosts geklont und bereitgestellt werden.
StorageLink Connect bietet zahlreiche eindeutig definierte offene APIs, die eine Verbindung von XenServer- und Hyper-V-Umgebungen mit Backup-Lösungen und unternehmensweiten Management-Frameworks anderer Hersteller denkbar einfach machen.
Citrix präsentiert neues Citrix Ready Open Storage-ProgrammAuf der diesjährigen Synergy stellt Citrix Systems ferner das neue Citrix Ready Open Storage-Programm vor. Im Rahmen der Initiative können Storage-Anbieter die Interoperabilität ihrer Produkte mit Citrix XenServer mit Hilfe der neuen StorageLink-Technologie zertifizieren. Unternehmen können sich so vergewissern, dass jede mit XenServer virtualisierte Umgebung alle bestehenden Storage-, Backup- und Disaster-Recovery-Systeme unterstützt. Da Citrix StorageLink auch für die Windows-Server-Hyper-V-Plattform verfügbar ist, gelten die Zertifikate auch für die mit der Microsoft-Lösung virtualisierten Server. Zu den Gründungsmitgliedern des Programms gehören mehr als 20 große Storage-Anbieter wie zum Beispiel Brocade, CA, Dell, HP, Hitachi Data Systems, LSI, Microsoft, NetApp und Symantec.
Citrix Ready Open Storage Program
The new Citrix Ready Open Storage Program for storage partners. Leveraging StorageLink tm , part of the new Citrix Essentials™ for XenServer™ and Hyper-V™ products that simplifies the integration of server virtualization and storage solutions, enabling customers to maintain a single management process. The Citrix Ready Open Storage Program, as part of the Citrix Ready Program, ensures that qualified storage solutions correctly and properly integrate with Citrix StorageLink. This provides users with a broad set of fully-tested, qualified solutions to address their storage requirements. Storage partners can leverage the standards-based StorageLink product to fully enable the broad feature set of their storage products for customers.
Demoumgebung • IP-Konfiguration
Switch 1 (.54.21)
Port 113650-1.122xenserveribm1
FC: Emulex | Adaptec onboard
Port 123650-2
Port 63350-1.123xenserveribm2
FC: Qlogic | LSI onboard
Port 313350-2
Port 27DS3400-1.120
Storage Manager
Port 21DS3400-2.121
Port 43Brocade.119
admin/hallo123
VM-1.125
VM-2.126
VM-3.127
VM-4.128
VM-5.129
Grundlagen
RDAC
MPP
DMP
Emulex HBA
Utility for Emulex HBA:# /usr/sbin/hbanyware/hbacmd
Display help to the command:# /usr/sbin/hbanyware/hbacmd –h
Query Emulex HBAs:# /usr/sbin/hbanyware/hbacmd listHBAs
List HBA attributes# /usr/sbin/hbanyware/hbacmd hbaattrib <wwpn_from_previous_command>For example:# hbacmd hbaattrib 10:00:00:00:c9:20:08:cc
List HBA port attributes# /usr/sbin/hbanyware/hbacmd portattrib <wwpn_from_previous_command>For example:# hbacmd portattrib 10:00:00:00:c9:20:08:cc
Quelle:
http://support.citrix.com/article/ctx118791
Qlogic HBA
Rescan QLogic HBA for available LUNs:# echo &#x201C;- - -&#x201C; > /sys/class/scsi_host<number>/scan(For more details see CTX120172 - How to Rescan the Qlogic Host Bus Adapter for New Logical Unit Numbers in XenServer&#x201D;)Disks should appear in /dev/disk/by-id# ll /dev/disk/by-id
Query Qlogic HBA for attached instances:# scli &#x2013;t
Query Qlogic HBA for LUNs:# scli &#x2013;l <hba_instance_number_from_previous_command>
Removing HBA-based FC or iSCSI device entries:# echo "1" > /sys/class/scsi_device/<adapter>:<bus>:<target>:<lun>/device/delete
Quelle:
CTX118791 &#x2013; Multipathing Overview for XenServer 5.0
GUI instructions:
1. Enter Maintenance Mode on the server. Refer to the following screen shot:
2. Enable multipathing. To do so, open the server's Properties page, select the Multipathing tab, and select the Enable multipathing on this server check box.
3. Exit Maintenance Mode.
4. Repeat steps 1, 2, and 3 on each XenServer in the pool.
5. Now you can create new SRs. New SRs should go over multiple paths automatically.
CLI instructions:
1. Run the following command to set the host's other-config:multipathing parameter:
# xe host-param-set other-config:multipathing=true uuid=host_uuid
2. Set the host's other-config:multipathhandle parameter to dmp:
# xe host-param-set other-config:multipathhandle=dmp uuid=host_uuid
3. Repeat steps 1 and 2 on each server in the pool.
4. Now you can create new SRs. New SRs should go over multiple paths automatically.
Quelle:
CTX118791 &#x2013; Multipathing Overview for XenServer 5.0
CLI instructions:
1. Stop all VMs running out of the SRs.
2. Unplug the PBDs related to such SRs for safety purposes.
3. Find the PBD related to particular storage:
# xe sr-list uuid=<sr-uuid> params=all
4. Unplug the PBD:
# xe pbd-unplug uuid=<pbd_uuid>
5. Set the host's other-config:multipathing parameter:
# xe host-param-set other-config:multipathing=true uuid=host_uuid
6. Set the host's other-config:multipathhandle parameter to dmp:
# xe host-param-set other-config:multipathhandle=dmp uuid=host_uuid
7. Repeat steps 5 and 6 on each server in the pool.
8. Plug the PBD in:
# xe pbd-plug uuid=<pbd_uuid>
Quelle: http://support.citrix.com/article/ctx118791
mpp RDAC Multipathing
The mppVhba driver is only loaded for specific hardware and was included as an add-on for the Dell OEM edition for supportability. This driver can be now used on any XenServer editions. The mpp RDAC must be loaded in the initrd on the system boot because of complex initialization requirements.
mpp Configuration
1. To adjust the mpp configuration you must edit /etc/mpp.confM
2. Generate initrd with new configuration: # /opt/xensource/bin/update-initrd
3. Reboot XenServer: # reboot
Quelle:
CTX118791 &#x2013; Multipathing Overview for XenServer 5.0
DellMD3000 and MD3000i
IBMFAStT100, FAStT200, FAStT500, FAStT700, FAStT900, FAStT600, FAStT600Turbo, DS4100, DS4300, DS4300, DS4400, DS4500, DS4800, DS4700, DS4200, DS3200, DS3400, DS3300, DS5000, DS5020 and EXP5060
FujitsuPrimergy Storage SX300
SGITP9300, ISTR-331 or -332, TP9400, TP9500, TP9500S, TP9700x, TP9600 and IS220
StorageTekOPENstorage D173, D178, 9176, D178, BC84, D210, D220, D240, D280, B280, FLX210, FLX240, FLX280 and FLX380
SunSun 6130, Sun 6140, Sun 6540, StorageTek 2510, StorageTek 2530, StorageTek 2540, StorageTek 6180, StorageTek 6580 and StorageTek 6780
Teredata6284, 6287, 6840, 6841, 6842, 6843, 6844 and 9204
Verari SystemsVS4200, VS4400 and VS7000
LIVE! CLI Commandos &#x2026;
Problematik eines fehlenden Pfades:
In GUI: keine &#xC4;nderung
In CLI: aktuellen Status anzeigen: # mppUtil &#x2013;g 0
L&#xF6;sung: Script!
Einsatz SYSLOG m&#xF6;glich?
LIVE!
&#x2026;
Lun Information
---------------
Lun #2 - WWN: 600a0b8000492542000033f64ac9a8f8
----------------
LunObject: present CurrentOwningPath: B
RemoveEligible: N BootOwningPath: B
NotConfigured: N PreferredPath: B
DevState: OPTIMAL ReportedPresent: Y
ReportedMissing: N
NeedsReservationCheck: N
TASBitSet: Y
NotReady: N
Busy: N
Quiescent: N
Controller 'A' Path
--------------------
NumLunObjects: 2 RoundRobinIndex: 0
Path #1: LunPathDevice: present
DevState: OPTIMAL
RemoveState: 0x0 StartState: 0x1 PowerState: 0x0
Path #2: LunPathDevice: present
DevState: OPTIMAL
RemoveState: 0x0 StartState: 0x1 PowerState: 0x0
Controller 'B' Path
--------------------
NumLunObjects: 2 RoundRobinIndex: 0
Path #1: LunPathDevice: present
DevState: OPTIMAL
RemoveState: 0x0 StartState: 0x1 PowerState: 0x0
Path #2: LunPathDevice: present
DevState: OPTIMAL
RemoveState: 0x0 StartState: 0x1 PowerState: 0x0
&#x2026;
Refresh multipath information in XenCenter
If you notice that multipath &#x2013;ll shows you all the paths correctly and XenCenter shows you that some paths are not connected, you can refresh the information using:# /opt/xensource/sm/mpathcount.py