Hello again :)
I'm getting another strange error when I start controller.sh, but this
time I suspect a pebkac case ;)
Once again, this is a two node setup, with EDB as the backend, using the
PostgreSQL JDBC driver, Sequoia 2.10.10 running on Red Hat 5 update 1.
IPV6 is disabled, and the installed java runtime:
[EMAIL PROTECTED] sequoia-2.10.10-bin]# java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
When I start my controller, I get the following errors:
00:57:52,157 ERROR controller.jmx.MBeanServer Register mbean of type
sequoia:VirtualDataBase=myDB,type=VirtualDataBase.RequestManager.ParsingCache
failed with error
sequoia:type=VirtualDataBase.RequestManager.ParsingCache,VirtualDataBase=myDB
({2})
00:57:52,198 ERROR controller.xml.DatabasesParser The virtual database
myDB could not be added to the controller (because of Error while joining
group myDB (org.continuent.hedera.channel.ChannelException:
org.jgroups.ChannelException: failed to start protocol stack))
java.lang.Exception: Error while joining group myDB
(org.continuent.hedera.channel.ChannelException:
org.jgroups.ChannelException: failed to start protocol stack)
I did some research on this, and it seems as if there is an error due to
the fact that jgroups has a known issue with ipv6 on Linux. Fair enough,
but I disabled ipv6, so this should be a non issue ? Otherwise, I'm
missing something somewhere..
My controller.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE SEQUOIA-CONTROLLER PUBLIC "-//Continuent//DTD SEQUOIA-CONTROLLER
2.10.10//EN"
"http://sequoia.continuent.org/dtds/sequoia-controller-2.10.10.dtd">
<SEQUOIA-CONTROLLER>
<Controller ipAddress="192.168.64.132" port="25322">
<JmxSettings>
<RmiJmxAdaptor port="1091"/>
</JmxSettings>
<VirtualDatabase configFile="mydb1-distribution-2.xml"
virtualDatabaseName="myDB" autoEnableBackends="true"/>
</Controller>
</SEQUOIA-CONTROLLER>
My mydb1-distribution-1.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE SEQUOIA PUBLIC "-//Continuent//DTD SEQUOIA 2.10.10//EN"
"http://sequoia.continuent.org/dtds/sequoia-2.10.10.dtd">
<SEQUOIA>
<VirtualDatabase name="myDB">
<Distribution>
<MessageTimeouts/>
</Distribution>
<Backup>
<Backuper backuperName="PostgreSQL"
className="org.continuent.sequoia.controller.backup.backupers.PostgreSQLPlainTextBackuper"
options="zip=true"/>
</Backup>
<AuthenticationManager>
<Admin>
<User username="admin" password="admin"/>
</Admin>
<VirtualUsers>
<VirtualLogin vLogin="user" vPassword="user"/>
</VirtualUsers>
</AuthenticationManager>
<DatabaseBackend name="localhost1" driver="org.postgresql.Driver"
url="jdbc:postgresql://192.168.64.131:5432/db1"
connectionTestStatement="select 1">
<ConnectionManager vLogin="user" rLogin="user" rPassword="user">
<VariablePoolConnectionManager initPoolSize="10" minPoolSize="5"
maxPoolSize="50" idleTimeout="30" waitTimeout="10"/>
</ConnectionManager>
</DatabaseBackend>
<DatabaseBackend name="localhost2" driver="org.postgresql.Driver"
url="jdbc:postgresql://192.168.64.132:5432/db1"
connectionTestStatement="select 1">
<ConnectionManager vLogin="user" rLogin="user" rPassword="user">
<VariablePoolConnectionManager initPoolSize="10" minPoolSize="5"
maxPoolSize="50" idleTimeout="30" waitTimeout="10"/>
</ConnectionManager>
</DatabaseBackend>
<RequestManager>
<RequestScheduler>
<RAIDb-1Scheduler level="passThrough"/>
</RequestScheduler>
<LoadBalancer>
<RAIDb-1>
<WaitForCompletion policy="first"/>
<RAIDb-1-LeastPendingRequestsFirst/>
</RAIDb-1>
</LoadBalancer>
<RecoveryLog driver="org.postgresql.Driver"
url="jdbc:postgresql://192.168.64.131:5432/reclog" login="user"
password="user">
<RecoveryLogTable tableName="RECOVERY" logIdColumnType="BIGINT NOT
NULL"
vloginColumnType="VARCHAR NOT NULL" sqlColumnType="VARCHAR NOT
NULL"
extraStatementDefinition=",PRIMARY KEY (log_id)"/>
<CheckpointTable tableName="CHECKPOINT"
checkpointNameColumnType="VARCHAR NOT NULL"/>
<BackendTable tableName="BACKEND"
databaseNameColumnType="VARCHAR NOT NULL"
backendNameColumnType="VARCHAR NOT NULL"
checkpointNameColumnType="VARCHAR NOT NULL"/>
<DumpTable tableName="DUMP" dumpNameColumnType="VARCHAR NOT NULL"
dumpDateColumnType="TIMESTAMP"
dumpPathColumnType="VARCHAR NOT NULL"
dumpFormatColumnType="VARCHAR NOT NULL"
checkpointNameColumnType="VARCHAR NOT NULL"
backendNameColumnType="VARCHAR NOT NULL"
tablesColumnType="VARCHAR NOT NULL"/>
</RecoveryLog>
</RequestManager>
</VirtualDatabase>
</SEQUOIA>
--------------------------------------------
Regards
Willie
-------------------------------------------
South Africas premier free email service - www.webmail.co.za
------------------------------------------------------------------
For super low premiums, click here http://www.webmail.co.za/dd.pwm
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia