A.12 Configuring REST

Use the list of commands to configure REST.

Syntax

orachk -ordssetup [dir [-configdir dir_to_store configuring ORDS]] [-ordshomedir any_directory_with_write_permission]
exachk -ordssetup [dir [-configdir dir_to_store configuring ORDS]] [-ordshomedir any_directory_with_write_permission]
orachk -ordsrmsetup
exachk -ordsrmsetup
orachk -ordscheck
exachk -ordscheck

Table A-11 Configure REST

Command Description

-ordssetup

Sets up ORDS on the target host.

dir: The directory that contains the ords.war file.

-configdir: Optional directory that you can specify to store the ORDS configuration files. If you do not specify the optional directory, then the configuration files are stored in the directory that contains the ords.war file.

-ordshomedir: Optional directory that you can specify if root does not have the privilege to run the useradd command to create the default home directory. When you specify -ordshomedir, user home will be the path passed along with -ordshomedir.

-ordsrmsetup

Removes ORDS setup.

Running the command stops the daemon if running and deletes the ORDS user's home directory if no collections are found. If collections from previous runs are found, then the command prompts the user before a decision is made to remove the setup or not.

-ordscheck

Running the command lets the user know if ORDS is setup or not. If ORDS is setup, then the command prints the URL to use to submit runs using REST APIs.