Cet article vous a-t-il été utile ?
Comment pourrions-nous l'améliorer ?
The following instructions are intended to provide a seamless and secure deployment of IBM Aspera with HSTS in a Windows or Linux (RedHat) environment, ensuring optimized performance for moving data to Lyve Cloud Object Storage. Adjustments may be made as needed based on specific organization policies and infrastructure.
Ensure the following are accessible:
Permit inbound and outbound traffic on necessary ports. Verify the port status:
# netstat -na |grep 33001
Open the sshd_config file and set:
Apply changes:
# systemctl restart sshd.service
Verify that port 33001 is now listening:
# netstat -na |grep 33001
tcp 0 0 0.0.0.0:33001 0.0.0.0:* LISTEN
tcp 0 0 10.0.10.242:33001 125.20.120.90:52332 ESTABLISHED
tcp 0 0 10.0.10.242:33001 125.20.120.90:57615 ESTABLISHED
tcp 0 0 10.0.10.242:33001 14.194.8.182:62305 ESTABLISHED
tcp6 0 0 :::33001
Install HSTS on RedHat using:
# rpm -Uvh ibm-aspera-hsts-<version>-linux-64-release.rpm
To verify the installation:
Create and configure a default user (svcAspera):
# useradd svcAspera
# su svcAspera
# sudo chsh -s /bin/aspshell svcAspera
Establish user SSH credentials:
# sudo mkdir /home/<username>/.ssh
# sudo chmod 700 /home/<username>/.ssh
# sudo touch /home/<username>/.ssh/authorized_keys
# sudo chmod 600 /home/<username>/.ssh/authorized_keys
Verify ssh and network ports are open for Aspera and HSTS:
# systemctl restart sshd.service
# netstat –ha |grep 33001
# default TCP/UDP ports Aspera uses.
To enforce security policies on data transfers, configure the following:
# sudo asconfigurator -x "set_node_data;authorization_transfer_in_value,deny"
# sudo asconfigurator -x "set_node_data;authorization_transfer_out_value,deny"
Set specific transfer permissions and bandwidth for user=svcAspera:
# sudo asconfigurator -x "set_user_data;user_name,svcAspera;authorization_transfer_in_value,allow"
# sudo asconfigurator -x "set_user_data;user_name,svcAspera;transfer_in_bandwidth_flow_target_rate_default,96000"
# sudo asconfigurator -x "set_node_data;authorization_transfer_in_value,deny"
# sudo asconfigurator -x "set_node_data;authorization_transfer_out_value,deny"
# sudo asconfigurator -x "set_user_data;user_name,test_aspera;authorization_transfer_in_value,allow"
user_name: svcAspera
# sudo asconfigurator -x "set_user_data;user_name,test_aspera;authorization_transfer_out_value,allow"
success
user_name: svcAspera
# sudo asconfigurator -x "set_user_data;user_name,test_aspera;absolute,s3:// s3.us-west-1.sv15.lyve.seagate.com/aspera-test-bucket"
success
user_name: svcAspera
# sudo asconfigurator -x "set_user_data;user_name,test_aspera;transfer_in_bandwidth_flow_target_rate_cap,unlimited"
success
user_name: svcAspera
# sudo asconfigurator -x "set_user_data;user_name,test_aspera;transfer_out_bandwidth_flow_target_rate_cap,unlimited"
success
user_name: svcAspera
# sudo asconfigurator -x "set_user_data;user_name,test_aspera;transfer_in_bandwidth_flow_target_rate_default,96000"
success
user_name: svcAspera
# sudo asconfigurator -x "set_user_data;user_name,test_aspera;transfer_out_bandwidth_flow_target_rate_default,96000"
success
user_name: svcAspera
ascp is IBM Aspera’s version of the UNIX tool – scp, and async is IBM Aspera’s version of the UNIX tool rsync. Many of the arguments are similar but the internals of how the files are transferred are very different. More information about the tools can be found at:
Trapd is the Aspera service that enables it to write to the object storage (including Hadoop Distributed File System (HDFS). Trapd is supported in HSTS for Linux 64-bit and Windows 64-bit. HSTS should be in close proximity to the object storage to minimize latency.
Note—Trapd is disabled by default in HSTS.
When switching from virtual node to pvcl_cloud or use another option, link the pvcl_cloud kernel to ensure Trapd is indeed disable.
#/opt/aspera/bin/astrap-config.sh disable
#ln -s /opt/aspera/lib/pvcl/libpvcl_cloud.so /opt/aspera/lib/libpvcl_cloud.so
Use a text editor to open the s3.properties file (/opt/aspera/etc/trapd/s3.properties) and make the following changes:
s3service.https-only=true
s3service.s3-endpoint=s3.sv15.lyve.seagate.com ## for example
s3service.s3-endpoint-https-port=443
s3service.disable-dns-buckets=true
s3service.use-path-style-url=true
Restart the trapd service:
# sudo systemctl restart asperatrapd
Edit the s3.properties file (/opt/aspera/etc/trapd/s3.properties) to configure your S3 endpoint for secure, path-style URL usage:
s3service.https-only=true
s3service.s3-endpoint=<s3-endpoint>
s3service.s3-endpoint-https-port=443
s3service.use-path-style-url=true
where <s3-endpoint> is your S3 endpoint URL.
Restart trapd to apply these settings:
# sudo systemctl restart asperatrapd
When using the default user:
The user credential and S3 endpoint access URL can be configured on either HSTS server side or alternatively on the Windows client side.
To configure the user credential on the Windows client side, the user credentials and S3 endpoint URL information need to be commented out in aspera.conf.
For configuration on the HSTS, the user credential and S3 access endpoint information are added in aspera.conf, following this format:
s3://<access-key>:<secret-key>@<s3-endpoint>
where: