1 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Tippek és trükkök - Másfél év üzemeltetési tapasztalatai Exadata környezetben Bényi Tamás Vezető DBA, ORFK Kovács Ágnes PreSales, Oracle 2 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Menü IB alhálózat definiálása nagy tömegű adat mozgatásához adatbázisok között Biztonsági kérdések A centralizáció előnyei és hátrányai Mentés 3 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
IB Interface configurálás I. Új IB VIP címek felvétele a hosts file-ba 192.168.10.241 node1-ibvip.police.hu node1-bvip 192.168.10.242 node2-ibvip.police.hu node2-ibvip 192.168.10.243 node3-ibvip.police.hu node3-ibvip 192.168.10.244 node4-ibvip.police.hu node4-ibvip 4 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
IB Interface configurálás II. VIP címek OCR-hez hozzáadása srvctl add vip -n node1 -A node1-ibvip/255.255.255.0/bondib0 -k 2 srvctl add vip -n node2 -A node2-ibvip/255.255.255.0/bondib0 -k 2 srvctl add vip -n node3 -A node3-ibvip/255.255.255.0/bondib0 -k 2 srvctl add vip -n node4 -A node4-ibvip/255.255.255.0/bondib0 -k 2 5 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
IB Interface configurálás III. IB Listener létrehozása az OCR-ben srvctl add listener -l LISTENER_IB -k 2 -p TCP:1522 6 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
IB Interface configurálás IV. TNSNAMES bejegyzések készítése EXA_IB =(DESCRIPTION =(LOAD_BALANCE=on)(ADDRESS = (PROTOCOL = TCP)(HOST = node1-ibvip)(port = 1522))(ADDRESS = (PROTOCOL = TCP)(HOST = node2-ibvip)(port = 1522))(ADDRESS = (PROTOCOL = TCP) (HOST = node3-ibvip)(port = 1522))(ADDRESS = (PROTOCOL = TCP)(HOST = node4-ibvip)(port = 1522)) (CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = some_name))) LISTENER_IBREMOTE =(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = node2- ibvip.police.hu)(port = 1522)))) LISTENER_IBLOCAL =(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = node1- ibvip.police.hu)(port = 1522)))) 7 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
IB Interface configurálás V. Instance szintű konfiguráció alter system set listener_networks='((name=network2) (LOCAL_LISTENER=LISTENER_IBLOCAL) (REMOTE_LISTENER=LISTENER_IBREMOTE))','((NAME=network1) (LOCAL_LISTENER=LISTENER_IPLOCAL) (REMOTE_LISTENER=LISTENER_IPREMOTE))' scope=both; 8 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Biztonsági kérdések - ssh, felhasználói ekvivalencia - utl_files paraméter - oracle user: majdnem superuser - OMS hozzáférések 9 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
A centralizáció előnyei és hátrányai centralized database - egy helyen minden adat, nagy teljesítménnyel (+) Egy centralizált oldal nem elég, mert "single point of failure" - egyetlen konfig/db/szekrény felelős mindenért (-) -> Disaster oldal szükséges a cluster tagjainak hatása egymásra failover (+) rolling error (-) 10 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Disaster oldal kiépítése X2 fél rack mellé X3 negyed rack, mint DR site Data Guard konfiguráció: Maximum Performance Active Dataguard használata: blokk korrupció elleni védelem Szerepcsere képessége 11 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Enterprise Manager 12c 12 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
13 Copyright 2012, Oracle and/or its affiliates. All rights reserved.
14 Copyright 2012, Oracle and/or its affiliates. All rights reserved.
Cluster felépítése és beállítása RAC cluster felépítés Lényeges különbség a hagyományos RAC-hoz: cluster_interconnect paraméternek az IB interconnect-re kell mutatnia ASM beállítás: SGA legalább 1GB, memory_target kikonfigurálása! (huge pages miatt) Cold Failover configuráció: van lehetőség single instance-ok cold failover módon való beállítására IB hálózat használata: Exadatán belüli adatbázisok közötti gyors adatáttöltés pl. DB linken keresztül 15 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Mentés specialitás Alkalmazás specifikus beállítás run{allocate channel backup_disk0 device type disk format='$back_path/increment/control_%d_%s_%p_%u' ;backup current controlfile;release channel backup_disk0;allocate channel backup_disk1 device type disk format='$back_path/1/fulldb_%d_ %s_%p_%u' ;allocate channel backup_disk2 device type disk format='$back_path/2/fulldb_%d_%s_%p_%u' ;allocate channel backup_disk3 device type disk format='$back_path/3/fulldb_%d_%s_%p_%u' ;allocate channel backup_disk4 device type disk format='$back_path/4/fulldb_%d_%s_%p_%u' ;allocate channel backup_disk5 device type disk format='$back_path/5/fulldb_%d_%s_%p_%u' ;allocate channel backup_disk6 device type disk format='$back_path/6/fulldb_%d_%s_%p_%u' ; backup duration 15:00 partial minimize load AS BACKUPSET database SECTION SIZE 5G; release channel backup_disk1;release channel backup_disk2;release channel backup_disk3;release channel backup_disk4;release channel backup_disk5;release channel backup_disk6;allocate channel backup_disk7 device type disk format='$back_path/increment/arch_%d_%s_%p_%u';backup as backupset archivelog all delete all input tag autobkp;release channel backup_disk7;allocate channel backup_disk8 device type disk format='$back_path/increment/control_%d_%s_%p_ %U';backup current controlfile;release channel backup_disk8;} 16 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
17 Copyright 2012, Oracle and/or its affiliates. All rights reserved.
18 Copyright 2012, Oracle and/or its affiliates. All rights reserved.