How to reset th iscsi configuration?
Hello,
I am trying to reset my iscsi configuration in a RedHat 4 U6 server.
I am using a VtrackM610i enclosure from Promise and by default both iSCSI ports comes configured in the same network but with different IP's (10.0.0.1/8 10.0.0.2). I configured like Discovery IP 10.0.0.1 in the iscsi.conf file in the Linux server.
When I restart the iscsi service I found that I have two logical units conected to the Linux Server, one for iSCSI port1 10.0.0.1 and other for iSCSI port2 10.0.0.2 that are the same logical unit.
This creates the first problem, because the Linux server can not mount automatically the logical volume becase he found two logical volumes with the same label.
I changed the network configuration to only access to iSCSI port1, changing the netmast to 255.255.255.0 and the IP in the iSCSI port2 to 10.0.2.2/8.
I restart the iscsi service in the Linux server and now only "see"one logical volume that is right.
The problem it is that in the log appears error about the iscsi service can not connect to the second logical volume that before was connected:
Jul 30 19:00:19 redhat4 kernel: iscsi-sfnet:host7: Login phase timed out, timeout was set for 120 secs
Jul 30 19:00:19 redhat4 kernel: iscsi-sfnet:host7: Connect failed due to driver timeout
Jul 30 19:00:19 redhat4 kernel: iscsi-sfnet:host7: establish_session failed. Could not connect to target
Jul 30 19:00:19 redhat4 kernel: iscsi-sfnet:host7: Waiting 1 seconds before next login attempt
I can not find where the information about this Discovery IP it is stored, because if I change the to other Discovery IP (other iSCSI server) these errors disapears.
If someone knows how to reset this information will be very helpful.
Thanks in advance.
Cisco
|