ORADIM tool usage [Collection]

xiaoxiao2021-03-06  68

Create routines: -new -sid sid | -srvc service [-intpwd password] [-MAXUSERS quantity] [-startmode a | m] [-pfile file] [-timeout second] edit routine: -Edit -SID SID [ -Newsid SID] [-intPwd password] [-startmode auto | manual] [-pfile file name] [-shutmode a | i | n] [-shuttype srvc | inst | srvc, inst] [-timeout second] delete routine : -Delete -sid sid | -srvc service name Startup service and routine: -startup -sid sid [-startType SRVC | Inst | SRVC, INST] [-pfile file name] Close service and routine: -Shutdown -sid sid [-shuttype srvc | inst | srvc, institution [-shutmode a | i | n] query help: -? | -H | -help

Related Description: -SID SID Specifies the name -SRVC service to be launched to specify the service name-OSRPWD password to be started to specify the password of the internal user. If logged in as NT administrator, do not use this parameter -pfile file name to specify the initialization parameter file If the parameter file is in the default location of Oracle, this command is not needed - StartType SRVC | Inst | SRVC, INST means to start Shi SRVC-only start service instations, the service must have started and started working SRVC, INST - services and instances start -SHUTTYPE srvc | inst | srvc, inst pledged to terminate Shiyao, parameter options above -STARTMODE a | m represents the mode used to start instances a-auto mode (automatic) m-manual mode (manual) -SHUTMODE A | I | N Indicates the shutdown mode for the termination instance A-ABORT method I-immediate mode n-normal mode

example:

1.

Generate a new instance management service in the service, start mode is manual

ORADIM -NEW -SID TEST -STARTMODE MANUAL-PFILE "D: /Oracle/admin/test/pfile/inittest.ora

ORADIM -NEW -SRVC ORACleServiceTest -startMode Manual -pfile "D: /oracle/admin/test/pfile/inittest.ora

Note: Effective service name

"

Oracleservice

"

heel"

SID

"

-SID TEST

versus

-SRVC ORACLESERVICETEST

equivalence

2.

Delete this instance or service

ORADIM-DELETE -SID TEST

ORADIM-DELETE -SRVC ORACLESERVICETEST

3.

Edit this instance, start the way to change to manual

ORADIM -EDIT -SID TEST -STARTMODE MANUAL

4.

Edit this instance, start the way to automatically

ORADIM -EDIT -SID TEST -STARTMODE AUTO

5.

start up

Test

ORADIM -STARTUP -SID TEST

ORADIM -STARTUP -SID TEST -STARTTYPE SRVC, INST

6.

Only start

Test

service

ORADIM -STARTUP -SID TEST -STARTTYPE SRVC7.

Only start

Test

Example

ORADIM -STARTUP -SID TEST -STARTTYPE INST

8.

shut down

Test

ORADIM -SHUTDOWN -SID TEST

ORADIM -SHUTDOWN -SID TEST -SHUTTYPE SRVC, INST

转载请注明原文地址:https://www.9cbs.com/read-91384.html

New Post(0)