System environment variable settings
To use HULFT8 Cloud Storage Option(Amazon S3) for Linux, you must set the system environment variables on Linux in the following cases:
-
When uploading or downloading objects to object storage via a proxy server
-
When you access object storage with the downward-compatible settings for HULFT Cloud Storage Option Ver.8.5.0 or lower
If values are already set for the system environment variables on Linux, modify the values if necessary.
(1) Proxy authentication settings
If a proxy server is used to upload an object to object storage, you must set the proxy authentication settings for the system environment variables on Linux. If a proxy server is not used, you do not need to set the proxy authentication settings.
Use the following system environment variables to set the proxy authentication.
-
HTTPS_PROXY
-
https_proxy
-
HTTP_PROXY
-
http_proxy
-
The Linux OS differentiates between uppercase and lowercase characters, so the following variables are registered as separate variables:
-
HTTPS_PROXY and https_proxy
-
HTTP_PROXY and http_proxy
-
NO_PROXY and no_proxy
-
-
If both HTTPS_PROXY (https_proxy) and HTTP_PROXY (http_proxy) are set, the environment variable for HTTPS_PROXY (https_proxy) is prioritized and used.
-
A proxy server is also used for endpoint connections. If you do not want to use a proxy server to connect to an endpoint, set that endpoint for the environment variable NO_PROXY (no_proxy).
-
If the values are already set, modify the values if necessary.
Set the following values for the system environment variables:
When user authentication is necessary
http://<User Name>:<Password>@<Proxy Server Address>:<Port No.>
Example) HTTPS_PROXY=http://user1:pass1@proxy_addr:8080
Field |
Value |
---|---|
User Name |
user1 |
Password |
pass1 |
Proxy Server Address |
proxy_addr |
Port No. |
8080 |
When user authentication is not necessary
http://<Proxy Server Address>:<Port No.>
Example) HTTPS_PROXY=http://proxy_addr:8080
Field |
Value |
---|---|
Proxy Server Address |
proxy_addr |
Port No. |
8080 |
When you operate HULFT Cloud Storage in an environment where HULFT Script is installed, if you configure the proxy authentication settings, the settings are also applied to the operation of HULFT Script.
For this reason, you must set a proxy exception for the port number of HULFT Script.
Specify "localhost" or "127.0.0.1" for the environment variable NO_PROXY (no_proxy).
(2) Region and authentication settings for access to object storage
The region and authentication settings for access to object storage are as follows:
-
When you use the Cloud Storage DB to set the region and authentication settings, you do not need to set the system environment variables. To use the Cloud Storage DB, refer to HULFT Cloud Storage Option environment (individual settings and default settings).
-
To set the region and authentication settings for the system environment variables on Linux with the downward-compatible settings, refer to HULFT Cloud Storage Option environment (downward-compatible settings).
(3) Restarting Receive daemon
To apply additions and changes to the system environment variables, it is necessary to restart the Receive daemon.
Restarting the Receive daemon applies the values of the system environment variables on HULFT.