Forum
Welcome, Guest
Username: Password: Remember me

TOPIC:

2 or more iSCSI 6 years 6 months ago #374

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 696
You should not rerun the installer. It is inteneded to be run one time only when building the system for the first time.

To accomplish this you will need to modify 3 configuration files on the system. The changes are rather minor.. You should read the how-to doc and iscsi-ha documentation to get a better understanding if you are not comfortable with the changes:
halizard.com/images/pdf/iscsi-ha_1.4_final.pdf
halizard.com/images/pdf/iscsi-ha_node_cl..._howto_1.4_final.pdf


Here are the steps from a previous post that other users have verified to work:

- in the DRBD configuration file add a second DRBD device (ie. iscsi2)

- in the TGT configuration file add another backing device with a different LUN than the first backing device

- in the iscsi-ha.conf file specify the names of the 2 drbd devices. Assuming you name them iscsi1 and iscsi2, the required configuration line will look like this:
DRBD_RESOURCES=iscsi1:iscsi2

- Make sure to update your LVM filter accordingly so that both of the iscsi devices are only exposed via the iscsi target.

Once completed you should be able to connect to a single iscsi target IP address and see 2 LUNs from xencenter.

Please Log in or Create an account to join the conversation.

2 or more iSCSI 6 years 6 months ago #375

ok thanks
it would be helpful if you could provide thw paths for :
-DRBD configuration file
-TGT configuration file
-iscsi-ha.conf file
-LVM filter

thanks in advance

Please Log in or Create an account to join the conversation.

2 or more iSCSI 6 years 6 months ago #376

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 696
They are all in the how-to document.
www.halizard.com/images/pdf/iscsi-ha_nod..._howto_1.4_final.pdf

/etc/drbd.conf
/etc/tgt/targets.conf
/etc/lvm/lvm.conf
/etc/iscsi-ha/iscsi-ha.conf

Please Log in or Create an account to join the conversation.

2 or more iSCSI 6 years 6 months ago #377

im sending file with my settings.
if you can help ????
what im doing wrong ???

File Attachment:

File Name: new.txt
File Size:2 KB
Attachments:

Please Log in or Create an account to join the conversation.

2 or more iSCSI 6 years 6 months ago #378

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 696
- your DRBD resources should be on differnet ports. Change the port number on the new DRBD resource

- you will need to initialize the new DRBD resource. See documentation on how to do that. Step by step instructions are in the how to document we publish (link in previous post)

- check your targets.conf file. Not sure if you can have 2 backing_stores in a single iqn..

Please Log in or Create an account to join the conversation.

2 or more iSCSI 6 years 6 months ago #379

Yes it works!!


could you plz upload the following confs by your success ???
/etc/drbd.conf
/etc/tgt/targets.conf
/etc/lvm/lvm.conf
/etc/iscsi-ha/iscsi-ha.conf

what procedure you follow to initialize 2nd sr ???

Please Log in or Create an account to join the conversation.

Last edit: by dimi.