Oracle 10.1.2 iAS infrastruktuuri paigaldamine: erinevus redaktsioonide vahel

Allikas: Kuutõrvaja
Mine navigeerimisribaleMine otsikasti
Imre (arutelu | kaastöö)
Imre (arutelu | kaastöö)
Resümee puudub
 
(ei näidata sama kasutaja 51 vahepealset redaktsiooni)
1. rida: 1. rida:
===Sissejuhatus===
Paigaldamisel on lähtutud oracle.com juhtumist


iAS 10.1.2 infrastruktuur koosneb kahest osast, mis sisaldavad selliseid komponente
* 6.23 Installing Oracle Identity Management Components Only (Including Oracle Internet Directory) - http://download.oracle.com/docs/cd/B14099_19/linux.1012/install.1012/install/infra.htm#BABJAADB


OIM - Oracle Indentity Management
Märkust: pilt puudub, aga OCA puhul on kasutatud väärtusi '* specify oca distignuished name - typical dn, CN - avalik.loo, OU - tyhi, O - portaal, C - Estonia'


* OID - Oracle Internet Directory
* Installer tuleb käivitada 'linux32 bash' shellist ja ilma ORC* keskkonnamuutujateta, näitame installatsiooni nime ning kataloogitee
* SSO - OracleAS Single Sign-On
* DAS - Oracle Delegated Administration Services
* DIP - Oracle Directory Integration and Provisioning
* OCA - OracleAS Certificate Authority


OracleAS Metadata Repository
  $ ./runInstaller


* Product metadata - sisaldab baasi skeeme rakenduskihi Portal ja Wireless komponentide kohta
[[Pilt:Ias-infra-rac-1.gif]]
* OID Metadata - sisaldab skeeme infrastruktuuri OID, SSO ja OCA komponentide kohta
* Management metadata - sisaldab DCM (Distributed Configuration Management) kohta


iAS komponente saab paigaldada
* Valime paigaldatava produkti, Oracle Application Server Infrastructure


* erinevates mahtudes, st jättes osa komponente paigaldamata kui nendega seotud funktsionaalsust ei ole tarvis
[[Pilt:Ias-infra-rac-2.gif]]
* paigaldada mitmes eksemplaris eesmärgiga tõsta süsteemi jõudlust ning redundantsust
 
* Valime välja installatsiooni tüübi 'Identity Management'
 
[[Pilt:Ias-infra-rac-3.gif]]


Käesolevas tekstis esitatakse järgnevus kuidas paigaldada iAS'i kõik komponendid kasutades välist Oracle 10R2 RAC ASMseadistuses andmebaasi ning sealjuures komponendid paigatakse 2008 aasta keskpaigas olemasolevate paikadega.
* Installer sooritab kontrollid, pdksh puudumist võib SLES10 puhul ignoreerida, lisada käsitsi linnuke ja edasi


* 10R2 RAC ASM baas - 10.2.0.4.0
[[Pilt:Ias-infra-rac-4.gif]]
* 10R1 iAS - 10.1.2.3.0


Järgneva eelduseks on et on olemas
* Kinnitada, et on olemas juurkasutaja kasutamise võimalus


* paigatud SLES10 SP1 64bit operatsioonisüsteem
[[Pilt:Ias-infra-rac-5.gif]]
* 10R2 RAC ASM seadistuses andmebaas 10.2.0.4.0


Kõik iAS 10.1.2 tarkvara tuleb 64bit operatsioonisüsteemi puhul käivitada
* Valida millised komponendid paigaldatakse


  linux32 bash
* Oracle HTTP Server
* Oracle Application Server Containers for J2EE
* Oracle Internet Directory
* Oracle Application Server Single Sign-On
* Oracle Application Server Delegated Administration Services
* Oracle Application Server Directory Integration and Provisioning


shellist. Seda kas shell on õige saab shelli töötamise ajal küsida
[[Pilt:Ias-infra-rac-6.gif]]


  $ arch
* Valida pordid
  x86_64
  $ linux32 bash
  $ arch
  i686


===Protseduuri ülevaade===
[[Pilt:Ias-infra-rac-7.gif]]


Tarkvara paigaldamine toimub sellises järjekorras
* Hoidla asukoht


