This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
citrix:cmd:fc [2016/02/04 15:17] – js | citrix:cmd:fc [2022/09/13 07:52] (current) – [show fc host adapter info] js | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== fc cmds ===== | ===== fc cmds ===== | ||
- | + | ==== Probe the SR: ==== | |
+ | <code bash>xe sr-probe type=lvmohba device-config: | ||
+ | \\ | ||
+ | ==== Introduce the existing SR to XenServer: ==== | ||
+ | <code bash>xe sr-introduce uuid=< | ||
+ | \\ | ||
+ | ==== Create a PBD for each host in the pool: ==== | ||
+ | <code bash>xe pbd-create sr-uuid=< | ||
+ | \\ | ||
+ | ==== Plug in the new PBD: ==== | ||
+ | <code bash>xe pbd-plug uuid=< | ||
+ | \\ | ||
+ | ==== Scan the SR: ==== | ||
+ | <code bash>xe sr-scan uuid=< | ||
+ | \\ | ||
==== show fc host adapter info ==== | ==== show fc host adapter info ==== | ||
- | + | <code bash> | |
- | <code bash> | + | or specified for only one host: |
+ | <code bash> | ||
+ | \\ | ||
+ | \\ | ||
+ | <code bash> | ||
+ | \\ | ||
+ | \\ | ||
+ | <code bash>/ | ||
+ | shows the target system node and port name / lun count of disks | ||
+ | {{ : | ||
+ | \\ | ||
+ | <code bash>/ | ||
+ | shows local hba info | ||
+ | {{ : | ||
+ | \\ | ||
+ | <code bash>/ | ||
+ | shows attached LUNs | ||
+ | {{ : | ||
+ | \\ | ||
==== list wwpn for fc hba ==== | ==== list wwpn for fc hba ==== | ||
<code bash> | <code bash> | ||
+ | or | ||
+ | <code bash> | ||
+ | <code bash> | ||
+ | \\ | ||
+ | |||
==== list wwn for fc hba ==== | ==== list wwn for fc hba ==== | ||
<code bash> | <code bash> | ||
+ | \\ | ||
==== list devices connected to hba ==== | ==== list devices connected to hba ==== | ||
- | + | <code bash> | |
- | <code bash> | + | \\ |
==== list fc transport ==== | ==== list fc transport ==== | ||
- | + | <code bash> | |
- | <code bash> | + | \\ |
==== show hba controller info ==== | ==== show hba controller info ==== | ||
- | |||
<code bash> | <code bash> | ||
* controller | * controller | ||
* qla2xxx = QLogic | * qla2xxx = QLogic | ||
* lpfc = Emulex | * lpfc = Emulex | ||
+ | \\ | ||
==== list SCSI map ==== | ==== list SCSI map ==== | ||
+ | -x also show bus, chan, id, lun and type | ||
<code bash> | <code bash> | ||
+ | {{ : | ||
+ | \\ | ||
==== list disk connection info ==== | ==== list disk connection info ==== | ||
- | <code bash> | + | <code bash> |
+ | \\ | ||
==== list SCSI disks connected to a system ==== | ==== list SCSI disks connected to a system ==== | ||
- | <code bash> | + | <code bash> |
+ | \\ | ||
==== list SCSI host ==== | ==== list SCSI host ==== | ||
<code bash>cat / | <code bash>cat / | ||
+ | \\ | ||
==== Rescan hba devices ==== | ==== Rescan hba devices ==== | ||
<code bash> | <code bash> | ||
+ | \\ | ||
+ | The three dash (" | ||
+ | ==== show multipath === | ||
+ | <code bash> | ||
+ | multipathd -k" | ||
+ | |||
+ | Run the following command to show the current multipath topology: | ||
+ | <code bash> | ||
+ | multipath -ll</ | ||
+ | |||
+ | Run the following command to show the verbosity and print all paths and multipaths: | ||
+ | <code bash> | ||
+ | |||
+ | Run the following command to refresh information what is supplied by previous commands: | ||
+ | <code bash> | ||
+ | \\ | ||
+ | |||
+ | Script to scan all the LUNs and update the SCSI layer to reflect new devices: | ||
+ | <code bash>/ | ||
+ | \\ | ||
- | ==== show multipath === | ||
- | <code bash> | ||
- | <code bash> | ||
- | <code bash> | ||
+ | ==== refresh xencenter display ==== | ||
+ | If you notice that “multipath –ll” shows you all the paths correctly and XenCenter shows you that some paths are not connected, you can refresh the information by:<code bash>/ | ||
+ | \\ | ||
+ | ==== rescan scsi bus ==== | ||
+ | <code bash>/ | ||
+ | ===== Links ===== | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// |