TAILIEUCHUNG - Oracle Database Administration for Microsoft SQL Server DBAs part 32

Oracle Database Administration for Microsoft SQL Server DBAs part 32 takes the administration topics with which the SQL Server DBA is familiar, translates them into Oracle terms, and then expands on Oracle functionality. Definitions and comparative terms run throughout the book so the SQL Server DBA can easily leverage existing knowledge. This Oracle Press guide also expands on some of the features in Oracle that do not match up directly with SQL Server, and looks at other processes often performed on an Oracle database that would not typically be a standard practice in SQL Server environments | 292 Oracle Database Administration for Microsoft SQL Server DBAs Setting Up a Standby Database An existing database can be configured to have a standby database. The first step is to install the Oracle software on the standby server. The database already exists on the primary server. The primary database will need some configuration with standby logs and parameters. Connections to the secondary database can be set up and then using RMAN the initial copy of the database can be set up on the standby server. On the primary database the following needs to be done SQLPLUS alter database force logging Database altered. Create the standby log files. They need to be the same size or larger than the primary database SQLPLUS alter database add standby logfile u01 oracle db01 size 50M Database altered. SQLPLUS alter database add standby logfile u01 oracle db01 size 50M Database altered. Continue creating the log files. One more log group than on the primary is recommended Parameters SQLPLUS show parameter db_name NAME TYPE VALUE db_name string DB01 Name stays the same SQLPLUS show parameter db_unique_name NAME TYPE VALUE db_unique_name string DB01 Standby and Primary will need unique names Names do not change even if roles switch SQLPLUS alter system set LOG_ARCHIVE_CONFIG DG_CONFIG db01 dbstby01 System altered. SQLPLUS alter system set log_archive_dest_2 service dbstby01 async valid_for online_logfile primary_role db_unique_name dbstby01 Chapter 10 High-Availability Architecture 293 System altered. The standby database server should already have the software and the needed directories for the database Create a parameter file for the standby with just the DB_NAME cat DB_NAME dbstby01 export ORACLE_SID dbstby01 SQLPLUS startup nomount pfile ORACLE_HOME dbs ORACLE instance started. . SQLPLUS exit To primary database run RMAN to copy database RMAN connect target connected to target database DB01 DBID 1382128337 RMAN connect

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.