Setting Environment Variables Through Srvctl
(Doc ID 733567.1)
Last updated on MARCH 07, 2022
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 188.8.131.52 [Release 10.1 to 11.2] Oracle Database Cloud Schema Service - Version N/A and later Oracle Database Exadata Cloud Machine - Version N/A and later Oracle Cloud Infrastructure - Database Service - Version N/A and later Oracle Database Cloud Exadata Service - Version N/A and later Information in this document applies to any platform.
The srvctl utility can be used to set environment variables for a resource, with the "srvctl setenv" command. These environment variables are then used at resource startup. The purpose of this FAQ is to supplement the documentation for this command to provide a greater understanding of its use and impact.
The documentation on "srvctl setenv" and its sister command, "srvctl getenv", can be found in the "Server Control Utility Reference", in the Oracle documentation for your release.
11gR2: Oracle Real Application Clusters Administration and Deployment Guide 11gR2 Appendix A - Server Control Utility Reference E16795-07 URL: http://docs.oracle.com/cd/E18283_01/rac.112/e16795/srvctladmin.htm
Questions and Answers
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!