B.16 tfactl rest

Use the tfactl rest command to configure REST service.

Syntax

tfactl rest 
[-status|-start|-stop|-upgrade|-uninstall] 
[-dir directory] 
[-port port] 
[-user user] 
[-debug [-level debug_level 1-6]]

Note:

You can run the REST command only as root user.

Parameters

Table B-14 REST Command Parameters

Parameter Description

-status

Prints the current status.

-start

Starts Oracle Trace File Analyzer REST services if not already running.

-stop

Stops Oracle Trace File Analyzer REST services if running.

-upgrade

Checks if the configured ORDS API should be upgraded.

If the ORDS API needs upgrading, then stops ORDS, upgrades the API, and then restarts ORDS.

-uninstall

Removes the Oracle Trace File Analyzer REST configuration.

–dir

The directory to use to store the Oracle Trace File Analyzer REST configuration details.

Defaults to the users home directory.

–port

The port to run ORDS on.

Defaults to 9090.

-user

The user to start ORDS as.

Defaults to the GRID owner.

–debug

Enables debug.

–level

The level of debug to use, where available levels are:
  • 1 – FATAL

  • 2 – ERROR

  • 3 – WARNING

  • 4 – INFO (default)

  • 5 – DEBUG

  • 6 – TRACE