Page 1 of 1

Scalix 11.3 Cluster

Posted: Mon Mar 03, 2008 12:11 pm
by tcorapi
I have a two node cluster on RHEL5 running Scalix 11.3 Enterprise. I can use SAC to administer users but command line returns OM 28506 Which Scalix Server system? running any command I try. The cluster is operational and I amd sending / receiving mail just fine. I've checked the instance.conf and see no issues. At least it matches the documentation.

OMNAME=scalix1
OMHOSTNAME=scalix1.domain.com
OMDATADIR=/var/opt/scalix/si/s
OMSTART=FALSE
#
OMNAME=scalix2
OMHOSTNAME=scalix2.domain.com
OMDATADIR=/var/opt/scalix/si/s
OMSTART=FALSE

Physical server names for the cluster are mail1.xxx.com and mail2.xxx.com

Posted: Mon Mar 03, 2008 12:56 pm
by ls-al
The environment variable OMCURRENT has to be set to one of the instance-names (OMNAME) configured in instance.cfg.
In your case (if you want to work with the first instance):

Code: Select all

export OMCURRENT=scalix1


cheers,
Dirk

Posted: Mon Mar 03, 2008 1:06 pm
by tcorapi
Edited /etx/opt/scalix/instance.cfg with OMCURRENT=scalix1 below OMNAME

Same problem. Which Scalix Server System. Restarted services but that did not help either.

Posted: Tue Mar 04, 2008 4:01 am
by Valerion
Don't put it in the instance.cfg file. You need to type

Code: Select all

export OMCURRENT=scalix1


on the command prompt before you start issuing commands to the instance. This will indicate to the command line tool which instance you are trying to work with, as the tools can't tell which instance you want to modify.

Posted: Tue Mar 04, 2008 9:29 am
by tcorapi
Thanks, that worked.

I'll note this as another item missing from the HACluster documentation.

Thanks for the quick response too.