[Linux-cluster] Sybase Cluster on RedHAt

AZZOPARDI Konrad azzopardi at eib.org
Mon May 10 15:41:30 UTC 2010


Dear all,
 
I have a working two node RedHAt cluster and need to configure two Sybase resources, I am using a script called ASEHAagent-eib which is basically a copy of the original with an extra kill so nothing new.
I think there is a problem here because I am not allowed to have two ASEHAagent running at the same time and my /var/log/messages states something like this :
 
May 10 17:40:32 <local0.notice> dc1-x6270-a clurgmgrd[7692]: <notice> Reconfiguring
May 10 17:40:32 <local0.info> dc1-x6270-a clurgmgrd[7692]: <info> Loading Service Data
May 10 17:40:33 <local0.err> dc1-x6270-a clurgmgrd[7692]: <err> Unique attribute collision. type=ASEHAagent-eib attr=sybase_home value=/app/sybase
May 10 17:40:33 <local0.err> dc1-x6270-a clurgmgrd[7692]: <err> Error storing ASEHAagent-eib resource
May 10 17:40:33 <local0.info> dc1-x6270-a clurgmgrd[7692]: <info> Applying new configuration #30
May 10 17:40:33 <local0.info> dc1-x6270-a clurgmgrd[7692]: <info> Stopping changed resources.
May 10 17:40:33 <local0.info> dc1-x6270-a clurgmgrd[7692]: <info> Restarting changed resources.
May 10 17:40:33 <local0.info> dc1-x6270-a clurgmgrd[7692]: <info> Starting changed resources.

Is there a more elegant way to do it other than having multiple names for the same script ? 
 
Tnx
konrad
 
 
   <ASEHAagent-eib name="SYB1_fkdbclm" sybase_user="sybase" sybase_home="/app/sybase" sybase_ase="ASE-15_0" sybase_ocs="OCS-15_0" server_name="SYB1_fkdbclm" login_file="/app/sybase/fkdbclm/admin/login_file" interfaces_file="/app/sybase/interfaces" shutdown_timeout="200" start_timeout="300" deep_probe_timeout="300"/>
                <ASEHAagent-eib name="SYB1_fkdbtrm" sybase_user="sybase" sybase_home="/app/sybase" sybase_ase="ASE-15_0" sybase_ocs="OCS-15_0" server_name="SYB1_fkdbtrm" login_file="/app/sybase/fkdbtrm/admin/login_file" interfaces_file="/app/sybase/interfaces" shutdown_timeout="200" start_timeout="300" deep_probe_timeout="300"/>
 
                </resources>
 
               <service autostart="1" domain="fkdbclm_failover" exclusive="0" name="fkdbclm" recovery="relocate">
                        <ip ref="172.26.18.45">
                                <lvm ref="fkdbclm_resource">
                                        <fs ref="syb_fkdbclm_log"/>
                                        <fs ref="syb_fkdbclm_tempdb"/>
                                        <fs ref="syb_fkdbclm_data"/>
                                        <fs ref="syb_fkdbclm_admin"/>
                                        <ASEHAagent-eib ref="SYB1_fkdbclm"/>
                                </lvm>
                        </ip>
                </service>
 
                 <service autostart="1" domain="fkdbtrm_failover" exclusive="0" name="fkdbtrm" recovery="relocate">
                        <ip ref="172.26.18.44">
                                <lvm ref="fkdbtrm_resource">
                                        <fs ref="syb_fkdbtrm_log"/>
                                        <fs ref="syb_fkdbtrm_tempdb"/>
                                        <fs ref="syb_fkdbtrm_data"/>
                                        <fs ref="syb_fkdbtrm_admin"/>
                                        <ASEHAagent-eib ref="SYB1_fkdbtrm"/>
                                </lvm>
                        </ip>
                </service>

--------------------------------------------------------------------

Les informations contenues dans ce message et/ou ses annexes sont 
reservees a l'attention et a l'utilisation de leur destinataire et peuvent etre 
confidentielles. Si vous n'etes pas destinataire de ce message, vous etes 
informes que vous l'avez recu par erreur et que toute utilisation en est 
interdite. Dans ce cas, vous etes pries de le detruire et d'en informer la 
Banque Europeenne d'Investissement.

The information in this message and/or attachments is intended solely for 
the attention and use of the named addressee and may be confidential. If 
you are not the intended recipient, you are hereby notified that you have 
received this transmittal in error and that any use of it is prohibited. In 
such a case please delete this message and kindly notify the European 
Investment Bank accordingly.
--------------------------------------------------------------------
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20100510/6d877676/attachment.htm>


More information about the Linux-cluster mailing list