Software-based VM-centric and flash-friendly VM storage + free version
Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)
-
mark
Tue Nov 23, 2004 10:34 am
In order to get Oracle RAC working using the Starwind ISCSI I need to be able to create an image file, declare it to ISCSI as a device which works fine. then I need to be able to mount the device on two hosts (Linux) to get the shared disks working. As I have it set up I can only mount the device on one machine at a time. Is this possible with Starwind, if so what am I doing wrong. i can get this working using a Linux ISCSI target but my preference is Windows 2000 for a variety of reasons?
-
Val (staff)
- Posts: 496
- Joined: Tue Jun 29, 2004 8:38 pm
Tue Nov 23, 2004 2:54 pm
mark wrote:In order to get Oracle RAC working using the Starwind ISCSI I need to be able to create an image file, declare it to ISCSI as a device which works fine. then I need to be able to mount the device on two hosts (Linux) to get the shared disks working. As I have it set up I can only mount the device on one machine at a time. Is this possible with Starwind, if so what am I doing wrong. i can get this working using a Linux ISCSI target but my preference is Windows 2000 for a variety of reasons?
Hi Mark,
Is the Oracle RAC able to share a hard drive between 2 machines?
If the software supports RESERVE/RELEASE SCSIOPs, you can use the '-clustered:yes' parameter manually added to the 'add' target directive.
Also you can use paremeters '-share:"rw"' with '-sessions:2' to allow 2 initiators to access the target without RESERVE/RELEASE support.
Best regards,
Valeriy
-
Guest
Wed Nov 24, 2004 9:58 pm
Thanks for that but I still cannot get it to work my target definition is:
add "ImageFile20" "Mark" -file:"d:\iscsi\disk3.iscsi" -header:"0" -sessions:"4" -share:"rw"
and I have also tried:
add "ImageFile20" "Mark" -file:"d:\iscsi\disk3.iscsi" -header:"0" -clustered="yes"
Using the Microsoft ISCSI initiator and a Linux Initiator running under on VMWARE
Switching on debug produces:
1:55:23:464 (0x670) func: >>> iScsiTask::startLoginPhase
21:55:23:464 (0x670) S: *ERROR* mark: all of 1 allowed sessions are opened.
21:55:23:464 (0x670) S[0x2226]: *ERROR* No more sessions for allowed due to target 'mark' restrictions.
21:55:23:464 (0x670) T[0x1]: *ERROR* Login request: failed while opening the device.
21:55:23:464 (0x670) func: <<< iScsiTask::startLoginPhase
Any ideas anyone?
-
Val (staff)
- Posts: 496
- Joined: Tue Jun 29, 2004 8:38 pm
Wed Nov 24, 2004 10:08 pm
Anonymous wrote:Thanks for that but I still cannot get it to work my target definition is:
add "ImageFile20" "Mark" -file:"d:\iscsi\disk3.iscsi" -header:"0" -sessions:"4" -share:"rw"
and I have also tried:
add "ImageFile20" "Mark" -file:"d:\iscsi\disk3.iscsi" -header:"0" -clustered="yes"
Using the Microsoft ISCSI initiator and a Linux Initiator running under on VMWARE
Switching on debug produces:
1:55:23:464 (0x670) func: >>> iScsiTask::startLoginPhase
21:55:23:464 (0x670) S: *ERROR* mark: all of 1 allowed sessions are opened.
21:55:23:464 (0x670) S[0x2226]: *ERROR* No more sessions for allowed due to target 'mark' restrictions.
21:55:23:464 (0x670) T[0x1]: *ERROR* Login request: failed while opening the device.
21:55:23:464 (0x670) func: <<< iScsiTask::startLoginPhase
Any ideas anyone?
Please try:
add "ImageFile20" "Mark" -file:"d:\iscsi\disk3.iscsi" -header:"0"
-clustered:"yes"
Best regards,
Valeriy
-
Guest
Wed Nov 24, 2004 10:17 pm
Thanks for that but I still cannot get it to work my target definition is:
add "ImageFile20" "Mark" -file:"d:\iscsi\disk3.iscsi" -header:"0" -sessions:"4" -share:"rw"
and I have also tried:
add "ImageFile20" "Mark" -file:"d:\iscsi\disk3.iscsi" -header:"0" -clustered="yes"
Using the Microsoft ISCSI initiator and a Linux Initiator running under on VMWARE
Switching on debug produces:
1:55:23:464 (0x670) func: >>> iScsiTask::startLoginPhase
21:55:23:464 (0x670) S: *ERROR* mark: all of 1 allowed sessions are opened.
21:55:23:464 (0x670) S[0x2226]: *ERROR* No more sessions for allowed due to target 'mark' restrictions.
21:55:23:464 (0x670) T[0x1]: *ERROR* Login request: failed while opening the device.
21:55:23:464 (0x670) func: <<< iScsiTask::startLoginPhase
Any ideas anyone?
-
Guest
Thu Nov 25, 2004 9:36 am
Seems to work fine amazing what you can do once you get the syntax right - is there anywhere this syntax is documented by the way?
Thank you very much - on to the next stage!
Mark
-
anton (staff)
- Site Admin
- Posts: 4010
- Joined: Fri Jun 18, 2004 12:03 am
- Location: British Virgin Islands
-
Contact:
Thu Nov 25, 2004 11:27 am
Mark,
good news! Just wanted to write you down you've passed numer of connections in the wrong way
About documentation. Did you get a chance to review the manual shipped together with the StarWind? ImagFile description section?
Anonymous wrote:Seems to work fine amazing what you can do once you get the syntax right - is there anywhere this syntax is documented by the way?
Thank you very much - on to the next stage!
Mark
Regards,
Anton Kolomyeytsev
Chief Technology Officer & Chief Architect, StarWind Software