Adding a Virtual Interface to a Linux Server
The standard HDS server configuration uses two virtual hosts on the server. One host, identified by the sub-domain aptareportal, handles Portal requests to deliver Hitachi Storage Viewer administration and reporting functionality. The second host, identified by the sub-domain aptareagent, handles data collection functionality between the data collection agent and the various devices that report to the agent. These virtual hosts are defined in the Apache configuration file; the sub-domain names are used to identify the each host.
When using SSL, unique IP addresses must be assigned to each virtual host. Therefore, if SSL is to be enabled for both the Portal and Data Collection, two IP addresses are required. Two IP addresses can be assigned using two NICs or, on a Linux server, a virtual interface can be created so that two IP addresses can be assigned to a single NIC.
To verify the number of IP addresses assigned to a Linux server, use the command "ifconfig -a" to view detailed network configuration of the server. As sample result of the "ifconfig -a" command:
eth0 Link encap:Ethernet HWaddr 08:00:27:71:44:C4
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:310 errors:0 dropped:0 overruns:0 frame:0
TX packets:372 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:63235 (61.7 KiB) TX bytes:28143 (27.4 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8762 errors:0 dropped:0 overruns:0 frame:0
TX packets:8762 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5422509 (5.1 MiB) TX bytes:5422509 (5.1 MiB)