* MRCA (Metadata Repository Configuration Assistant) abil laaditakse olemasolevasse andmebaasi (ingl. k. existing database) MR skeemid, kasutades MRCA versiooni 10.1.2.0.3.
[[Pilt:Ias-infra-rac-8.gif]]
* Paigaldatakse infrastruktuuri 10.1.2.0.2 komponendid.
* Paigaldatakse rakenduskihi 10.1.2.0.2 komponendid.
* Paigatakse infrastruktuur versioonile 10.1.2.3.0
* Paigatakse rakenduskiht versioonile 10.1.2.3.0
* Paigatakse metadata repositori versioonile 10.1.2.3.0


Kusjuures
* OID parameetrid, näiteks


* kasutaja oracle kodukataloog on /home/oracle
  * dc=loomaaed,dc=tartu,dc=ee
* rakenduste kataloogid asuvad kataloogis /u01/app/oracle/product/10.1.2
* inventory kataloog on /u01/app/oracle/oraInventory


===MRCA abil MR skeemide laadimine olemasolevasse andmbaasi===
[[Pilt:Ias-infra-rac-9.gif]]


MRCA abil MR skeemide laadimiseks olemasolevasse 10R2 andmebaasi tuleb teha sellised ettevalmistused, numbrid viitava Metalink'i (http://metalink.oracle.com/) nootidele, neile ligipääsuks peab olema Metalink süsteemis kasutada kasutaja
OCA võtme pikkus


* http://download.oracle.com/docs/cd/B14099_19/sol.1012/repca.1012/repca/toc.htm - Oracle® Application Server Metadata Repository Creation Assistant User's Guide
[[Pilt:Ias-infra-rac-key-lenght.gif]]
* 431665.1 - How to Obtain the Latest MRCA Information
* 362983.1 - MRCA 10.1.2.0.3 and Oracle Database 10g Release 2 (10.2)


Kasutada MRCA (Metadata Repository Creation Assistant) versiooni 10.1.2.0.3, http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
OCA ligipääs


  $ cksum as_linux_x86_mrca_101203.cpio
[[Pilt:Ias-infra-rac-oca-admin-password.gif]]
  1961190085 480973824 as_linux_x86_mrca_101203.cpio


Pakime MRCA paigaldusmaterjali lahti
ias_admin ligipääs


  $ cpio -dmvi < as_linux_x86_mrca_101203.cpio
[[Pilt:Ias-infra-rac-10.gif]]


MRCA kasutamiseks tuleb esmalt MRCA ise paigaldada, nt kataloogi
Install teatab probleemist, aga kui samal ajal ütleb arvuti nii, siis on kõik ok ning valida Continue


   /u01/app/oracle/product/10.1.2/mrca
   $ /u01/app/oracle/product/10.1.2/infra/opmn/bin/opmnctl status
 
  Processes in Instance: infra.portaal-ias1a.avalik.loo
  -------------------+--------------------+---------+---------
  ias-component      | process-type      |    pid | status 
  -------------------+--------------------+---------+---------
  DSA                | DSA                |    N/A | Down   
  LogLoader          | logloaderd        |    N/A | Down   
  dcm-daemon        | dcm-daemon        |    N/A | Down   
  HTTP_Server        | HTTP_Server        |    N/A | Down   
  OID                | OID                |    N/A | Down   


Veenduge, ega Oracle'ga seatud keskkonnamuutujaid ei ole kirjeldatud, ega esine vatavaid teid PATH'is
[[Pilt:Ias-infra-rac-11.gif]]


  $ env | grep ORA*
Abilised töötavad
  $ echo $PATH


Ja käivitada installer
[[Pilt:Ias-infra-rac-12.gif]]


  $ ./runInstaller
Ning lõpuks öeldakse, et on valmis.
  ***************************************************************
  The following files should not be present :
  /etc/profile.d/oracle.csh
  /etc/profile.d/oracle.sh
  /etc/profile.d/alljava.csh
  /etc/profile.d/alljava.sh
  Please remove the above files or move them to .bak
  Remove the ". ./.oracle" entries from /home/oracle/.profile
  Logout and login to reset the Shell environment.
  ***************************************************************
  Do you want to continue anyway: [y/n]
  y
  For SuSE, you are required to login as root and run the patch present in
  the utils/3167528/ and utils/4015045 directory
  Enter y if you have allready installed the patch
  Enter n to exit the installer and run the patch
  Is the patch for bug # 3167528 and 4015045 run : [y/n] :
  y


