Deployment performance tuning

You must be a cluster administrator to perform this task.

Repository Server scalability allow you to resolve performance issues in the service deployment. To tune performance, configure the rs.xml file.

  • The RS_MAX_DOWNLOAD parameter optimizes bandwidth usage and prioritizes network traffic according to the configured value. This means that the RS limits the number of concurrent downloads to the compute hosts in the cluster to the configured value. The default value is 10.

  • The RS_DOWNLOAD_CHUNK_SIZE_KB parameter defines the chunk size in kilobytes. This parameter enables soamdeploy to resume package transfer from a previous break point if the connection is broken for any reason. The default value is 1024. The valid range is 64-10024 kilobytes.

  1. Log on to the master host in the cluster.
  2. Open the rs.xml configuration file, located in the eservice directory under the directory in which Symphony was installed.

    For example, on Windows

    %EGO_CONFDIR%\..\..\eservice\esc\conf\services\rs.xml

    For example, on Linux/UNIX

    $EGO_CONFDIR/../../eservice/esc/conf/services/rs.xml

  3. Configure the number of active downloads and chunk size in <ego:ActivitySpecification>.
    <sc:ServiceDefinition xmlns:sc="http://www.platform.com/ego/2005/05/schema/sc" xmlns:ego="http://www.pla/www.platform.com/ego/2005/05/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.platform.com/ego/2005/05/schema/sc ../sc.xsd http://www.platform.com/ego/2005/05/schema ../ego.xsd" ServiceName="RS">
     ...  
    <sc:ActivityDescription>    
    <ego:Attribute name="hostType" type="xsd:string">NTX86</ego:Attribute>     <ego:ActivitySpecification>     
     ...      
       <ego:EnvironmentVariable name="RS_MAX_DOWNLOAD">10</ego:EnvironmentVariable>
       <ego:EnvironmentVariable name="RS_DOWNLOAD_CHUNK_SIZE_KB">1024</ego:EnvironmentVariable>
     </ego:ActivitySpecification>  
    </sc:ActivityDescription>  
    ...
    Note:

    The default size of the RS_DOWNLOAD_CHUNK_SIZE_KB element is 1 megabyte.

  4. Save the file.
  5. Log on to the master host.
    1. Restart EGO on the master host.

      egosh ego restart

    2. Stop the services:

      egosh service stop RS

    3. Start the services:

      egosh service start RS