How to configure SAS multipath with OmniOS CE ?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

rchristophe

New Member
Aug 29, 2016
29
0
1
Hello.
I am looking for documentation to configure SAS disks in multipath under OmniOS CE.
Should I follow the procedures for solaris 10 or solaris 11?
How should we proceed ?
which files to modify?

I need to configure a Dell H200E card and a Dell MD1200 with SAS drives.

Do you have links to tutorials?
 

gea

Well-Known Member
Dec 31, 2010
3,141
1,184
113
DE
If you have installed napp-it, look at menu Disks > Details and Mpio and submenus
- mpio help
- mpio list
- mpio scsi vhci.conf

A tutorial:

In mpio help I have added a lot of additional infos and links
 
Last edited:

rchristophe

New Member
Aug 29, 2016
29
0
1
thank gea.
I thought I should configure the multipath to mount a cluster with 2 napp-it node but it is apparently not necessary.
 

rchristophe

New Member
Aug 29, 2016
29
0
1
I tried to configure the multipath with the DELL MD1200 :
  • cp /kernel/drv/scsi_vhci.conf /etc/driver/drv/scsi_vhci.conf
  • add scsi-vhci-failover-override = "HITACHI HUS723030ALS640", "f_sym"; to /etc/driver/drv/scsi_vhci.conf
  • stmsboot -u
  • reboot
SAS drives are always listed in duplicate with format command.
And Napp-it Disk show :
Capture d’écran de 2020-06-15 16-07-24.png



Is this normal?
 

gea

Well-Known Member
Dec 31, 2010
3,141
1,184
113
DE
No. The reason why you want to configure mpio is that a disk is only shown once when there are multiple paths to the disk.

Question:
You said, that you want to configure a Cluster setup. In such a setup, you connect one SAS path to head-1 and the second path to head-1. Each head has only a single path to each disk so you disable mpio at all in menu Disks > Mpio > SAS conf. No need to configure mpio in scsi_vhci.conf .

MPIO is only needed ex when you use two HBA in the same server instance and connect each HBA to one SAS path. With mpio configured, only one path is shown altough both are used as you can control in napp-it menu Disks > Mpio > mpio list.

If you want to configure mpio, use menu Disks > Mpio > mpio scsi vhci.conf
 

rchristophe

New Member
Aug 29, 2016
29
0
1
Before mounting the napp-it cluster, I would like to test the multipath.
My tests are done with:
  • 1 serveur with a dell h200E (dual port sas).
  • 1 dell MD1200 with 2 controller.
  • the two ports of the H200E crate connected to the two controllers of the md1200.
By adding scsi-vhci-failover-override = "HITACHI HUS723030ALS640", "f_sym"; in /etc/driver/drv/scsi_vhci.conf, i should only have one path for all disks of this model, right?
 

gea

Well-Known Member
Dec 31, 2010
3,141
1,184
113
DE
Yes, correct.
Have you enabled mpio at all?

Disks > Details and mpio > SAS conf
 

rchristophe

New Member
Aug 29, 2016
29
0
1
Apparently yes, there is mpxio-disable = "no"; in /kernel/drv/mpt_sas.conf

stmsboot -e => STMS is already enabled. No changes or reboots needed
 

rchristophe

New Member
Aug 29, 2016
29
0
1
I have a doubt regarding the location of the configuration files for OmniOS. Is it like Solaris 10 or Solaris 11?
The / etc / driver / drv directory did not exist, I had to create it.

running on : SunOS omniosce 5.11 omnios-r151032-19f7bd2ae5 i86pc i386 i86pc
OmniOS v11 r151032p
 

rchristophe

New Member
Aug 29, 2016
29
0
1
i modified the file /kernel/drv/scsi_vhci.conf with scsi-vhci-failover-override = "HITACHI HUS723030ALS640", "f_sym";
and it seems to work now.

Capture d’écran de 2020-06-16 10-34-37.png


So Disks / Details and mpio / mpio scsi vhci.conf seems not to work for OmniOS. ?
 

gea

Well-Known Member
Dec 31, 2010
3,141
1,184
113
DE
The menu edit option edits /kernel/drv/scsi_vhci.conf on OmniOS
or /etc/driver/drv/scsi_vhci.conf on Solaris.