Cluster Sync and iscsi+lvm volumes not replicating on slaves

kawarmc

New Member
Jun 15, 2009
28
3
3
Hi Guys:

I have a setup of a couple of nodes with 1.4. Both are attached to an iscsi SAN. When I create a new volume on the SAN and then attach that as a new storage to the master node, using a new LVM Group using the newly created iSCSI volumen as base storage, everything works on the master but it doesn't on the slave.

I don't really know how to create the iscsi + lvm by hand on the slave or how to force the master to replicate the configuration to the slave. Any ideas how to solve this? I can't use the web interface on the slave to create the same config because it returns an error:
Code:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root and inform them of the time the error occurred, and anything you might have done that may have caused the error.

[6259]ERR: 24: Error in Perl code: command '/usr/bin/iscsiadm --mode session' failed with exit code 61
 
Sorry, my fault...

The probem was the SAN had a volumen marked as "not shared". That means only one host can log in to that volume at a time. That was the problem when synchronizing iscsi configs from master to slave... the configuration files were replicated but open-iscsi could not log into the SAN.

As the machines are on a hoster's prmises, and I did not have access to a Linux or Windows machine with a Firefox to connect to the SAN to see the log messages... quite a mess...


Thanks a lot anyway.