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, you must deploy a proxy 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
If you are not implementing Content Gateway, you need install Service Proxy on your Platform server to support and host your Swarm UI.
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 of the 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. You can browse to the Platform server and it redirects you to the UI:
http://PLATFORM·IP http://PLATFORM·IP/_admin/storage
Important
If you later modify the password for the admin user or modify the membership of the storage cluster by adding or removing nodes/chassis, restart the Service Proxy so it registers the changes:
platform restart proxy
Deploying SCSP Proxy
If you need to deploy the SCSP Proxy to the Platform server, follow this process:
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, you can 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, you can 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.