C:\>emca -config dbcontrol db -repos recreate
用法不正确:
oracle.sysman.emcp.EMConfigAssistant [options] [list of paramet
Options:
-a :configure for an ASM database
-b :configure for automatic backup
-c :configure a cluster database
-d :run EMCA from within the development view
-e <node> :remove a node from the cluster
-f <file> :specify the file name that contains parame
-h :help
-m :configure for central mode
-n <node> :add a new node to the cluster
-r :skip creation of repository schema
-s :silent mode (no user prompts
-x <db> :deletion of a SID or DB
The script will prompt for any required data that is not specif
configuration file, the file may contain any of the following
Parameters for single instance databases:
HOST=<Database hostname>
SID=<Database SID>
PORT=<Listener port number>
ORACLE_HOME=<Database ORACLE_HOME>
LISTENER=<Listener name>
HOST_USER=<Host user name for automatic backup>
HOST_USER_PWD=<Host user password for automatic backup>
BACKUP_HOUR=<Automatic backup hour in number>
BACKUP_MINUTE=<Automatic backup minute in number>
ARCHIVE_LOG=<Archive log>
EMAIL_ADDRESS=<Email address for automatic notification
MAIL_SERVER_NAME=<Email gateway for automatic notificat
ASM_OH=<ASM ORACLE_HOME>
ASM_SID=<ASM SID>
ASM_PORT=<ASM port>
ASM_USER_ROLE=<ASM user role>
ASM_USER_NAME=<ASM user name>
ASM_USER_PWD=<ASM user password>
EM_HOME=<Enterprise Manager ORACLE_HOME>
DBSNMP_PWD=<Password for dbsnmp>
SYSMAN_PWD=<Password for sysman>
SYS_PWD=<Password for sys>
Parameters for cluster databses:
HOST=<Database Instance hostname>
PORT=<Listener port number>
LISTENER=<Listener name>
ORACLE_HOME=<Database ORACLE_HOME>
CLUSTER_NAME=<Cluster name>
DB_NAME=<Database name>
SERVICE_NAME=<Service name>
HOST_USER=<Host user name for automatic backup>
HOST_USER_PWD=<Host user password for automatic backup>
BACKUP_HOUR=<Automatic backup hour in number>
BACKUP_MINUTE=<Automatic backup minute in number>
ARCHIVE_LOG=<Archive log>
EMAIL_ADDRESS=<Email address for automatic notification
MAIL_SERVER_NAME=<Email gateway for automatic notificat
ASM_OH=<ASM ORACLE_HOME>
ASM_PORT=<ASM port>
ASM_USER_ROLE=<ASM user role>
ASM_USER_NAME=<ASM user name>
ASM_USER_PWD=<ASM user password>
EM_HOME=<Enterprise Manager ORACLE_HOME>
DBSNMP_PWD=<Password for dbsnmp>
SYSMAN_PWD=<Password for sysman>
SYS_PWD=<Password for sys>
C:\>emca -config dbcontrol db -repos recreate
用法不正确:
oracle.sysman.emcp.EMConfigAssistant [options] [list of paramet
Options:
-a :configure for an ASM database
-b :configure for automatic backup
-c :configure a cluster database
-d :run EMCA from within the development view
…
[/Quote]
C:\>emca -config dbcontrol db -repos recreate
用法不正确:
oracle.sysman.emcp.EMConfigAssistant [options] [list of paramet
Options:
-a :configure for an ASM database
-b :configure for automatic backup
-c :configure a cluster database
-d :run EMCA from wit…
[/Quote]
C:\>emca -config dbcontrol db -repos recreate
用法不正确:
oracle.sysman.emcp.EMConfigAssistant [options] [list of paramet
Options:
-a :configure for an ASM database
-b :configure for automatic backup
-c :configure a cluster database
-d :run EMCA from within the development view
-e <nod…
[/Quote]
我机器上可以的哟
C:\Documents and Settings\shenjuan>emca -config dbcontrol db -repos recreate