Cluster Node Setup - Load Balancer Control: Unknown (ipvsadm)

Hey there!

We setup our cluster manager perfectly, it works great. We setup a new server with a fresh install following all steps i did on the first (update php to 5.3.2, install ruby/rails gems, import ioncube loader 5.3, update OS)

I generated an API key on the cluster node, and then went to my manager and created the node with the IP and the api. It imported perfectly fine but now the overview page says http://grab.by/4cxw . I guess it cannot find the lvs version, which is:

[root@atom ~]# rpm -q ipvsadm <-- cluster manager
ipvsadm-1.24-10

[root@chrome ~]# rpm -q ipvsadm <-- cluster node
ipvsadm-1.24-10

Well I logged into the cluster node and all the language variables are messed up!! Which could explain the problem? http://grab.by/4cxH

Any ideas? I followed each guide exactly and I am a server admin with a pretty good knowledge of installs.

Thanks!

There are a few things that can cause issues with the translations, not really sure if any of those would directly explain the other issue…I’d suggest logging a support ticket if you haven’t already, we’ll get it figured out for you.

Seems like its a worse issue now! I re-installed the node server this time only installing via the install script, activated, and setup clustering as node with API key.

The cluster manager will not mount it says failed and the error log says: the cluster manager will not mount the node

2010-05-04T22:16:07-04:00 [INFO] /xhr.php : FAILED remote UNmount on 173.236.65.XXX: /chroot/home
2010-05-04T22:16:07-04:00 [INFO] /xhr.php : killing exported share: /chroot/home from 173.236.65.XXX
2010-05-04T22:16:08-04:00 [INFO] nfs.php : script begin
2010-05-04T22:16:08-04:00 [NOTICE] nfs.php : nfs.php --list-exports
2010-05-04T22:16:08-04:00 [INFO] nfs.php : script end
2010-05-04T22:16:08-04:00 [INFO] /xhr.php : deleting export on local directory: /chroot/home from 173.236.65.XXX
2010-05-04T22:16:08-04:00 [INFO] nfs.php : script begin
2010-05-04T22:16:08-04:00 [NOTICE] nfs.php : nfs.php --delete-export /chroot/home 173.236.65.XXX
2010-05-04T22:16:08-04:00 [INFO] nfs.php : script end
2010-05-04T22:16:08-04:00 [INFO] cluster.php : script begin
2010-05-04T22:16:08-04:00 [NOTICE] cluster.php : cluster.php --lb-list-services
2010-05-04T22:16:08-04:00 [INFO] cluster.php : script end
2010-05-04T22:16:08-04:00 [INFO] dns.php : script begin
2010-05-04T22:16:08-04:00 [NOTICE] dns.php : dns.php --list
2010-05-04T22:16:08-04:00 [INFO] dns.php : script end
2010-05-04T22:16:08-04:00 [INFO] ip.php : script begin
2010-05-04T22:16:08-04:00 [NOTICE] ip.php : ip.php --list
2010-05-04T22:16:08-04:00 [INFO] httpd.php : script begin
2010-05-04T22:16:08-04:00 [NOTICE] httpd.php : httpd.php --dump-vhosts
2010-05-04T22:16:08-04:00 [INFO] httpd.php : script end
2010-05-04T22:16:08-04:00 [INFO] ip.php : script end
2010-05-04T22:16:08-04:00 [INFO] httpd.php : script begin
2010-05-04T22:16:08-04:00 [NOTICE] httpd.php : httpd.php --dump-vhosts
2010-05-04T22:16:08-04:00 [INFO] httpd.php : script end
2010-05-04T22:16:08-04:00 [INFO] /xhr.php : FAILED UN-clustering: 173.236.65.XXX (173.236.65.XXX)

Seems Like it is trying to uncluster from the old server (same host/ip) even though it is gone and dosnt seem like it thinks its still clustered as you can see here: http://grab.by/4cT7 only one is listed.

After digging into Anthony’s server a bit, here is the error that appears to be preventing the load balancing from working. This is on a centos openvz vps.

From the virtual guest:

ipvsadm

FATAL: Could not load /lib/modules/2.6.18-164.15.1.el5.028stab068.9/modules.dep: No such file or directory
Can’t initialize ipvs: Protocol not available
Are you sure that IP Virtual Server is built in the kernel or as module?

The main server works

ipvsadm
IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn

Seems like its a worse issue now! I re-installed the node server this time only installing via the install script, activated, and setup clustering as node with API key.

We’ll have to manually clean up the removed node from the cluster manager if that hasn’t been taken care of already.

Are you sure that IP Virtual Server is built in the kernel or as module?

That sounds like the ipvs kernel module needs to be made available to the guest (assuming that’s possible in openvz, I haven’t personally tried it).

Paul

Hey Paul!

I purchased my VPS licenses through peter, but can you provide me with ticket access so you guys may be able to take a look around to see if you can enable guest access to ipvs. Or perhaps provide me with some sample commands. IPVS is installed on the host.