You are here

Problems with ISCSI shared luns after cloning Solaris servers

Hi,

just a little note, if you are configuring ISCSI shared luns for several initiators, and you have cloned your servers from a golden image or similar, you have to be careful because the IQN could be duplicated, giving all kinds of hangs when the hosts access the iscsi shared lun.

You can check the IQN of the host with:

[root@vm1:/]# iscsiadm list initiator-node
Initiator node name: iqn.1986-03.com.sun:01:eaee30f2ffff.4e7470c1 --> it's the same for vm1 and vm2
Initiator node alias: vm2
[root@vm2:/]# iscsiadm list initiator-node
Initiator node name: iqn.1986-03.com.sun:01:eaee30f2ffff.4e7470c1 ---> the same!!
Initiator node alias: vm2

Don't know if the best way but I fixed it changing the IQN in one of the hosts:

[root@vm1:/]# iscsiadm modify initiator-node -N iqn.1986-03.com.sun:01:eaeec2f5ffff.4c936e1b
[root@vm1:/]#iscsiadm modify initiator-node -A vm1
[root@vm1:/]# iscsiadm list initiator-node
Initiator node name: iqn.1986-03.com.sun:01:eaeec2f5ffff.4c936e1b
Initiator node alias: vm1

All working smoothly now!.

Unix Systems: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.
Error | HP-UX Tips & Tricks Site

Error

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /homepages/37/d228974590/htdocs/includes/common.inc:2567) in drupal_send_headers() (line 1207 of /homepages/37/d228974590/htdocs/includes/bootstrap.inc).
  • PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'dbo229817041'@'217.160.155.192' for table 'watchdog': INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => cron [:db_insert_placeholder_2] => Attempting to re-run cron while it is already running. [:db_insert_placeholder_3] => a:0:{} [:db_insert_placeholder_4] => 4 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://hpuxtips.es/?q=node/303 [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.90.207.75 [:db_insert_placeholder_9] => 1513505539 ) in dblog_watchdog() (line 157 of /homepages/37/d228974590/htdocs/modules/dblog/dblog.module).
The website encountered an unexpected error. Please try again later.