1 描述
主机名 | IP地址 | 描述 | 系统版本 |
localhost | 192.168.12.100 | RAC共享存储openfiler | openfileresa-2.99.1-x86_64 |
node1 | 192.168.12.11 | RAC 节点1 | rhel-server-6.5-x86_64 |
搭建RAC测试环境,使用openfiler 做独立的共享存储服务器。配置完openfiler iscsi服务后在RAC node1上运行iscsiadm discovery参数是报如下错误:
[root@node1 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.12.100
iscsiadm: No portals found
[root@node1 ~]#
使用telnet命令检查openfiler端口开放情况发现3260端口已经开放
[root@node1 ~]# telnet 192.168.12.100 3260
Trying 192.168.12.100...
Connected to 192.168.12.100.
Escape character is '^]'.
2 解决方法
在openfiler12主机修改/etc/initiators.deny文件。将文件中全部行注释掉。如下:
[root@localhost ~]# cat /etc/initiators.deny
# PLEASE DO NOT MODIFY THIS CONFIGURATION FILE!
# This configuration file was autogenerated
# by Openfiler. Any manual changes will be overwritten
# Generated at: Sun Jun 22 19:39:42 CST 2014
#iqn.2006-01.com.openfiler:tsn.99c16437c079 ALL
# End of Openfiler configuration
[root@localhost ~]#
做完上面操作后到node1运行iscsiadm discovery命令得到正确返回结果。
[root@node1 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.12.100
192.168.12.100:3260,1 iqn.2006-01.com.openfiler:tsn.99c16437c079
192.168.70.100:3260,1 iqn.2006-01.com.openfiler:tsn.99c16437c079
3 资料参考引用
在openfiler 2.3版本中并未出现上述未发现端口情况。不知道到2.9中犯了哪门子毛病。
本文参考下面的链接的解决方式,对此问题的解决原理依然不明。
http://blog.csdn.net/tianlesoftware/article/details/8007658
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11780477/viewspace-1196815/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/11780477/viewspace-1196815/