Data Backup and Recovery

SDU 5.3.1P1 not working with MPIO LUNS on RHEL7.3

DBMASTER
3,128 Views

Dear all,

 

here is my configuration:

 

Client:

 

# sdconfcheck check


NOTE: SnapDrive Configuration Checker is using the data file version  v05062017
  Please make sure that you are using the latest version.
  Refer to the SnapDrive for Unix Installation and Administration Guide for more details.

Detected Intel/AMD x64 Architecture
Detected Linux OS
Detected sg3_utils 1.37
Detected Kernel Version 4.1.12-94.5.7.el7uek.x86_64
Detected Multipathing version 0.4.9
Detected Host OS Oracle Enterprise Linux 7 Update 3
Detected NFSv3 FileSystem on Linux
Detected Software iSCSI on Linux
Detected NFSv4 Filesystem on Linux
Detected   Ext4 File System
Detected   Linux Native LVM2
Detected   Linux Native MPIO

Did not find any supported cluster solutions.
Detected iSCSI Linux Host Utilities 7.1

Trace-Enabled: on
Trace-Level: 7

Supported Configurations on this host by SDU Version 5.3.1
-------------------------------------------------------------
Linux NFS Configuration
Linux Software iSCSI Ext4 on LVM2 with NativeMPIO - OEL
Linux Software iSCSI Ext4 on Raw Lun with NativeMPIO - OEL
Linux Software iSCSI Ext4 on LVM2 without NativeMPIO and Clustering Solution- OEL
Linux Software iSCSI Ext4 on Raw Lun without Multipathing and Clustering Solution - OEL

 

# sanlun lun show
controller(7mode/E-Series)/                                  device          host                  lun
vserver(cDOT/FlashRay)        lun-pathname                   filename        adapter    protocol   size    product
---------------------------------------------------------------------------------------------------------------
vs3iscsi_rac12c               /vol/rac12c_grid4/rac12c_grid4 /dev/sdav       host3      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_olog/rac12c_olog2  /dev/sdau       host3      iSCSI      5g      cDOT
vs3iscsi_rac12c               /vol/rac12c_olog/rac12c_olog1  /dev/sdat       host3      iSCSI      5g      cDOT
vs3iscsi_rac12c               /vol/rac12c_grid3/rac12c_grid3 /dev/sdas       host3      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid1/rac12c_grid1 /dev/sdaq       host3      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid2/rac12c_grid2 /dev/sdar       host3      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_fra/rac12c_fra2    /dev/sdap       host3      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_fra/rac12c_fra1    /dev/sdao       host3      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_ctrl/rac12c_ctrl2  /dev/sdd        host2      iSCSI      1g      cDOT
vs3iscsi_rac12c               /vol/rac12c_data/rac12c_data2  /dev/sdan       host3      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_data/rac12c_data1  /dev/sdam       host3      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid4/rac12c_grid4 /dev/sdak       host2      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid3/rac12c_grid3 /dev/sdae       host4      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid4/rac12c_grid4 /dev/sdal       host4      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_olog/rac12c_olog2  /dev/sdaj       host4      iSCSI      5g      cDOT
vs3iscsi_rac12c               /vol/rac12c_grid4/rac12c_grid4 /dev/sdai       host5      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_olog/rac12c_olog1  /dev/sdah       host4      iSCSI      5g      cDOT
vs3iscsi_rac12c               /vol/rac12c_olog/rac12c_olog2  /dev/sdaf       host5      iSCSI      5g      cDOT
vs3iscsi_rac12c               /vol/rac12c_olog/rac12c_olog2  /dev/sdag       host2      iSCSI      5g      cDOT
vs3iscsi_rac12c               /vol/rac12c_olog/rac12c_olog1  /dev/sdac       host2      iSCSI      5g      cDOT
vs3iscsi_rac12c               /vol/rac12c_olog/rac12c_olog1  /dev/sdad       host5      iSCSI      5g      cDOT
vs3iscsi_rac12c               /vol/rac12c_grid2/rac12c_grid2 /dev/sdab       host4      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid3/rac12c_grid3 /dev/sdz        host2      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid3/rac12c_grid3 /dev/sdaa       host5      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid1/rac12c_grid1 /dev/sdt        host2      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid1/rac12c_grid1 /dev/sdy        host4      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid2/rac12c_grid2 /dev/sdx        host5      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_fra/rac12c_fra2    /dev/sdv        host4      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_fra/rac12c_fra2    /dev/sdq        host2      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid2/rac12c_grid2 /dev/sdw        host2      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_grid1/rac12c_grid1 /dev/sdu        host5      iSCSI      20g     cDOT
vs3iscsi_rac12c               /vol/rac12c_fra/rac12c_fra1    /dev/sds        host4      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_fra/rac12c_fra2    /dev/sdr        host5      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_data/rac12c_data2  /dev/sdp        host4      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_fra/rac12c_fra1    /dev/sdo        host5      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_fra/rac12c_fra1    /dev/sdn        host2      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_data/rac12c_data1  /dev/sdm        host4      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_data/rac12c_data2  /dev/sdl        host5      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_data/rac12c_data2  /dev/sdk        host2      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_ctrl/rac12c_ctrl2  /dev/sdh        host4      iSCSI      1g      cDOT
vs3iscsi_rac12c               /vol/rac12c_ctrl/rac12c_ctrl2  /dev/sdg        host5      iSCSI      1g      cDOT
vs3iscsi_rac12c               /vol/rac12c_data/rac12c_data1  /dev/sdj        host5      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_data/rac12c_data1  /dev/sdi        host2      iSCSI      12g     cDOT
vs3iscsi_rac12c               /vol/rac12c_ctrl/rac12c_ctrl1  /dev/sdb        host3      iSCSI      1g      cDOT
vs3iscsi_rac12c               /vol/rac12c_ctrl/rac12c_ctrl1  /dev/sdf        host4      iSCSI      1g      cDOT
vs3iscsi_rac12c               /vol/rac12c_ctrl/rac12c_ctrl1  /dev/sda        host2      iSCSI      1g      cDOT
vs3iscsi_rac12c               /vol/rac12c_ctrl/rac12c_ctrl1  /dev/sde        host5      iSCSI      1g      cDOT
vs3iscsi_rac12c               /vol/rac12c_ctrl/rac12c_ctrl2  /dev/sdc        host3      iSCSI      1g      cDOT

 

