Working With Remote Servers |
Faspex communicates with a transfer server product (IBM Aspera Enterprise Server or IBM Aspera Connect Server) using the Node API, a daemon on the transfer server that offers REST-inspired file operations and a transfer management API. A local, remote, or cloud system installed with a transfer server is called an Aspera node. Faspex can access a local node or a transfer node remotely via the Node API.
The following instruction assume you have already installed Enterprise Server with a Connect Server license on the remote server.To create a new system user "faspex" on your Windows system, go to Start > Control Panel > User Accounts. Click Manage another account. Click Create a new account. Name the user faspex. Select Standard user.
Create the following directory:
> cd C:\ > mkdir faspex_packages
asconfigurator -x "set_user_data;user_name,faspex;absolute,C:\faspex_packages"
asconfigurator -x "set_server_data;server_name,hostname_or_IP"For example, if your IP address is 198.51.100.24, run the following command:
asconfigurator -x "set_server_data;server_name,198.51.100.24"
asconfigurator -x "set_user_data;user_name,faspex;token_encryption_key,encryption_key"For example:
asconfigurator -x "set_user_data;user_name,faspex;token_encryption_key,de905198-73b7-4f3c-b125-ffd76f29dc4d"
asconfigurator -x "set_node_data;file_create_mode,770" asconfigurator -x "set_user_data;user_name,faspex;file_create_mode,660" asconfigurator -x "set_user_data;user_name,faspex;directory_create_mode,770"
asconfigurator -x "set_http_server_data;enable_http,true" asconfigurator -x "set_http_server_data;http_port,8080" asconfigurator -x "set_http_server_data;enable_https,true" asconfigurator -x "set_http_server_data;https_port,8443"Restart the asperahttpd service. Go to Start Menu > Control Panel > Administrative Tools > Services. Right-click the Aspera HTTPD service and select Restart.
> C:\Program Files (x86)\Aspera\Enterprise Server\bin\asuserdata -v
> C:\Program Files (x86)\Aspera\Enterprise Server\bin\asnodeadmin.exe -a -u node_username -p node_password -x faspex
> C:\Program Files (x86)\Aspera\Enterprise Server\bin\asnodeadmin.exe -a -u faspex_node_user -p ********* -x faspex
> C:\Program Files (x86)\Aspera\Enterprise Server\bin\ asnodeadmin.exe -lThe output from the example in the previous step should look like the following:
user system/transfer user acls ==================== ======================= ==================== node_faspex_user faspex []
Enabled settings: connect, mobile, cargo, node, proxy, http_fallback_server, group_configuration, shared_endpoints, desktop_guiIf the list includes connect and http_fallback_server, you have a Faspex-enabled server license. If you do not see those settings, follow the instructions in the Updating the Product License topic in the Enterprise Server Admin Guide.
First, locate your Connect Browser Plug-In key in the following location:
C:\Program Files (x86)\Aspera\Enterprise Server\var\aspera_id_dsa.pub
> cd "C:\Documents and Settings\faspex" > mkdir .ssh
C:\Documents and Settings\faspex\.ssh\authorized_keys
Add the faspex user's key string into this file and save it.The remote transfer node is now configured to work with Faspex. If you have not yet installed Faspex, see Installing Faspex with a Local Node. Otherwise, for instructions on adding this node to Faspex, see Configuring a Remote Server in Faspex.