Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC:

Install issue 8 years 5 months ago #607

Hello,

I´m trying to install halizard_nosan_installer_1.4.7.

During installation process I get this error:

Installing iSCSI-HA Storage High Availability Component
chmod: cannot access `/etc/iscsi-ha/init/*': No such file or directory
cp: cannot stat `/etc/iscsi-ha/init/iscsi-ha': No such file or directory
cp: cannot stat `/etc/iscsi-ha/init/iscsi-ha-watchdog': No such file or directory
error reading information on service iscsi-ha: No such file or directory
error reading information on service iscsi-ha-watchdog: No such file or directory

I tried to set chmod to 777 in those folder without success.

Thank you,

Regards.

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

Install issue 8 years 5 months ago #609

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
The installation script requires internet access to download the latest versions of all the required applications.

ha-lizard-1.8.8.tgz and iscsi-ha-1.5.6.tgz should have both been downloaded and saved in /tmp/halizard_tmp_/

Please check whether these 2 files are in that location and report back.

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

Install issue 8 years 5 months ago #611

Hello,

Thank you for your quick response.

Yes, the files were there.
I executed the installation file several times, and the solution was to eliminate "/tmp/halizard_tmp_/" folder (there was several instances of the same installation files). After that the installation process was ok until the last step where I get this error "Token too long >>>/dev/mapper/XSLocalE...<<<" please see information below:


Press <enter> to continue installation

Successfully updated FENCE_ENABLED to value: 1
Successfully updated FENCE_HEURISTICS_IPS to value: 192.168.100.14
Successfully updated FENCE_MIN_HOSTS to value: 2
Successfully updated FENCE_QUORUM_REQUIRED to value: 1
Successfully updated FENCE_USE_IP_HEURISTICS to value: 1
Successfully updated MONITOR_DELAY to value: 15
Successfully updated MONITOR_MAX_STARTS to value: 20
Successfully updated XAPI_COUNT to value: 2
Successfully updated XAPI_DELAY to value: 10
| Initializing DRBD.. This host will wait until its peer connects. |
| Installation will resume after the DRBD peers connect |
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.00103793 seconds, 1.0 GB/s
/etc/drbd.conf:12: Token too long >>>/dev/mapper/XSLocalE...<<<
Starting DRBD resources:
/etc/drbd.conf:12: Token too long >>>/dev/mapper/XSLocalE...<<<
.
Synchronizing storage with peer/slave host/etc/drbd.conf:12: Token too long >>>/dev/mapper/XSLocalE...<<<
Starting ha-lizard: [ OK ]
Starting ha-lizard-watchdog: [ OK ]

Starting iscsi-ha: [ OK ]
Starting iscsi-ha-watchdog: [ OK ]

| The final step is to create a new storage repository of type iSCSI from XenCenter |
| targeted to 10.10.10.3 to complete the noSAN installation. |

I´m using xencenter and I can see "local storage" in both host.
For the record, I installed xenserver 6.5 over ibm server x3650 with raid 1.
Full path of my server looks like this

/dev/mapper/XSLocalEXT--b34ca41c--6be2--8d26--1c04--758fe24682da-b34ca41c--6be2--8d26--1c04--758fe24682da

I think that it is too long and that may be cause the problem..?

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

Last edit: by osle.

Install issue 8 years 5 months ago #612

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
I checked the DRBD source code and it looks like their string parser allows a max length of 81 chars. The path to your storage is 105 characters long.

So, you can try an alternative approach:

- re-install XenServer on 2 hosts and make the necessary preparations (ie. replication interface, set IPs, etc..)

- If you are using the XenServer created local storage for HA-Lizard, manually remove the local storage from both hosts.

- find the full path to your disk partition and then create a much shorter symbolic link to the storage.

- Run the HA-Lizard noSAN installer as usual but this time do NOT ask the installer to delete local storage. You will be prompted to type in the path to your storage.. You can enter the shorter symlink here.

The rest of the installation should work smoothly.
Let us know if you encounter any issues

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

Install issue 8 years 5 months ago #615

Hello, the installation is complete.
Resolution:

Rename volume group with command "vgrename" /dev/mapper/.... storage1

full path changed from
/dev/mapper/XSLocalEXT--b34ca41c--6be2--8d26--1c04--758fe24682da-b34ca41c--6be2--8d26--1c04--758fe24682da

to

/dev/storage1/eb6277a5-ed8e-05c0-ce37-95868706c340

please note that the uuid has changed because i reinstalled xenserver


Regards.

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

Install issue 8 years 5 months ago #618

Hello,

Unfortunately my solution was not so good.

can you tell me how to do this ?

- If you are using the XenServer created local storage for HA-Lizard, manually remove the local storage from both hosts.

- find the full path to your disk partition and then create a much shorter symbolic link to the storage.

But the way, is there any way to extend max length of 81 to 105 chars in DRBD?

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

Last edit: by osle.
  • Page:
  • 1
  • 2