Oracle Data Guard : test pengiriman logfile (3)

28 Feb

14. test
a. paksa agar primary server membuat log file (server primary)

SQL> alter system switch logfile;
SQL> alter system switch logfile;
SQL> host
[oracle@prmr11g ~]$ ls -la /u01/archive/prmr11g/
total 5224
drwxr-xr-x 2 oracle oinstall 4096 Feb 24 18:19 .
drwxr-xr-x 3 oracle oinstall 4096 Feb 21 17:20 ..
-rw-r—– 1 oracle oinstall 5322752 Feb 24 18:18 1_15_679442351.arc
-rw-r—– 1 oracle oinstall 1024 Feb 24 18:19 1_16_679442351.arc

b. apakah standby juga sudah mendapatkan logfile ? (server standby)
[oracle@stby11g stby11g]$ ls -la
total 5224
drwxr-xr-x 2 oracle oinstall 4096 Feb 24 15:57 .
drwxr-xr-x 3 oracle oinstall 4096 Feb 21 17:18 ..
-rw-r—– 1 oracle oinstall 5322752 Feb 24 15:57 1_15_679442351.arc
-rw-r—– 1 oracle oinstall 1024 Feb 24 15:57 1_16_679442351.arc

15. monitoring standby server (server primary)
a. berapa banyak

SQL> set pages 100
SQL> col name for a40
SQL> select name,to_char(FIRST_TIME,’dd-mon-yy hh24:mi:ss’) TIME ,SEQUENCE#,APPLIED from v$archived_log;
NAME TIME SEQUENCE# APP
—————————————- —————— ———- —
/u01/archive/prmr11g/1_15_679442351.arc 24-feb-09 16:43:02 15 NO
/u01/archive/prmr11g/1_16_679442351.arc 24-feb-09 18:18:35 16 NO
stby11g 24-feb-09 18:18:35 16 YES
stby11g 24-feb-09 16:43:02 15 YES

b. monitor pengiriman
SQL> set pages 100
SQL> col dest_id for a5
SQL> col destination for a50
SQL> col status for a10
SQL> col error for a10
SQL> select dest_id, destination, status, error from v$archive_dest;
DEST_ID DESTINATION STATUS ERROR
———- —————————————- ———- ———-
1 /u01/archive/prmr11g VALID
2 stby11g VALID

1. oracle data guard pengertian

2. demo oracle data guard physical standby database

3. oracle data guard test pengiriman logfile

4. oracle data guard standby server untuk reporting

5. oracle data guard active data guard 11g

6. oracle data guard switchover failover

7. oracle data guard test switchover failover

8. oracle data guard lampiran initora

One Response to “Oracle Data Guard : test pengiriman logfile (3)”

  1. Jack Nickolson May 4, 2010 at 8:51 pm #

    Nice article for standby oracle database.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: