PDA

View Full Version : Can't change gateway and DNS IPs with aldo


Erika
08-18-2008, 08:13 AM
Hello,

I have AppLogic 2.1.1 on a test grid. The servers were reconfigured to access the public network, through a new gateway: 192.168.200.254. I updated the network configuration files on all servers to point to this new gateway.

I also ran the following aldo command:

./aldo set grid=csc ext_gateway=192.168.200.254

Then I rebooted the grid from the controller using the command:

3t grid reboot

I am able to ping the gateway from the provisioning server and the controller. I opened a browser and pointed it to grid.csc.com, which displayed the AppLogic dashboard. However, the external gateway and dns values have not changed and still display the old value: 192.168.200.1. I tried refreshing browser page but the values remain the same. Is there anything else I could do, besides reinstalling the grid?

Erika

PeterNic
08-18-2008, 11:10 PM
Erika,

So you are saying that the gateway & dns settings took effect but are just not displayed correctly on the dashboard... is that correct?

(you can login as maintainer on the grid controller and do "route" to check the gateway, and "cat /etc/resolv.conf" for the dns servers).

If so, I'll forward this to one of our engineers; I believe the operation can be performed without reinstalling the grid.

Best regards,
-- Peter

LeoKalev
08-19-2008, 10:50 AM
The following parameters can be used on the 'aldo' command line to change the values displayed on the grid dashboard:
app_addresses=<list of IP addresses or sub-ranges>
app_netmask=<ip address>
app_gateway=<ip address>
app_dns1=<ip address>
app_dns2=<ip address>
app_dns3=<ip address>

These settings are for display only, they do not affect the grid operation. Their purpose is to be a reference for the grid operator when configuring applications. Note that when creating a new grid, if they are not specified, 'aldo' will assume that they are the same as for the controller itself and set them automatically. However, changing the controller's configuration later will not affect the displayed settings - they will be kept as they are, until changed explicitly, using the above properties with the 'aldo set' command.

The app_* settings have been accidentally omitted from the documentation - I apologize for the trouble that this gave you.

Erika
08-21-2008, 12:22 PM
Thanks - I changed the application ips and this fixed the display.