06.05.2013 Views

The eG Installation Guide - eG Innovations

The eG Installation Guide - eG Innovations

The eG Installation Guide - eG Innovations

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring <strong>eG</strong> Enterprise to Work in NATed Environments<br />

In this case:<br />

Figure 6.2: Agent behind a NAT<br />

When installing the agent, the address of the manager to which the agent must communicate<br />

has to be specified as its public IP - i.e., 209.15.165.127.<br />

On the manager side, the "authentication" setting in the Agents->Settings->Communication<br />

Menu has to be set to "Off". This is because the private IP address 192.168.10.7 is not<br />

accessible to the <strong>eG</strong> manager (which is actually running on a different Intranet with IP<br />

10.5.20.12). Hence, the manager cannot check the validity of the agent’s IP address directly.<br />

When managing the server via the <strong>eG</strong> admin interface, the server's IP address must be<br />

specified as 192.168.10.7. To see why this is the case, consider how the agent/manager<br />

communication works. When the agent connects to the manager, it presents its identity - IP<br />

address, nick names, hostname, etc. <strong>The</strong> manager determines the tests that must be<br />

executed by the agent based on its identity and passes this information back to the agent. In<br />

this case, the NATed public IP of the agent system (209.15.2.3) is NOT known to the agent<br />

(as this is not explicitly configured on the agent system). Hence, servers/applications on the<br />

target system must be managed using the private IP address (i.e., 192.168.10.7).<br />

Although the above scenario has been described in the context of a NATed environment, the same<br />

steps above apply if the agent is communicating to the manager using a proxy server as well.<br />

6.4 Managing Agents in Multiple Private Networks<br />

In some cases (especially in managed service provider - MSP environments), a single manager may be<br />

used to manage multiple private networks. <strong>The</strong> same private IP address could be used by different<br />

servers in the different networks. For example, server Sa in the first network and server Sb in the<br />

second network could both have the same private IP address 192.168.10.7. Different applications<br />

could be running on these servers. <strong>The</strong> <strong>eG</strong> architecture provides an elegant solution to allow these<br />

servers to be managed using a single manager. Both the servers Sa and Sb can be added via the <strong>eG</strong><br />

admin interface with the same IP address but different nicknames (e.g., Sa and Sb as in Figure 6.3).<br />

<strong>The</strong>n, ensure that the Verify if agent is reporting from configured IP parameter in the MANAGER SETTINGS page<br />

(Configure -> Settings menu sequence) in the <strong>eG</strong> administrative interface is set to No. Since the <strong>eG</strong><br />

manager and agents use the nickname as the key to identify an agent/server, servers with the same<br />

IP address can be easily distinguished and managed by an <strong>eG</strong> manager (see Figure 6.3).<br />

425

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!