# cat sd-trace.log

...

         Filer: vs3iscsi_rac12c (vs3iscsi_rac12c)
                NetApp Release 8.2.4P2 Cluster-Mode: Mon Feb 01 15:20:59 PST 2016
                Igroups:
                        vs3iscsi_rac12c:rac12c_grid
                Filer Volumes:
                        vs3iscsi_rac12c:/vol/rac12c_ctrl
                        vs3iscsi_rac12c:/vol/rac12c_data
                        vs3iscsi_rac12c:/vol/rac12c_fra
                        vs3iscsi_rac12c:/vol/rac12c_grid1
                        vs3iscsi_rac12c:/vol/rac12c_grid2
                        vs3iscsi_rac12c:/vol/rac12c_grid3
                        vs3iscsi_rac12c:/vol/rac12c_grid4
                        vs3iscsi_rac12c:/vol/rac12c_olog
                        vs3iscsi_rac12c:/vol/vs3iscsi_rac12c_root

...

 

# snapdrive config list
username    appliance name    appliance type
-----------------------------------------------
................   vs3iscsi_rac12c   StorageSystem
[root@rac12cn1 log]# snapdrive config list -mgmtpath
system name       management interface   datapath interface
-----------------------------------------------------------
vs3iscsi_rac12c   X.Y.Z.11          X.Y.Z.11|X.Y.Z.12

 

My Problem:

 

# snapdrive storage show -all

 WARNING: This operation can take several minutes
          based on the configuration.
0001-185 Command error: storage show failed: no NETAPP devices to show or add the host to the trusted hosts (options trusted.hosts) on the storage system or retry after changing snapdrive.conf to use https for storage system communication and restarting snapdrive daemon.

 

As long as this won't work, it makes no sense to create SMO Profile.

 

On the LUNs we ran Oracle 12.1.0.2 Database with ASM and oracleasm (oracleasm Library).

 

We have no problems with SDU and SMO on other clients using NFS.

 

1 ACCEPTED SOLUTION

DBMASTER
3,111 Views

Dear all,

 

by checking trace files again, i found the mistake in snapdrive.conf.

multipathing-type was set to None instead of NativeMPIO.

 

Now SDU finds all LUNs as expected.

 

Br

 

View solution in original post

1 REPLY 1

DBMASTER
3,112 Views

Dear all,

 

by checking trace files again, i found the mistake in snapdrive.conf.

multipathing-type was set to None instead of NativeMPIO.

 

Now SDU finds all LUNs as expected.

 

Br

 

Public