Configuring Server Settings with Rake Tasks

The following rake tasks are used to configure Faspex server settings related to file storage and nodes. For more information, see Working With Remote Servers.

Configure the Server Default Inbox Path

To configure the path for the default inbox, run the following rake task:
asctl faspex:rake aspera:set_storage_share_directory DIRECTORY="/path/to/directory"
Note: The specified path should be relative to the docroot. For example, if the docroot is /home/faspex/faspex_packages, and the new default inbox path is /home/faspex/faspex_packages/johndoe, specify /johndoe.

Configure the Primary Transfer Address of the Default Node

To configure the address, run the following rake task command:
asctl faspex:rake aspera:set_node_ext_address EXTERNAL_ADDRESS="hostname_or_IP"
For more information, see Configuring the Primary Transfer Address of the Default Node.

Create a Node API User

To create a Node API user mapped to the "faspex" transfer user, run the following rake task:
Syntax: asctl faspex:rake aspera:setup_node_user USERNAME="username" PASSWORD="password"

Create or Update a Remote Node

To create and add a remote node or update an existing remote node, run the following rake task:
asctl faspex:rake aspera:source_server NAME="remote_node_name" HOST="remote_node_hostname" 
  PORT="node_api_port" USERNAME="node_api_username" PASSWORD="node_api_password" 
  USE_SSL=["true"/"false"] VERIFY_SSL=["true"/"false"]
The USE_SSL and VERIFY_SSL arguments are optional and can be set to either "true" or "false".

Update the Directory Path of an Existing File Storage

To create a new file storage or update an existing file storage, run the following rake task:
asctl faspex:rake aspera:source_directory NODE_NAME="node_name" SOURCE_NAME="file_storage_name" 
  DIRECTORY="/path/to/directory"
Note: The specified path should be relative to the docroot. For example, if the docroot is /home/faspex/faspex_packages, and the new default inbox path is /home/faspex/faspex_packages/johndoe, specify /johndoe.