Forum
Welcome, Guest
Username: Password: Remember me

TOPIC:

2 or more iSCSI 7 years 1 month ago #1243

Found it in the newest PDF :)

Will try it.

-edit-

It works, /etc/lvm/master/lvm.conf
Thats the extra file to change :)

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

Last edit: by Alexander Hjelm.

2 or more iSCSI 6 years 11 months ago #1300

Hi i have setup HA-Lizard NoSAN Installer. now should i change bellow files the config files to get the multiple iscsi ?

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

OR

I have to install HA-ISCSI Software ?

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

Last edit: by dhobale. Reason: Thought i have to explain more

2 or more iSCSI 6 years 11 months ago #1301

Those files and also /etc/lvm/master/lvm.conf. Then initialize the disks as per the installation guide and overrite the primary drive only. A reboot is probably necessary as well.

I'll attach a file with my changes but do NOT simply copy and paste anything without understanding what you are doing. Your disks may be different and if you overwrite your /sdb, for example, you may cause serious damage to your systems.
Attachments:

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

2 or more iSCSI 6 years 11 months ago #1302

Thank u Bill,

I am am not able to understand from where drbd2 came? OR its given name to second drbd, in your /etc/drbd.conf file.

Actually i am new in drbd and HA-Lizard, and i am trying to understand this.
that's why i have this doubt.

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

2 or more iSCSI 6 years 11 months ago #1303

I would install using the installation script and get your first set running. Once you understand how it works you can edit the files and add the second set of drives, which is what drbd2 references.

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

2 or more iSCSI 6 years 11 months ago #1304

Hi Bill,

I have done the steps as per your attached file.

vi /etc/tgt/targets.conf

############### 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 ###############

Bellow is the status of drbd

[root@xenserver-61 ~]# service drbd status
drbd driver loaded OK; device status:
version: 8.4.3 (api:1/proto:86-101)
srcversion: FB3AC7056350AC64629E395
m:res cs ro ds p mounted fstype
... sync'ed: 29.8% (45096/64216)Mfinish: 0:07:43 99,648 (96,924) K/sec
1:iscsi1 Connected Primary/Secondary UpToDate/UpToDate C
2:iscsi2 SyncSource Primary/Secondary UpToDate/Inconsistent C

when i am trying to connect iscsi SR (iscs2) in xencenter it is not showing LUN of iscsi2. it gives error. screen shot is attached please find LUN.JPG file.
Attachments:

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

Last edit: by dhobale.