danellison
Verified User
Greetings all. I am working with a pair of dual xeon dell 2850 servers running centos-5.5. These machines are clustered using DRBD dual primary for digital block replication and the centos cluster suite (openais, cman, clvmd, gfs2 and rgmanager.) I have a failover domain defined with an IP address and a group for directadmin services.
I do not run the DA startips script, instead I let the cluster manager control the failover IP and only run DA on the machine that is presently the "master" in the cluster. I want ALL resellers to share this failover IP address. Each machine has its own DA license. I am sharing a common gfs2 filesystem mounted on /usr/local/directadmin.
My /usr/local/directadmin/conf directory is a symlink to /etc/directadminconf which contains the appropriate licensing for each individual machine. I have modified the directadmin startup script to run the ipswap.sh script prior to starting the directadmin services so that no matter which machine is acting as master the DA panel shows the right IPs (its own IP and the failover IP that I want to share.)
After running the ipswap.sh script I do indeed see the right IP in the admin level IP Management screen regardless of which machine is acting as master. However, instead of listing the licensed IP as "server" it simply shows a status of "free." Is there a command line way to set this IP as "server" instead of "free"?
There are many "gotchas" involved in this process I think. I need a little guidance to help get past them. Surely this is doable. Anybody have any inisight? Your ideas greatly appreciated.
I will try to write up a summary of how I pulled this all off when completed in case any of the rest of you might have need for such a configuration.
Until then, thanks in advance.
Dan
I do not run the DA startips script, instead I let the cluster manager control the failover IP and only run DA on the machine that is presently the "master" in the cluster. I want ALL resellers to share this failover IP address. Each machine has its own DA license. I am sharing a common gfs2 filesystem mounted on /usr/local/directadmin.
My /usr/local/directadmin/conf directory is a symlink to /etc/directadminconf which contains the appropriate licensing for each individual machine. I have modified the directadmin startup script to run the ipswap.sh script prior to starting the directadmin services so that no matter which machine is acting as master the DA panel shows the right IPs (its own IP and the failover IP that I want to share.)
After running the ipswap.sh script I do indeed see the right IP in the admin level IP Management screen regardless of which machine is acting as master. However, instead of listing the licensed IP as "server" it simply shows a status of "free." Is there a command line way to set this IP as "server" instead of "free"?
There are many "gotchas" involved in this process I think. I need a little guidance to help get past them. Surely this is doable. Anybody have any inisight? Your ideas greatly appreciated.
I will try to write up a summary of how I pulled this all off when completed in case any of the rest of you might have need for such a configuration.
Until then, thanks in advance.
Dan