Forum
Welcome, Guest
Username: Password: Remember me

TOPIC:

2 or more iSCSI 6 years 6 months ago #380

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.

2 or more iSCSI 6 years 6 months ago #381

vi /etc/tgt/targets.conf : ----

#</target>
############### BEGIN HALIZARD INSERTION ###############
<target iqn.2015.com.halizard:noSAN>
backing-store /dev/drbd1
lun 10
backing-store /dev/drbd2
lun 20
</target>
############### END HALIZARD INSERTION ##############
is the above correct ???
it doesnt work . does anybody has idea whats wrong ???
if i leave either only drbd1 or drbd2 works perfect. Both doesnt work :(

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

2 or more iSCSI 6 years 6 months ago #382

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 696
Hi Dimi,
We will post a working set of files later this week once we have had a chance to test them on our development environment.

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

2 or more iSCSI 6 years 6 months ago #383

hello.
Today I tested setup with two (and three) iscsi SR:
1) iscsi1 = /dev/sda3 (HDD where xenserver is installed)
2) iscsi2 = /dev/sdb
3) iscsi3 = /dev/sdc

It works. Config files are attached.
I had some problems with initializing new Disk/drbd resource.

Here I have few questions:
1)
what is correct procedure to initialize second (third) drbd resource when system is configured and running OK with one disk ??

2)
how to test DR if one disk in one host fail and what is correct procedure for disk replacement
(either sda where xenserver is installed or sdb, sdc,...

3)
is it good idea or not recomended to create /dev/sda3 as iscsi SR?
(sda is hdd where xenserver is installed)?


BR

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

2 or more iSCSI 6 years 6 months ago #384

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 696
Please re-attach your working config files. Particularly the TGT config file as another user can benefit from that.

In answer to your questions:

(1) The process of initializing the additional disks is the same as the first disk:
- wipe any metadata from the begining of the new drives
- create new DRBD metadata on new drives
- connect the DRBD resources
- choose which of the 2 drives to invalidate and perform initial DRBD sync
these steps are all well documented in the howto document we publish:
halizard.com/images/pdf/iscsi-ha_node_cl..._howto_1.4_final.pdf

(2) Testing DR is as simple as removing one of the hosts from the pool forcefully. Make sure to enable HA before doing so to ensure that your services are restarted automatically on the surviving host.

(3) using the third partition on a standard XenServer installation for DR storage is OK. In this case you are converting what is the default local storage to storage managed by our applications. We have production systems working this way reliably. It is also a very low cost way to achieve DR/HA with few disks.

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

2 or more iSCSI 6 years 6 months ago #385

Config files re-attached.

Q:

What is correct procedure for disk replacement if e.g. sda (or sdb) fail?

br

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