Data Backup and Recovery
Data Backup and Recovery
Hi all,
I am curently installing HU6.1 and SDU 5.1 on a SUSE 11 SP2 Linux . later I will use SMO 3.3 with it.
I am using EMULEX HBAs in it. The Konfig is ok as I checked it in the interoperability matrix!
oralip05:/var/log # sanlun fcp show adapter -v
adapter name: host1
WWPN: 10000000c98f7a84
WWNN: 20000000c98f7a84
driver name: lpfc
model: LPe1150
model description: Emulex LPe1150 4Gb PCIe Fibre Channel Adapter
serial number: BT93519466
hardware version: 2057706d
driver version: 8.3.5.68; HBAAPI(I) v2.3.b, 07-12-10
firmware version: 2.82A3 (W3F2.82A3), sli-3
Number of ports: 1
port type: Fabric
port state: Operational
supported speed: 1 GBit/sec, 2 GBit/sec, 4 GBit/sec
negotiated speed: 4 GBit/sec
OS device name: /sys/class/scsi_host/host1
adapter name: host2
WWPN: 10000000c991d974
WWNN: 20000000c991d974
driver name: lpfc
model: LPe1150
model description: Emulex LPe1150 4Gb PCIe Fibre Channel Adapter
serial number: BT94074336
hardware version: 2057706d
driver version: 8.3.5.68; HBAAPI(I) v2.3.b, 07-12-10
firmware version: 2.82A3 (W3F2.82A3), sli-3
Number of ports: 1
port type: Fabric
port state: Operational
supported speed: 1 GBit/sec, 2 GBit/sec, 4 GBit/sec
negotiated speed: 4 GBit/sec
OS device name: /sys/class/scsi_host/host2
As you can see HU 6.1 is working.
I use the the following multipath.conf file:
oralip05:/var/log # cat /etc/multipath.conf
defaults {
user_friendly_names no
max_fds max
queue_without_daemon no
flush_on_last_del yes
}
blacklist {
wwid 36003005700a5e29013154d5f3409ca21
devnode "^hd[a-z]"
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^cciss.*"
}
devices {
device {
vendor "NETAPP"
product "LUN"
getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n"
prio "alua"
features "3 queue_if_no_path pg_init_retries 50"
hardware_handler "1 alua"
path_grouping_policy group_by_prio
failback immediate
rr_weight uniform
rr_min_io 128
path_checker tur
}
}
Looks like Mutlipath is working also:
oralip05:/var/log # multipath -ll
360a980003246696d6c5d424434424445 dm-5 NETAPP,LUN
size=1000G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 2:0:1:3 sdw 65:96 active ready running
| `- 1:0:0:3 sde 8:64 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:1:3 sdk 8:160 active ready running
`- 2:0:0:3 sdq 65:0 active ready running
360a980003246696d6c5d42443442444f dm-3 NETAPP,LUN
size=100G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:4 sdf 8:80 active ready running
| `- 2:0:1:4 sdx 65:112 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:1:4 sdl 8:176 active ready running
`- 2:0:0:4 sdr 65:16 active ready running
360a980003246696d6c5d424434424449 dm-4 NETAPP,LUN
size=100G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:5 sdg 8:96 active ready running
| `- 2:0:1:5 sdy 65:128 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:1:5 sdm 8:192 active ready running
`- 2:0:0:5 sds 65:32 active ready running
360a980003246696d6c5d424434424451 dm-1 NETAPP,LUN
size=10G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:2 sdd 8:48 active ready running
| `- 2:0:1:2 sdv 65:80 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:1:2 sdj 8:144 active ready running
`- 2:0:0:2 sdp 8:240 active ready running
360a980003246696d6c5d424434424447 dm-2 NETAPP,LUN
size=100G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 1:0:0:0 sdb 8:16 active ready running
| `- 2:0:1:0 sdt 65:48 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
|- 1:0:1:0 sdh 8:112 active ready running
`- 2:0:0:0 sdn 8:208 active ready running
oralip05:/var/log #
when I install Snapdrive 5.1 and edit the snapdrive.conf file like this:
Host platform default transport multipathing fstype vmtype
type type
------------------- ----------------------- ----------------- --------- -------------
Linux FCP nativempio ext3 lvm
I get the following error:
oralip05:/var/log # snapdrived start
WARNING!!! Unable to find a SAN storage stack. Please verify that the appropriate transport protocol, volume manager, file system and multipathing type are installed and configured in the system. If NFS is being used, this warning message can be ignored.
Successfully started daemon
oralip05:/var/log #
This message I do not understand as I am using the combination of the parameters in the snapdrive.conf file that is in the docu.
When I try the following command I get the following message:
oralip05:/var/log # 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.
oralip05:/var/log #
As this command need to run and not fail I know I am in trouble!
Anyone knows what I have missed or can give me some hints?
Thanks
Horst
PSC NetApp
Solved! See The Solution
Hi all,
Problem solved. I had to install a 32bit package:
oralip05:~ # rpm -qa | grep libnl
libnl-32bit-1.1-49.22.4.1
libnl-1.1-49.18
oralip05:~ #
The 64 bit package of libnl was installed so we installed the 32-bit version of libnl afterwards.This was done by YAST.
then I had to stop/start snapdrived:
oralip05:/ # snapdrived stop
Successfully stopped daemon
oralip05:/ # snapdrived start
Successfully started daemon
oralip05:/ #
Now the snapdrive command works like a charm:
oralip05:/ # snapdrive storage show -all
WARNING: This operation can take several minutes
based on the configuration.
Connected LUNs and devices:
device filename adapter path size proto state clone lun path backing snapshot
---------------- ------- ---- ---- ----- ----- ----- -------- ----------------
/dev/mapper/360a980003246696d6c5d424434424445 - P 1000.1g fcp online No 3140-itc:/vol/itc_cari_oradata/lun1/oradata.lun -
/dev/mapper/360a980003246696d6c5d42443442444f - P 100g fcp online No 3140-itc:/vol/itc_cari_oraflash/lun1/oraflash.lun -
/dev/mapper/360a980003246696d6c5d424434424449 - P 100g fcp online No 3140-itc:/vol/itc_cari_oralog/lun1/oralog.lun -
/dev/mapper/360a980003246696d6c5d424434424451 - P 10g fcp online No 3140-itc:/vol/itc_oralip_oracrs/lun1/oracrs.lun -
/dev/mapper/360a980003246696d6c5d424434424447 - P 100g fcp online No 3140-itc:/vol/itc_cari_oraarch/lun1/oraarch.lun -
oralip05:/ #
Hello Horst,
Couple of things. Can you please check if you are running at following software version and configuration. This information is available in IMT too.
(1) lvm2-2.02.84-3.33.1
(2) device-mapper-1.02.63-18.27.1
(3) add 'udev_sync = 1' to activation section of /etc/lvm/lvm.conf
I assume sg3_utils.rpm is already installed.
Thanks,
Himanshu
Hi Himanshu,
Thanks for your reply. I have the following installed:
oralip05:/ # rpm -qa | grep lvm
lvm2-2.02.84-3.37.1
oralip05:/ # rpm -qa | grep device-mapper
device-mapper-1.02.63-18.27.1
device-mapper-32bit-1.02.63-18.27.1
oralip05:/ # grep udev_sync /etc/lvm/lvm.conf
udev_sync = 1
oralip05:/ # rpm -qa | grep sg3
sg3_utils-1.31-1.17.1
oralip05:/ #
So not the exact Version like in the documentation but newer!
Thanks
Horst
Hi all,
Problem solved. I had to install a 32bit package:
oralip05:~ # rpm -qa | grep libnl
libnl-32bit-1.1-49.22.4.1
libnl-1.1-49.18
oralip05:~ #
The 64 bit package of libnl was installed so we installed the 32-bit version of libnl afterwards.This was done by YAST.
then I had to stop/start snapdrived:
oralip05:/ # snapdrived stop
Successfully stopped daemon
oralip05:/ # snapdrived start
Successfully started daemon
oralip05:/ #
Now the snapdrive command works like a charm:
oralip05:/ # snapdrive storage show -all
WARNING: This operation can take several minutes
based on the configuration.
Connected LUNs and devices:
device filename adapter path size proto state clone lun path backing snapshot
---------------- ------- ---- ---- ----- ----- ----- -------- ----------------
/dev/mapper/360a980003246696d6c5d424434424445 - P 1000.1g fcp online No 3140-itc:/vol/itc_cari_oradata/lun1/oradata.lun -
/dev/mapper/360a980003246696d6c5d42443442444f - P 100g fcp online No 3140-itc:/vol/itc_cari_oraflash/lun1/oraflash.lun -
/dev/mapper/360a980003246696d6c5d424434424449 - P 100g fcp online No 3140-itc:/vol/itc_cari_oralog/lun1/oralog.lun -
/dev/mapper/360a980003246696d6c5d424434424451 - P 10g fcp online No 3140-itc:/vol/itc_oralip_oracrs/lun1/oracrs.lun -
/dev/mapper/360a980003246696d6c5d424434424447 - P 100g fcp online No 3140-itc:/vol/itc_cari_oraarch/lun1/oraarch.lun -
oralip05:/ #
I also had the issue on a other SUSE 11 SP2 server:
oralip04:/var/log # sanlun fcp show adapter -v
Unable to locate /usr/lib64/libHBAAPI.so library
Make sure the package installing the library is installed & loaded
oralip04:/var/log #
Also the command hbautil ListHBA was giving some weired output.
We had just installed elxocmcore-sles10-sles11-6.0.9.1-1.tar again (reinstall) and then it worked!
Thanks,
Horst