To support a private subnet for Storage and Elasticsearch nodes, the Platform server needs both public and private network interfaces (like the dual-network CSN). With nodes on a private subnet, a proxy must be deployed to provide access to the health report server and other network resources, such as replication feed targets, NTP servers, and DNS. Without an interface into that private network, the Swarm UI cannot be accessed by an external browser.
Deploying Service Proxy
Install Service Proxy on the Platform server to support and host the Swarm UI if not implementing Content Gateway.
Request the Service Proxy package from DataCore Support.
Transfer the Service Proxy (
serviceproxy-VERSION.zip
) file to the Platform server.Run the following CLI command:
platform deploy proxy -b PATH·TO·SERVICE·PROXY·ZIP
The Platform server deploys the Service Proxy locally and completes all configuration needed to run it.
Query the status of the Service Proxy with the following CLI command:
platform status proxy
Locate the logs for the Service Proxy at this location on the Platform server:
/var/log/gateway
Log in to the Swarm UI. Browse to the Platform server and it redirects to the UI:
http://PLATFORM·IP http://PLATFORM·IP/_admin/storage
Important
Restart the Service Proxy so it registers the changes if the password for the admin user is modified later or the membership of the storage cluster is modified by adding or removing nodes/chassis:
platform restart proxy
Deploying SCSP Proxy
Follow this process to deploy the SCSP Proxy to the Platform server:
Download and transfer the SCSP Proxy to the Platform server.
Locate the SCSP Proxy (
scspproxy-8.2.1.zip
) file transferred to the Platform server.Unzip the file and change directory into the folder named
scspproxy-8.2.1
Run the following command:
sudo apt-get install ./scspproxy.deb
Modify the configuration files as appropriate once the installation completes:
/etc/caringo/scspproxy/hosts.cfg
/etc/caringo/scspproxy/scspproxy.cfg
Controlling the SCSP Proxy
Once the configuration files are modified as necessary, start and stop the SCSP Proxy using the following commands:
sudo systemctl start scspproxy sudo systemctl stop scspproxy
Removing SCSP Proxy
To uninstall the SCSP Proxy from the Platform server, run the following command
sudo apt-get purge scspproxy
External Network Access
The Platform server configures all Storage chassis to use the Platform server as the default gateway by default. If the Storage chassis reside on a private network and need to access resources that are outside the private network using a NAT service, enable this service on the Platform server as needed.
To allow the Platform Server to provide NAT for a private storage network, do the following:
Run the following command:
sudo add_nat -e EXTERNAL·NIC -i STORAGE·NETWORK·NIC sudo add_nat -e eth0 -i eth1
After the command completes, reboot the server.