[Xorp-users] running multiple instances of XORP on the same host

Pavlin Radoslavov pavlin at icir.org
Fri Oct 27 18:29:25 PDT 2006


> Is there a way to run multiple instances of XORP on the same host? I 
> tried to run the second XORP instance using the -p option, but failed:
> 
> ./xorp_rtrmgr -p 20000 -b some_config.xorp

For the time being you should set the XORP_FINDER_SERVER_PORT
environmental variable before starting XORP to match that
port. E.g.:

setenv XORP_FINDER_SERVER_PORT 20000

I believe that if you set this variable, then you don't need to use
the "-p" flag.

This is not (yet) in the documentation, because we haven't finalized
the solution for running multiple XORP instances.

BTW, have in mind that you won't be able to run multiple instances
if 2+ instances try to do multicast routing. The UNIX kernel allows
only one multicast routing socket.

Regards,
Pavlin

> error messages:
> 
> [ 2006/10/27 16:29:45  INFO xorp_rtrmgr:14771 RTRMGR +240 
> master_conf_tree.cc execute ] Changed modules: interfaces, fea, rib, 
> policy, static_routes
> [ 2006/10/27 16:29:45  INFO xorp_rtrmgr:14771 RTRMGR +99 
> module_manager.cc execute ] Executing module: interfaces (fea/xorp_fea)
> [ 2006/10/27 16:29:45 INFO xorp_fea MFEA ] MFEA enabled
> [ 2006/10/27 16:29:45 INFO xorp_fea MFEA ] CLI enabled
> [ 2006/10/27 16:29:45 INFO xorp_fea MFEA ] CLI started
> [ 2006/10/27 16:29:45 INFO xorp_fea MFEA ] MFEA enabled
> [ 2006/10/27 16:29:45 INFO xorp_fea MFEA ] CLI enabled
> [ 2006/10/27 16:29:45 INFO xorp_fea MFEA ] CLI started
> [ 2006/10/27 16:29:45  FATAL xorp_fea:14772 MFEA +1493 xrl_mfea_node.cc 
> cli_manager_client_send_add_cli_command_cb ] Cannot add a command to CLI 
> manager: 102 Command failed Cannot install command 'show mfea'
> [ 2006/10/27 16:29:45  ERROR xorp_rtrmgr:14771 RTRMGR +750 
> module_manager.cc done_cb ] Command 
> "/home/yiwang/source/xorp-1.3/fea/xorp_fea": terminated with signal 6.
> [ 2006/10/27 16:29:45  INFO xorp_rtrmgr:14771 RTRMGR +297 
> module_manager.cc module_exited ] Module abnormally killed: interfaces
> [ 2006/10/27 16:29:47  WARNING xorp_rtrmgr:14771 XrlFinderTarget +406 
> ../xrl/targets/finder_base.cc handle_finder_0_2_resolve_xrl ] Handling 
> method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed 
> Target "fea" does not exist or is not enabled.
> [ 2006/10/27 16:29:48  WARNING xorp_rtrmgr:14771 XrlFinderTarget +406 
> ../xrl/targets/finder_base.cc handle_finder_0_2_resolve_xrl ] Handling 
> method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed 
> Target "fea" does not exist or is not enabled.
> ...
> 
> Any help is greatly appreciated!
> 
> Yi
> 
> PS, I found some correspondence about this issue in the mailing list in 
> Aug. 2005, but couldn't figure out the way to do it.
> 
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users



More information about the Xorp-users mailing list