MRCA sisaldab vahendit olemasoleva andmebaasi sobivuse kontrollimiseks, sedasi
Vahepeal küsiti skriptide asukohta, selleks öelda


   $ ./DBPrereqChecker -DBHOST baas-vip-loomaaed.tartu.ee -DBPORT 1521 -DBNAME loomdba.loomaaed.tartu.ee -SYSPWD xxx -LOGDIR /home/oracle/mrca-log
   # /u01/app/oracle/product/10.1.2/infra/root.sh
   Starting validation DatabasePrerequisite
  Running Oracle10 root.sh script...
  Database Problems
   \nThe following environment variables are set as:
  The following problems were found with the specified database:  
    ORACLE_OWNER= oracle
  The aq_tm_processes initialization parameter needs to be greater than or equal to 1. Please correct it and try again.
    ORACLE_HOME=  /u01/app/oracle/product/10.1.2/infra
    
    
   The db_cache_size initialization parameter needs to be set to 144MB or a greater value. Please correct it and try again.
   Enter the full pathname of the local bin directory: [/usr/local/bin]: /usr/local/ias-infra/bin
 
 
  The shared_pool_size initialization parameter needs to be set to 175MB or a greater value. Please correct it and try again.
Probleemid
 
  The java_pool_size initialization parameter needs to be set to 120MB or a greater value. After changing the value of the parameter, restart the database for the new value to take effect.


Selliste probleemide korrigeerimiseks tuleb
* OCA agent hävib ja selle vastu aitab failist /u01/app/oracle/product/10.1.2/infra/oca/bin/cminst eemaldada LD_ASSUME_KERNEL rida.


* ..
Tulemusena ütleb arvuti


MRCA kasutamine toimub selliselt
  The following J2EE Applications have been deployed and are accessible at the URLs listed below.
  Use the following URL to access the Oracle Enterprise Manager 10g Application Server Control Console :
  http://portaal-ias1a.avalik.loo:1156
  The following information is available in:
  /u01/app/oracle/product/10.1.2/infra/install/setupinfo.txt
  Oracle Application Server 10g (10.1.2.0.2) Usernames and Default password information:
  Please refer to Oracle Application Server 10g Administrator Guide for more information.
  OCA osa asub
  :6600/oca/user ja /oca/admin
  Install Type: Identity Management
  Configured Components: Oracle HTTP Server | Oracle Application Server Containers for J2EE | Oracle Internet Directory | Oracle Application Server Single Sign-On | Oracle  Application
  Server Delegated Administration Service | Oracle Application Server Directory Integration and Provisioning | 
  Oracle Internet Directory has been configured for an existing Metadata Repository using this connection: portaal-ias1a-vip.avalik.loo:1521:portdba.avalik.loo.
  Use the following URL to access the Oracle HTTP Server and the Welcome Page:
  http://portaal-ias1a.avalik.loo:7777
  -----------------------------------------
  Use the following URL to access the Oracle Enterprise Manager Application Server Control:
  http://portaal-ias1a.avalik.loo:1156
  Instance Name: infra.portaal-ias1a.avalik.dloo
  Installation of Oracle Application Server Infrastructure is Complete. Please note that any URLs created in this install may not be functional immediately.


[[Pilt:Mrca-rac-2.gif]]
Lõpus esitatud teate tekst on kirjas samuti Oracle binari home'is failis
[[Pilt:Mrca-rac-3.gif]]
[[Pilt:Mrca-rac-4.gif]]
[[Pilt:Mrca-rac-5.gif]]
[[Pilt:Mrca-rac-6.gif]]
[[Pilt:Mrca-rac-7.gif]]
[[Pilt:Mrca-rac-8.gif]]


===Infrastruktuuri 10.1.2.0.2 komponentide paigaldamine===
  $ORACLE_HOME/install/setupinfo.txt


[[Pilt:Ias-infra-rac-1.gif]]
Ning kasutusele võetud portide nimekiri on failis
[[Pilt:Ias-infra-rac-2.gif]]
[[Pilt:Ias-infra-rac-3.gif]]
[[Pilt:Ias-infra-rac-4.gif]]
[[Pilt:Ias-infra-rac-5.gif]]
[[Pilt:Ias-infra-rac-6.gif]]
[[Pilt:Ias-infra-rac-7.gif]]


===Rakenduskihi 10.1.2.0.2 komponentide paigaldamine===
  $ORACLE_HOME/install/portlist.ini
===Infrastruktuuri komponentide versioonile 10.1.2.3.0 paikamine===
===Rakenduskihti komponentide versioonile 10.1.2.3.0 paikamine===
===Metadata repository versioonile 10.1.2.3.0 paikamine===

Viimane redaktsioon: 14. oktoober 2008, kell 06:24

Paigaldamisel on lähtutud oracle.com juhtumist

