linux - Issues for iscsi setup on Oracle RAC node -


i followed this document setup oracle rac openfiler.

i did setup oracle rac on rac1, rac2 node , openfiler configuration. after this, followed following steps above document:

  1. installed , configured iscsi services.
  2. followed manual , automatic login iscsi target on rac node:

    iscsiadm -m node -t iqn.2006-01.com.openfiler:orcl.crs1 -p 10.0.1.39 -l iscsiadm -m node -t iqn.2006-01.com.openfiler:orcl.crs1 -p 10.0.1.39 --op update -n node.startup -v automatic 
  3. executed command:

    cd /dev/disk/by-path; ls -l *openfiler* | awk '{fs=" "; print $9 " " $10 " " $11}'` 

    got below output:

    ip-10.0.0.29:3260-iscsi-iqn.2006-01.com.openfiler:orcl-crs1-lun-0 -> ../../sdf ip-10.0.0.29:3260-iscsi-iqn.2006-01.com.openfiler:orcl-data1-lun-0 -> ../../sdj ip-10.0.0.29:3260-iscsi-iqn.2006-01.com.openfiler:orcl-fra1-lun-0 -> ../../sdh ip-10.0.1.39:3260-iscsi-iqn.2006-01.com.openfiler:orcl-crs1-lun-0 -> ../../sdg ip-10.0.1.39:3260-iscsi-iqn.2006-01.com.openfiler:orcl-data1-lun-0 -> ../../sdk ip-10.0.1.39:3260-iscsi-iqn.2006-01.com.openfiler:orcl-fra1-lun-0 -> ../../sdi 
  4. created following rules in /etc/udev/rules.d/55-openiscsi.rules file:

    kernel=="sd*", bus=="scsi", program="/etc/udev/scripts/iscsidev.sh %b",symlink+="iscsi/%c/part%n" 
  5. next, created unix shell script /etc/udev/scripts/iscsidev.sh below:

    bus=${1} host=${bus%%:*} [ -e /sys/class/iscsi_host ] || exit 1  file="/sys/class/iscsi_host/host${host}/device/session*/iscsi_session*/targetname" target_name=$(cat ${file})  if [ -z "${target_name}" ];    exit 1 fi  echo "${target_name##*.}" 

    after creating unix shell script, changed executable:

    chmod 755 /etc/udev/scripts/iscsidev.sh 
  6. restarted iscsi service.

  7. executed command ls -l /dev/iscsi/* got error below:

    ls: cannot access /dev/iscsi/*: no such file or directory 

any idea on this?


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -