Setting Up a Transfer Node |
$> ascp -A
Connect Server License max rate
If you need to update your transfer server license, follow the instructions in IBM Aspera Enterprise Server Admin Guide: Updating Product License.
The following steps use the asconfigurator utility to modify the aspera.conf configuration file, located at:
/Library/Aspera/etc/aspera.conf
$> asconfigurator -x "set_user_data;user_name,username;absolute,/ docroot/path"
$> asconfigurator -x "set_user_data;user_name,xfer_user;absolute,/project1"
$> asconfigurator -x "set_user_data;user_name,username;authorization_transfer_in_value,token" $> asconfigurator -x "set_user_data;user_name,username;authorization_transfer_out_value,token" $> asconfigurator -x "set_user_data;user_name,username;token_encryption_key,encryption_key"The encryption key can be any string of numbers. Aspera recommends a string that is at least 20 characters long. For example:
$> asconfigurator -x "set_user_data;user_name,xfer_user;authorization_transfer_in_value,token" $> asconfigurator -x "set_user_data;user_name,xfer_user;authorization_transfer_out_value,token" $> asconfigurator -x "set_user_data;user_name,xfer_user;token_encryption_key,gj5o930t78m34ejme9dx"
$ /Library/Aspera/bin/asuserdata -c central server option set: address: "127.0.0.1" port: "40001" backlog: "200" schema_validation: "enable" mgmt_backlog: "200" mgmt_port: "0" transfer_list_path: "" persistent_store: "enable" persistent_store_path: "" persistent_store_max_age: "86400" persistent_store_on_error: "ignore" event_buffer_capacity: "1000" event_buffer_overrun: "block" compact_on_startup: "enable" files_per_session: "1000000" file_errors: "true" ignore_empty_files: "true" ignore_skipped_files: "true" ignore_no_transfer_files: "true" db_synchronous: "off" db_journal: "wal"
$> asconfigurator -x "set_central_server_data;persistent_store,enable"
Restart the asperacentral service to update the node configuration:
$ sudo launchctl stop com.aspera.asperacentral $ sudo launchctl start com.aspera.asperacentral $ sudo launchctl stop com.aspera.asperanoded $ sudo launchctl start com.aspera.asperanoded
$ /Library/Aspera/bin/asnodeadmin -a -u node_api_username -p node_api_passwd -x system_username
$ /Library/Aspera/bin/asnodeadmin -a -u node_user -p XF324cd28 -x xfer_user
$ /Library/Aspera/bin/asnodeadmin -l
user system/transfer user acls
==================== ======================= ====================
node_user xfer_user
$ mkdir "/Users/username/.ssh"
$ mkdir "/Users/xfer_user/.ssh"
For instructions on adding a node to Shares, see Adding Nodes.