Creating a Record Store

The create-component task creates a Record Store instance.

The syntax for this task is:
component-manager-cmd create-component -n RecordStoreName  -t RecordStore 
[-h HostName] [-p PortNumber] [-l true|false]
Where:
  • -n specifies the name of the component you are creating. Required.
  • -t specifies the type of the component instance you want to create. Specify RecordStore. Required.
  • -h (or --host) specifies the host where the CAS Service is running. If the flag is omitted, the default is the value of the com.endeca.itl.cas.server.host property in commandline.properties. If the property is not set, the value then defaults to localhost. Optional.
  • -p (or --port) specifies the port of the CAS Service. If the flag is omitted, the default is the value of the com.endeca.itl.cas.server.port property in commandline.properties. If the property is not set, the value then defaults to 8500. Optional.
  • -l (or --isPortSsl) specifies whether to communicate with the service using an HTTPS connection. A value of true uses HTTPS and treats the com.endeca.itl.cas.server.port property as an SSL port. A value of false uses HTTP and treats com.endeca.itl.cas.server.port as a non-SSL port. Specify false if you enabled redirects from a non-SSL port to an SSL port. Optional.

To create a Record Store:

  1. Start a command prompt and navigate to <install path>\CAS\version\bin.
  2. Run the create-component task and specify the -t option with an argument of RecordStore and specify the-n option with a Record Store instance name of your choice.

Example of creating a Record Store

This example creates a Record Store named RS1:
C:\Endeca\CAS\3.0.2\bin>component-manager-cmd.bat create-component 
 -n RS1 -t RecordStore