Configuring a custom node profile

When the Endeca Server instance is deployed in the WebLogic Server, it uses the hardware characteristics from the default node profile. You can override it with a custom node profile, by specifying different hardware characteristics in the node profile after the Endeca Server node is deployed, using endeca-cmd set-node-profile.

It is recommended to set the node profile for the Endeca Server nodes before any data domains are created. If the custom node profile is not set, the default node profile is used for data domains.

Important: Once you change the node profile on any Endeca Server node, all nodes in the Endeca Server cluster start using this profile.

Before you configure a custom node profile, use endeca-cmd get-node-profile to request information about the default hardware node profile from the Endeca Server cluster.

To specify the hardware characteristics of the node profile:

  1. On any Endeca Server node that is already deployed, access the endeca-cmd utility or the Cluster Web Service.
  2. Use the command as in the following example:
    endeca-cmd set-node-profile --num-cpu-cores 4 --ram-size 2048

    Alternatively, you can use the setNodeProfile operation in the Cluster Web Service request:

    <ns1:setNodeProfile xmlns:ns1="http://www.endeca.com/endeca-server/cluster/1/0">
      <ns1:nodeProfile>
        <ns2:numCpuCores xmlns:ns2="http://www.endeca.com/endeca-server/types/1/0">4</ns2:numCpuCores>
        <ns3:ramSizeMB xmlns:ns3="http://www.endeca.com/endeca-server/types/1/0">2048</ns3:ramSizeMB>
      </ns1:nodeProfile>
    </ns1:setNodeProfile>

The hardware characteristics specified in this node profile will now be used for all of the Endeca Server instances running on managed nodes in a WebLogic domain.

After you have changed your Endeca Server node profile, the data domain profiles can be created. You can then use the data domain profiles to create data domain clusters hosted in the Endeca Server cluster.