Previous step:
Deploy the Storage Connector OVF template
The server listens for incoming connections on TCP port 22 for incoming SSH connections. You need to configure the Storage Connector servers with static IP addresses, rather than dynamic IP addresses that are automatically assigned by DHCP.
The next steps describe how to disable DHCP, which is installed and enabled by default, and then how to switch using a static IP address.
- Type:
sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0
- Replace "
BOOTPROTO=dhcp
" with "BOOTPROTO=static
" - Add the following lines to this file:
IPADDR=<static-ip-address-for-this-server>
NETMASK=<network-mask>
GATEWAY=<gateway_ip_address>
BROADCAST=<broadcast_ip_address>
Example:IPADDR=192.168.1.13
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
BROADCAST=192.168.1.255
To turn on networking and configure the hostname, follow these steps:
- Type:
sudo vi /etc/sysconfig/network
- Make sure that the NETWORKING=yes entry is in the file.
- Add the following lines to this file:
NETWORKING_IPV6=yes
HOSTNAME =<hostname>
GATEWAY=<gateway_ip_address>
For example:NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=sync.companyname.com
GATEWAY=10.10.167.1
To configure the IP addresses for the name server, follow these steps:
- Type:
sudo vi /etc/resolv.conf
- Delete the contents of the file.
- Add a line for each name server's IP address or host name:
nameserver <ip-address-of-name-server-1>
nameserver <ip-address-of-name-server-2>
- Restart the server by typing the following command:
sudo service network restart
The server now listens for incoming SSH connections only. No other ports have been opened. By default, the Storage Connector does not have a firewall turned on.
If your network configuration needs to restrict connections to pool.ntp.org for time server synchronization, you need to edit the /etc/ntp.conf file and set a different NTP server to which the Storage Connector can connect. If you use Atmos storage, make sure that both Storage Connectors and Atmos connect to same NTP servers.