Configuring an object agent service to use HTTP

By default, the S3 object agent service uses HTTPS to secure communications between the object agent and the object clients. The HTTPS protocol helps to optimize security because it requires object clients to handle the TLS certificate appropriately. Alternatively, you may configure the object agent service to use HTTP. Before you configure HTTP, consider the potential risk. If you configure the object agent service to use HTTP, the object communication between the S3 client and the object agent will be unencrypted.

Procedure

Optional: To configure the object agent service to use HTTP, take the following actions:

  1. Locate the configuration file from the following directory:
    instance_home_directory/object_agent_name

    where instance_home_directory is the instance directory where server was formatted. For example, /home/tsminst1, and object_agent_name is the name of the server in uppercase letters that was defined in the Operations Center, or with the DEFINE SERVER command.

    The configuration file name has the following structure:
    spObjectAgent_yourObjectAgent_yourPort.config,

    where yourObjectAgent is the name that you specified for the object agent and yourPort is the specified port.

  2. At the end of the configuration file, add the following line:
    agentprotocol=http
  3. Restart the object agent by using the following command:
    For Linux or AIX:
    "/opt/tivoli/tsm/server/bin/spObjectAgent" service stop server_name
    "/opt/tivoli/tsm/server/bin/spObjectAgent" service start server_name

    where service_name comprises of the following syntax:

    spoa lla_port object_agent_name

    For example, spoa9000OBJECTAGENT