From: Daniel W. <wi...@ci...> - 2004-07-16 03:00:55
|
Luke, Try testing without bpsh (if you can). We use this setup for a commercial Flexlm licensed application, and it works. We have full OS installs on the internal compute nodes, however, so they only use hosts: files. /etc/hosts has the *external* addresses of the flexlm servers (we have a 3-backup-server setup for Flexlm). Routing all goes through the master server (router set via DHCP). Master server has NAT set up via iptables script (iptable_nat module, set up FORWARD chain for appropriate ports, enable MASQUERADEing in nat table (POSTROUTING chain), and "echo 1 > /proc/sys/net/ipv4/ip_forward"). If you haven't done NAT before, there's a decent HOWTO in TLDP. HTH, Dan W. On Thu, Jul 15, 2004 at 05:54:15PM -0500, Luke Palmer wrote: > Hello, > > I'm trying to do some host faking to make flexlm licensed software work > on nodes. Say I have a flexlm license that refers to the servers foo > and bar. I want to make nodes think that foo and bar are the master, > which will then do NAT and send data to the real foo and bar. > > So, on nodes here is what I have done. nsswitch.conf looks like this: > > passwd: bproc > hosts: files bproc > > and /etc/hosts is this: > > 10.0.4.100 foo bar > > Unfortunately, I see the following: > > # bpsh 1 ping foo > ping: unknown host foo > > This trick would work on a normal linux box- can anyone see what I am > doing wrong, or suggest an alternate approach? > > Thanks > -Luke -- -- Daniel Widyono http://www.cis.upenn.edu/~widyono -- Liniac Project, CIS Dept., SEAS, University of Pennsylvania -- Mail: CIS Dept, 302 Levine 3330 Walnut St Philadelphia, PA 19104 |