[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: mirage, mirage-www, xen and ec2



Hi,

Anil wrote:

> The default mirage-www is configured to a static IP.  Try modifying
> mirage-www/src/server.ml and changing the:
> 
>     Net.Manager.configure interface (`IPv4 ip) >>
> 
> line to
> 
>     Net.Manager.configure interface `DHCP >>
> 
> ...and this will pick up an IP address on EC2.
> 
> If you've run it locally, did you already make this change?  Doing an
> auto-update of mirage-www to EC2 is on my todo list, so I'll check
> manually tomorrow if it works with the latest trees or not. Dave, have
> you tried this recently?

I tried this a few weeks ago (just before OUD) and it didn't immediately work 
for me.
The DHCP server I ran it against is known to be a bit odd, so I figured there 
was some bad
interaction. Unfortunately I didn't have time to dive in and debug it, so I 
switched to
a static IP as a workaround. I'm sure a bit of printf debugging in the DHCP 
code will
reveal the problem :-)

Cheers,
Dave



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.