Bugra Canbakal's Oracle Blog

  • Home
  • Contact
  • SITE MAP
You are here: Home / Oracle / Single Node / Oracle 10g database vault kurulumu

Oracle 10g database vault kurulumu

08:04 PM By Bugra Canbakal Leave a Comment

1.AMAÇ VE KAPSAM

Oracle 10g 2.0.4 veritabanı üstüne database vault kurulumu

2.UYGULAMA

2.1. En kötü ihtimale karşı veritabanının full backup’ını alıyoruz.

2.2. Özel profil ayarları ve şifreleme metotları kullanıldıysa önce bunları default değerlere alıp vault kurulumundan sonra geriye çevirebiliriz. Bunun için aşağıdaki scripti çalıştırıyoruz, bu script sayesinde bizim veritabanımızdaki profile ayarlarını sql scripte dönüştürecez ki kurulum bittikten sonra eski haline getirebilelim.myprofiles.sql isimli bir dosya oluşturacaktır.

SQL> set serverout on size 10000

spool myprofiles.sql

.

declare

l_last varchar2(30) := ‘X’;

l_count number := 0;

begin

for c in (

select profile, resource_name , limit

from dba_profiles

order by profile, resource_name

) loop

if l_last <> c.profile then

l_last := c.profile;

if l_count > 0 then

dbms_output.put_line(‘;’);

end if;

l_count := l_count + 1;

dbms_output.put_line(‘create profile ‘ || c.profile || ‘ limit ‘);

else

dbms_output.put_line(‘    ‘ || c.resource_name || ‘ ‘ || c.limit);

end if;

end loop;

dbms_output.put_line(‘;’);

end;

/

.

spool off

2.3. Profilleri default değerlere getiriyoruz.

SQL> ALTER PROFILE SomeCustomProfile LIMIT

PASSWORD_REUSE_MAX UNLIMITED — The number of times a password can be reused

PASSWORD_REUSE_TIME UNLIMITED — The number of days between reuses of a

password

PASSWORD_VERIFY_FUNCTION NULL

2.4. Listener dışında bütün servisleri kapatıyoruz.(Sqlplusdanda çıkıyoruz.)

SQL> shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> exit

Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 – Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

[oracle@localhost ~]$ emctl stop dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0

Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

https://localhost.localdomain:1158/em/console/aboutApplication

Stopping Oracle Enterprise Manager 11g Database Control …

…  Stopped.

[oracle@oracle ~]$ isqlplusctl stop

iSQL*Plus 10.2.0.4.0

Copyright (c) 2003, 2007, Oracle.  All Rights Reserved.

iSQL*Plus instance on port 5560 is not running …

2.5. bash_profile da umaskı aşağıdaki değeri yapıyoruz umask yoksa ekliyoruz.Sonrada profili tekrardan yüklüyoruz.

umask 022

2.6. Bazı rpm paketleri kurmamız gerekiyor. (Aşağıdakiler RHEL 5 32bit içindir.)

[root@localhost Server]# rpm -ivh libXau-devel-1.0.1-3.1.i386.rpm

warning: libXau-devel-1.0.1-3.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing…                ########################################### [100%]

1:libXau-devel           ########################################### [100%]

[root@localhost Server]# rpm -ivh libXp-*

warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing…                ########################################### [100%]

1:libXp                  ########################################### [ 50%]

2:libXp-devel            ########################################### [100%]

2.7. ./runInstaller çalıştırıyoruz.

2.8. Vault owner ve account manager için yeniuserlar oluşturuyoruz. Bu userların şifreleri minimum 8 karaker maximum 30 karaketer içinde en az 1 numara 1 harf ve 1 sembol  (-,#,$,% gibi) olmak zorunda.

2.9. Yeni ekranda $ORACLE_HOME u seçiyoruz ve sys şifresini yazıyoruz.

2.10. Bundan sonraki 2 ekranda bilgilendirme ve sistem gereksinimleri var bunları sorunsuz geçtikten sonra kurulamu başlatacaktır.

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X

Filed Under: Single Node Tagged With: database vault, oracle, oracle database vault

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About Me



Language:

  • English
  • Turkish

Categories

  • Oracle
    • RAC – Real Application Cluster
    • RMAN
    • Single Node
    • Standby – Dataguard
  • OS
    • Linux

Blogroll

  • Emre Baransel
  • Gökhan Atıl
  • H. Tonguc Yılmaz
  • Kamil Türkyılmaz
  • Tanel Poder
  • Turkce Oracle
  • Turkish Oracle User Group
  • Uwe Hesse
  • Zekeriya Beşiroğlu

Archives

  • April 2014
  • March 2014
  • August 2013
  • June 2013
  • March 2013
  • January 2013
  • December 2012
  • November 2012
  • July 2012
  • June 2012
  • May 2012
  • January 2012
  • November 2011
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • June 2010
OCP
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

[footer_backtotop]

Copyright © 2010-2014 Bugra Canbakal. All rights reserved.