312.Which is the correct way to connect to both the target database and the recovery catalog from the
RMAN command line? Assume that the target database is called ORCL and that the recovery catalog
database is called RCAT. Also assume that the recovery-catalog owner is called RCAT_OWN. Assume
the environment is configured for the ORCL database. (Choose all that apply.)
A. rman target=/ catalog=/@rcat
B. rman target=/ catalog=rcat_own/rcat_own
C. rman target=/ catalog=rcat_own/rcat_own@RCAT
D. rman target=sys/robert@orcl catalog=rcat_own/rcat_own@RCAT
E. You cannot connect to the target database and the recovery catalog at the same time.
Answer: CD
验证:
[oracle@db01 dbs]$ rman target=/ catalog=rman/rman@192.168.132.130/catdb
Recovery Manager: Release 11.2.0.4.0 - Production on Mon Mar 21 11:17:10 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: INST1 (DBID=193461069)
connected to recovery catalog database
RMAN> quit
Recovery Manager complete.
[oracle@db01 dbs]$ rman target=sys/sys@inst1 catalog=rman/rman@192.168.132.130/catdb
Recovery Manager: Release 11.2.0.4.0 - Production on Mon Mar 21 11:17:45 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: INST1 (DBID=193461069)
connected to recovery catalog database
RMAN command line? Assume that the target database is called ORCL and that the recovery catalog
database is called RCAT. Also assume that the recovery-catalog owner is called RCAT_OWN. Assume
the environment is configured for the ORCL database. (Choose all that apply.)
A. rman target=/ catalog=/@rcat
B. rman target=/ catalog=rcat_own/rcat_own
C. rman target=/ catalog=rcat_own/rcat_own@RCAT
D. rman target=sys/robert@orcl catalog=rcat_own/rcat_own@RCAT
E. You cannot connect to the target database and the recovery catalog at the same time.
Answer: CD
验证:
[oracle@db01 dbs]$ rman target=/ catalog=rman/rman@192.168.132.130/catdb
Recovery Manager: Release 11.2.0.4.0 - Production on Mon Mar 21 11:17:10 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: INST1 (DBID=193461069)
connected to recovery catalog database
RMAN> quit
Recovery Manager complete.
[oracle@db01 dbs]$ rman target=sys/sys@inst1 catalog=rman/rman@192.168.132.130/catdb
Recovery Manager: Release 11.2.0.4.0 - Production on Mon Mar 21 11:17:45 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: INST1 (DBID=193461069)
connected to recovery catalog database
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8520577/viewspace-2060792/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8520577/viewspace-2060792/