Märkust: pilt puudub, aga OCA puhul on kasutatud väärtusi '* specify oca distignuished name - typical dn, CN - avalik.loo, OU - tyhi, O - portaal, C - Estonia'

  • Installer tuleb käivitada 'linux32 bash' shellist ja ilma ORC* keskkonnamuutujateta, näitame installatsiooni nime ning kataloogitee
 $ ./runInstaller

  • Valime paigaldatava produkti, Oracle Application Server Infrastructure

  • Valime välja installatsiooni tüübi 'Identity Management'

  • Installer sooritab kontrollid, pdksh puudumist võib SLES10 puhul ignoreerida, lisada käsitsi linnuke ja edasi

  • Kinnitada, et on olemas juurkasutaja kasutamise võimalus

  • Valida millised komponendid paigaldatakse
  • Oracle HTTP Server
  • Oracle Application Server Containers for J2EE
  • Oracle Internet Directory
  • Oracle Application Server Single Sign-On
  • Oracle Application Server Delegated Administration Services
  • Oracle Application Server Directory Integration and Provisioning

  • Valida pordid

  • Hoidla asukoht

  • OID parameetrid, näiteks
 * dc=loomaaed,dc=tartu,dc=ee

OCA võtme pikkus

OCA ligipääs

ias_admin ligipääs

Install teatab probleemist, aga kui samal ajal ütleb arvuti nii, siis on kõik ok ning valida Continue

 $ /u01/app/oracle/product/10.1.2/infra/opmn/bin/opmnctl status
 
 Processes in Instance: infra.portaal-ias1a.avalik.loo
 -------------------+--------------------+---------+---------
 ias-component      | process-type       |     pid | status  
 -------------------+--------------------+---------+---------
 DSA                | DSA                |     N/A | Down    
 LogLoader          | logloaderd         |     N/A | Down    
 dcm-daemon         | dcm-daemon         |     N/A | Down    
 HTTP_Server        | HTTP_Server        |     N/A | Down    
 OID                | OID                |     N/A | Down    

Abilised töötavad

Ning lõpuks öeldakse, et on valmis.

Vahepeal küsiti skriptide asukohta, selleks öelda

 # /u01/app/oracle/product/10.1.2/infra/root.sh 
 Running Oracle10 root.sh script...
 \nThe following environment variables are set as:
   ORACLE_OWNER= oracle
   ORACLE_HOME=  /u01/app/oracle/product/10.1.2/infra
 
 Enter the full pathname of the local bin directory: [/usr/local/bin]: /usr/local/ias-infra/bin

Probleemid

  • OCA agent hävib ja selle vastu aitab failist /u01/app/oracle/product/10.1.2/infra/oca/bin/cminst eemaldada LD_ASSUME_KERNEL rida.

Tulemusena ütleb arvuti

 The following J2EE Applications have been deployed and are accessible at the URLs listed below.
 Use the following URL to access the Oracle Enterprise Manager 10g Application Server Control Console : 
 http://portaal-ias1a.avalik.loo:1156
 The following information is available in: 
 /u01/app/oracle/product/10.1.2/infra/install/setupinfo.txt 
 Oracle Application Server 10g (10.1.2.0.2) Usernames and Default password information:
 Please refer to Oracle Application Server 10g Administrator Guide for more information.
 OCA osa asub
 :6600/oca/user ja /oca/admin
 Install Type: Identity Management 
 Configured Components: Oracle HTTP Server | Oracle Application Server Containers for J2EE | Oracle Internet Directory | Oracle Application Server Single Sign-On | Oracle   Application 
 Server Delegated Administration Service | Oracle Application Server Directory Integration and Provisioning |  
 Oracle Internet Directory has been configured for an existing Metadata Repository using this connection: portaal-ias1a-vip.avalik.loo:1521:portdba.avalik.loo.
 Use the following URL to access the Oracle HTTP Server and the Welcome Page:
 http://portaal-ias1a.avalik.loo:7777
 -----------------------------------------
 Use the following URL to access the Oracle Enterprise Manager Application Server Control:
 http://portaal-ias1a.avalik.loo:1156
 Instance Name: infra.portaal-ias1a.avalik.dloo
 Installation of Oracle Application Server Infrastructure is Complete. Please note that any URLs created in this install may not be functional immediately.

Lõpus esitatud teate tekst on kirjas samuti Oracle binari home'is failis

 $ORACLE_HOME/install/setupinfo.txt

Ning kasutusele võetud portide nimekiri on failis

 $ORACLE_HOME/install/portlist.ini