Configuring Eyeglass with Dual-NIC Environments
Introduction
Some environments do not allow the Eyeglass VM to reach both the source and target PowerScale clusters over a single network interface, due to security zoning or network design. In these environments, add a second NIC to the Eyeglass appliance and configure static routes so each cluster is reached over the correct interface.
Prerequisites
- Administrative access to vCenter (or your hypervisor) to add a second virtual NIC to the Eyeglass VM.
- SSH access to Eyeglass as
admin. - The subnet and gateway details for each cluster network the second NIC needs to reach.
Add a Second Network Interface
-
SSH to Eyeglass as
admin, then switch to root:sudo -s -
Shut down the appliance:
shutdown -
In vCenter, add a second NIC to the Eyeglass VM using the e1000 adapter type, and attach it to the second virtual switch/port group for the target network.
-
Power the VM back on.
Eyeglass must be able to reach each cluster over PAPI (the PowerScale REST API) and SSH using the IP network assigned to that cluster.
Configure Static Routes
The example below assumes a single Eyeglass appliance with two NICs — one configured with 10.105.16.100, the other with 10.105.17.101 — and adds a static route so traffic to a second cluster network is sent out the correct interface.
-
SSH to Eyeglass as
admin, then switch to root:sudo -s -
Run
yast2, then navigate to Network Settings → Routing. -
Tab to the Add button and press Enter.
-
Enter the destination IP and Subnet Mask.
cautionEnter the subnet mask in CIDR notation (for example,
/24) rather than dotted-decimal (255.255.255.0) — using the dotted-decimal format here results in an error. -
Tab to OK and press Enter to save the route.
The new route now appears in the routing table and persists across reboots.
In a typical dual-NIC layout, one cluster is reached through a router configured as the next hop for its subnet, while the other cluster is reached over the default route (0.0.0.0). Adjust the static routes above to match which cluster each NIC's network should reach.
See Also
- Prerequisites — Network and latency requirements for the Eyeglass appliance.
- Installation — Deploy and configure the Eyeglass virtual appliance.