Configuring for Aspera on Cloud
To add an IBM Aspera High-Speed Transfer Server as a node to Aspera on Cloud, it must be configured for the Aspera Node API, which Aspera on Cloud uses to connect to the node, retrieve file system information, and initiate transfers. Requests to the Node API are authenticated with Node API credentials (a node username and password) that are associated with a local system account. All transfers and system operations on the node that are intiated through Aspera on Cloud are run under the system account.
To add a server as an Aspera on Cloud node, you create the system user on the server, configure the system user as an Aspera transfer user, associate the transfer user with a node username and password, and configure the server to work with Aspera on Cloud. Aspera on Cloud users access the Node API and Aspera on Cloud nodes using access keys, which are created on the server or in the Aspera on Cloud UI.
System Requirements:
- High-Speed Transfer Server version 3.7.4 or later (3.8.0 or later strongly recommended).
- The public DNS name of the system must be accessible from all internal and external clients, as well as the computer itself.
- The system clock is synchronized with an NTP server. See your OS documentation for instructions.
- Valid SSL certificates that are in .pem format and that are signed by a globally recognized Certificate Authority. For more information, see Installing SSL Certificates.
Set Up and Configure a Transfer User
Configure the Server as a Aspera on Cloud Node
Install the Files Node Search Service
Updates
The installation package is provided as a tarball that is periodically updated. Aspera recommends that you check for updates every 30 days. To upgrade the service, download the updated tarball and run the installation script, as described in the first two steps of the following instructions.
Prerequisites
- The server must have High-Speed Transfer Server version 3.7.3 or higher.
- Installing the service requires sudo privileges on the server.
- The server's firewall must allow HTTPS outbound connections on TCP port 443 to elasticsearch.asperafiles.com (on the same IP address as asperafiles.com).
- Java version 8 or higher must be available in your PATH.
- jq version 1.5 or higher. The service installer will install jq if it is not already on the server.
These instructions assume that you are installing the Files node search service on the server that is running High-Speed Transfer Server. If your configuration differs, contact your Aspera support representative.
Logging
Files node search service logs are found in /opt/aspera/files-node-search/var/log/current.
Uninstall the Files node search service
Run the following commands to stop the service and remove the directory containing the application:
# /opt/aspera/files-node-search/etc/init.d/files-node-search stop
# rm -rf /opt/aspera/files-node-search
Install on a server with no WAN access
If you need to install the Files node search service on a server that does not allow WAN access to install packages, install the service on a server that does have WAN access and then copy the tarball to the server without WAN access, as follows:
- On the server with WAN access, download and install the
service.
# curl -o files-node-search-install.sh https://whale.asperasoft.com/files-node-search-install.sh # sudo bash ./files-node-search-install.sh - Stop the service then copy the tarball to the server without WAN access. If
you do not need the service on the server with WAN access, you can delete
the files-node-search
directory.
# /opt/aspera/files-node-search/etc/init.d/files-node-search stop # scp /opt/aspera/files-node-search/tmp/files-node-search-version.tar.gz user@server_ip:/tmp/files-node-search-version.tar.gz # rm -rf /opt/aspera/files-node-search - On the server without WAN access, create the
files-node-search directory and copy the tarball
into
it.
# mkdir -p /opt/aspera/files-node-search/tmp # cp /tmp/files-node-search-version.tar.gz /opt/aspera/files-node-search/tmp/ - Untar the tarball.
# tar xzf /opt/aspera/files-node-search/tmp/files-node-search-version.tar.gz -C /opt/aspera/files-node-search --strip-components 1 - Set the node username and password in /opt/aspera/files-node-search/etc/files-node-search.conf.
- Start the
service.
# /opt/aspera/files-node/search/etc/init.d/files-node-search start
Securing the Aspera NodeD Service Behind a Proxy
If your Aspera server must expose the Aspera NodeD service to the internet, such as when setting it up as a Aspera on Cloud node, Aspera recommends protecting it with a reverse proxy. Normally, asperanoded runs on port 9092, but nodes that are added to Aspera on Cloud must have asperanoded run on port 443, the standard HTTPS port for secure browser access. Configuring a reverse proxy in front of asperanoded provides additional protection (such as against DOS attacks) and resource handling for requests to the node's 443 port.
The following instructions describe how to set up Nginx as a reverse proxy and require that you have valid, CA-signed SSL certificates in .pem format for the server. Other reverse proxies might be supported on your server.