Add configuration information for a database or instance. In the Add instance, the name specified with-I should match the instance_name and Oracle_sid parameters.
-m database domain name format such as "Us.mydomain.com"
The database domain name specified by the-m option must match the Db_domain and db_name parameters in the database Init.ora or SPFile. When adding a database, the database name specified by-D must match the db_name parameter
-N Instance Section roll Call
-O $ORACLE _home (used to determine command paths such as Lsnrctl and ORACLE)
Instance: Lists all environment variables for the database
Srvctl getenv database-d MyDB
L SRVCTL Modify
Modify the node configuration information for the instance. These modifications will take effect the next time the program restarts. The modified information will be permanently saved.
This is the command used to remove configuration information from the SRVM library. The environment settings associated with the object are also deleted. If you do not use the Force flag (-F), Oracle will prompt you to confirm the deletion.
The delete operation will not prompt with the Force option (-f)
For the start command and other operations that can use a connection string, if you do not supply a connection string, Oracle uses "/as SYSDBA" to perform the relevant action on the instance. In addition, to perform a similar operation, you must be a member of the OSDBA group. For more information on OSDBA group permissions, refer to the Oracle9i Installation Guide.
Instance: Cancel environment variable, return to default value
Srvctl unsetenv database-d mydb-t CLASSPATH
L Import and export raw device configuration information using Srvconfig
You can import and export raw device configuration information using Srvconfig regardless of whether the profile is on a clustered file system or on a raw device. You can use this method to back up and restore SRVM configuration information.
For example:
The following command is used to export the contents of the configuration information to the text file of the file name you specified.
Srvconfig-exp file_name
The following command is used to import configuration information from the specified text file to the RAC environment configuration repository where you run the command.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.