Hi Koichiro,

Try using absolute paths for dumps.  You might be getting snagged by a problem 
with inconsistent working directories between controllers.

Cheers, Robert


On 12/2/08 11:08 PM, "Koichiro Hara" <[EMAIL PROTECTED]> wrote:



Hi all.

I'm trying to use sequoia2.10.10, and have a problem about
controller configuration.

There are 2 hosts, a host have a controller.

/etc/hosts is as follows.
192.168.10.10           svr1
192.168.10.11           svr2

First controller.xml is
--------------------------------
<SEQUOIA-CONTROLLER>
  <Controller ipAddress="svr1">
    <JmxSettings>
      <RmiJmxAdaptor />
    </JmxSettings>
  </Controller>
</SEQUOIA-CONTROLLER>
--------------------------------

It listens only on local domain.

[EMAIL PROTECTED]:~$ netstat -a | grep 25322
tcp        0      0 svr1.localdomai:25322 *:*     LISTEN
udp        0      0 *:25322               *:*

So I tried second controller.xml.
---------------------------------
<SEQUOIA-CONTROLLER>
  <Controller ipAddress="192.168.10.10">
    <JmxSettings>
      <RmiJmxAdaptor />
    </JmxSettings>
  </Controller>
</SEQUOIA-CONTROLLER>
---------------------------------

[EMAIL PROTECTED]:~$ netstat -a | grep 25322
tcp        0      0 svr1:25322            *:*      LISTEN
udp        0      0 *:25322               *:*

Now it listens on all interfaces.

But it dosen't work on transfer dump.

On svr1
---------------------------------------------------------
tfdb(admin) > expert on
Expert mode on

tfdb(admin) > backup vdb1 dump20 pg_back .
Backend login for backup process > postgres
Backend password for backup process >
Backup backend vdb1 in dump file dump20

tfdb(admin) > transfer dump dump20 192.168.100.32:1090 nocopy
Transferring dump dump20 to controller 192.168.100.32:1090...
Done

tfdb(admin) > restore log dump20 192.168.100.32:1090
Done
---------------------------------------------------------
It looks well.

On svr2
----------------------------------------------------------
tfdb(admin) > expert on
Expert mode on

tfdb(admin) > restore backend vdb2 dump20
Backend login for restore process > postgres
Backend password for restore process >
Restoring backend vdb2 with dump dump20
Backup './dump20.sql' does not exist!
----------------------------------------------------------
It can't find backup file.

How I can resolve this problem?

Any answer is appreciated. Thanks



-----------------------------
starlogic  Koichiro Hara


_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia



--
Robert Hodges, CTO, Continuent, Inc.
Email:  [EMAIL PROTECTED]
Mobile:  +1-510-501-3728  Skype:  hodgesrm
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to