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:
-nspecifies the name of the component you are creating. Required.-tspecifies the type of the component instance you want to create. SpecifyRecordStore. Required.-h(or--host) specifies the host where the CAS Service is running. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.hostproperty incommandline.properties. If the property is not set, the value then defaults tolocalhost. Optional.-p(or--port) specifies the port of the CAS Service. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.portproperty incommandline.properties. If the property is not set, the value then defaults to8500. Optional.-l(or--isPortSsl) specifies whether to communicate with the service using an HTTPS connection. A value oftrueuses HTTPS and treats thecom.endeca.itl.cas.server.portproperty as an SSL port. A value offalseuses HTTP and treatscom.endeca.itl.cas.server.portas a non-SSL port. Specifyfalseif you enabled redirects from a non-SSL port to an SSL port. Optional.
To create a Record Store:
Example 21. Example of creating a Record Store
This example creates a Record Store named RS1:
C:\Endeca\CAS\<version>\bin>component-manager-cmd.bat create-component -n RS1 -t RecordStore

