<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I wan't to make it work the sample "bup.erl" (code 
example doing backup traversal - with change of node name) which is located in 
example directory of mnesia.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But failed with 2 nodes. Where am I doing 
wrong ? Please guide me.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>NOTE:</FONT></DIV>
<DIV><FONT face=Arial size=2>    Also note that the ping from 
node 1 to node 2 fails & node 2 to node 1 success</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sanjaya Vitharana</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------------------------------<BR>Node 
1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[root@vm_linux examples]# 
pwd<BR>/usr/local/lib/erlang/lib/mnesia-4.3.3/examples<BR>[root@vm_linux 
examples]# erl -sname db_nodes  -mnesia dir 
'"/usr/local/lib/erlang/lib/mnesia-4.3.3/examples/db_nodes"' -setcookie 
w<BR>Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] 
[hipe]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Eshell V5.5.2  (abort with ^G)<BR>(<A 
href="mailto:db_nodes@vm_linux)1">db_nodes@vm_linux)1</A>> 
nodes().<BR>[]<BR>(<A 
href="mailto:db_nodes@vm_linux)2">db_nodes@vm_linux)2</A>> net_adm:ping(<A 
href="mailto:db_nodes@es3">db_nodes@es3</A>).<BR>pang<BR>(<A 
href="mailto:db_nodes@vm_linux)3">db_nodes@vm_linux)3</A>> 
nodes().<BR>[db_nodes@es3]<BR>(<A 
href="mailto:db_nodes@vm_linux)4">db_nodes@vm_linux)4</A>> 
c(bup).<BR>./bup.erl:139: Warning: variable 'NewStartRes' is 
unused<BR>./bup.erl:224: Warning: variable 'Oid' is unused<BR>./bup.erl:232: 
Warning: variable 'CounterTab' is unused<BR>{ok,bup}<BR>(<A 
href="mailto:db_nodes@vm_linux)5">db_nodes@vm_linux)5</A>> 
bup:test().</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>=INFO REPORT==== 22-Apr-2007::23:01:20 
===<BR>    application: mnesia<BR>    exited: 
stopped<BR>    type: 
temporary<BR>{schema,schema,<BR>        
[{name,schema},<BR>         
{type,set},<BR>         
{ram_copies,[]},<BR>         
{disc_copies,[db_nodes@vm_linux]},<BR>         
{disc_only_copies,[]},<BR>         
{load_order,0},<BR>         
{access_mode,read_write},<BR>         
{index,[]},<BR>         
{snmp,[]},<BR>         
{local_content,false},<BR>         
{record_name,schema},<BR>         
{attributes,[table,cstruct]},<BR>         
{user_properties,[]},<BR>         
{frag_properties,[]},<BR>         
{cookie,{{1177,261280,346825},db_nodes@vm_linux}},<BR>         
{version,{{2,0},[]}}]}.<BR>{schema,bup_rec,<BR>        
[{name,bup_rec},<BR>         
{type,set},<BR>         
{ram_copies,[]},<BR>         
{disc_copies,[db_nodes@vm_linux]},<BR>         
{disc_only_copies,[]},<BR>         
{load_order,0},<BR>         
{access_mode,read_write},<BR>         
{index,[]},<BR>         
{snmp,[]},<BR>         
{local_content,false},<BR>         
{record_name,bup_rec},<BR>         
{attributes,[key,val]},<BR>         
{user_properties,[]},<BR>         
{frag_properties,[]},<BR>         
{cookie,{{1177,261280,330333},db_nodes@vm_linux}},<BR>         
{version,{{2,0},[]}}]}.<BR>{bup_rec,9,81}.<BR>{bup_rec,6,36}.<BR>{bup_rec,7,49}.<BR>{bup_rec,5,25}.<BR>{bup_rec,4,16}.<BR>{bup_rec,8,64}.<BR>{bup_rec,3,9}.<BR>{bup_rec,2,4}.<BR>{bup_rec,10,100}.<BR>{bup_rec,1,1}.<BR>{error,{{badmatch,{error,{"Cannot 
install fallback",enoent}}},<BR>        
[{bup,test2,3},<BR>         
{bup,test,1},<BR>         
{erl_eval,do_apply,5},<BR>         
{shell,exprs,6},<BR>         
{shell,eval_loop,3}]}}<BR>(<A 
href="mailto:db_nodes@vm_linux)6">db_nodes@vm_linux)6</A>> 
<BR>-----------------------------------------------------------------------<BR>Node 
2</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[root@es3 examples]# 
pwd<BR>/usr/local/lib/erlang/lib/mnesia-4.2.3/examples<BR>[root@es3 examples]# 
erl -sname db_nodes  -mnesia dir 
'"/usr/local/lib/erlang/lib/mnesia-4.2.3/examples/db_nodes"' -setcookie 
w<BR>Erlang (BEAM) emulator version 5.4.12 [source] [hipe] 
[threads:0]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Eshell V5.4.12  (abort with ^G)<BR>(<A 
href="mailto:db_nodes@es3)1">db_nodes@es3)1</A>> nodes().<BR>[]<BR>(<A 
href="mailto:db_nodes@es3)2">db_nodes@es3)2</A>> net_adm:ping(<A 
href="mailto:db_nodes@vm_linux">db_nodes@vm_linux</A>).<BR>pong<BR>(<A 
href="mailto:db_nodes@es3)3">db_nodes@es3)3</A>> 
nodes().<BR>[db_nodes@vm_linux]<BR>(<A 
href="mailto:db_nodes@es3)4">db_nodes@es3)4</A>> 
<BR>-----------------------------------------------------------------------</FONT></DIV></BODY></HTML>