WebSphere eXtreme Scale Administration Guide > Configure WebSphere eXtreme Scale > Properties file reference



Client properties file


You can create a properties file based on your requirements for eXtreme Scale client processes.


Sample client properties file

You can use the sampleClient.properties file that is in the extremescale_root\properties directory to create the properties file.


Specify a client properties file

You can specify the client properties file in one of the following ways. Specifying a setting by using one of the items later in the list overrides the previous setting. For example, if you specify a system property value for the client properties file, the properties in that file override the values in the objectGridClient.properties file that is in the classpath.

  1. As a well-named file anywhere in the classpath. Putting this file in the system current directory is not supported:

    objectGridClient.properties
    

  2. As a system property in either a stand-alone or WebSphere Application Server configuration. This value can specify a file in the system current directory, but not a file in the classpath:

    -Dobjectgrid.client.props=file_name
    

  3. As a programmatic override using the ClientClusterContext.getClientProperties method. The data in the object is populated with the data from the properties files. You cannot configure security properties with this method.


Client properties

preferLocalProcess

Specifies if the local process is preferred for routing. When set to true, requests are routed to shards that are placed in the same process as the client when appropriate.

Default: true

preferLocalHost

Specifies if the local host is preferred for routing. When set to true, requests are routed to shards that are placed on the same host as the client when appropriate.

Default: true

preferZones

List of preferred routing zones. Each specified zone is separated by a comma in the form: preferZones=ZoneA,ZoneB,ZoneC

Default: no value

requestRetryTimeout

Specifies how long to retry a request (in milliseconds). Use one of the following valid values:

  • A value of 0 indicates that the request should fail fast and skip over the internal retry logic.

  • A value of -1 indicates that the request retry timeout is not set, meaning that the request duration is governed by the transaction timeout. (Default)

  • A value over 0 indicates the request entry timeout value in milliseconds. Exceptions that cannot succeed even if tried again such as a DuplicateException exception are returned immediately. The transaction timeout is still used as the maximum time to wait.


Security client properties

General security properties

securityEnabled

Enables WebSphere eXtreme Scale client security. This security enabled setting should match with the securityEnabled setting in the WebSphere eXtreme Scale server properties file. If the settings do not match, an exception results.

Default: false

Credential authentication configuration properties

credentialAuthentication

Client credential authentication support. Use one of the following valid values:

  • Never: The client does not support credential authentication.

  • Supported: The client supports credential authentication if the server also supports credential authentication. (Default)

  • Required: The client requires credential authentication.

authenticationRetryCount

Specifies the number of times that authentication is retried if the credential is expired. If the value is set to 0, attempts to authenticate are not retried.

Default: 3

credentialGeneratorClass

Specifies the name of the class that implements the com.ibm.websphere.objectgrid.security.plugins.CredentialGenerator interface. This class is used to get credentials for clients.

Default: no value

credentialGeneratorProps

Properties for the CredentialGenerator implementation class. The properties are set to the object with the setProperties(String) method. The credentialGeneratorprops value is used only if the value of the credentialGeneratorClass property is not null.

Transport layer security configuration properties

transportType

Client transport type. The possible values are:

  • TCP/IP: Indicates that the client only supports TCP/IP connections.

  • SSL-Supported: Indicates that the client supports both TCP/IP and Secure Sockets Layer (SSL) connections. (Default)

  • SSL-Required: Indicates that the client requires SSL connections.

SSL configuration properties

alias

Specifies the alias name in the key store. This property is used if the key store has multiple key pair certificates and to select one of the certificates.


Default: no value

contextProvider

Specifies the name of the context provider for the trust service. If you indicate a value that is not valid, a security exception results that indicates that the context provider type is incorrect.

Valid values: IBMJSSE2, IBMJSSE, IBMJSSEFIPS, and so on.

protocol

Indicates the type of security protocol to use for the client. Set this protocol value based on which Java™ Secure Socket Extension (JSSE) provider you use. If you indicate a value that is not valid, a security exception results that indicates that the protocol value is incorrect.

Valid values: SSL, SSLv2, SSLv3, TLS, TLSv1, and so on.

keyStoreType

Indicates the type of key store. If you indicate a value that is not valid, a runtime security exception occurs.

Valid values: JKS, JCEK, PKCS12, and so on.

trustStoreType

Indicates the type of trust store. If you indicate a value that is not valid, a runtime security exception results.

Valid values: JKS, JCEK, PKCS12, and so on.

keyStore

Fully qualified path to the key store file.


Example:

etc/test/security/client.private

trustStore

Fully qualified path to the trust store file.


Example:

etc/test/security/server.public

keyStorePassword

String password to the key store. You can encode this value or use the actual value.

trustStorePassword

String password to the trust store. You can encode this value or use the actual value.



Parent topic

Properties file reference


Related concepts

Transport layer security and secure sockets layer


Related tasks

Start stand-alone WebSphere eXtreme Scale servers

Administer WebSphere eXtreme Scale with WebSphere Application Server

Related reference

Server properties file

Properties file reference


+

Search Tips   |   Advanced Search