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 59 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


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.
* Valime välja installatsiooni tüübi 'Identity Management'


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


Järgneva eelduseks on et on olemas
* Installer sooritab kontrollid, pdksh puudumist võib SLES10 puhul ignoreerida, lisada käsitsi linnuke ja edasi


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


===Protseduuri ülevaade===
* Kinnitada, et on olemas juurkasutaja kasutamise võimalus


Tarkvara paigaldamine toimub sellises järjekorras
[[Pilt:Ias-infra-rac-5.gif]]


* MRCA (Metadata Repository Configuration Assistant) abil laaditakse olemasolevasse andmebaasi (ingl. k. existing database) MR skeemid, kasutades MRCA versiooni 10.1.2.0.3.
* Valida millised komponendid paigaldatakse
* 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
* 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


* kasutaja oracle kodukataloog on /home/oracle
[[Pilt:Ias-infra-rac-6.gif]]
* 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===
* Valida pordid


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
[[Pilt:Ias-infra-rac-7.gif]]


* 431665.1 - How to Obtain the Latest MRCA Information
* Hoidla asukoht
* 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
[[Pilt:Ias-infra-rac-8.gif]]


  1961190085 480973824 as_linux_x86_mrca_101203.cpio
* OID parameetrid, näiteks


MRCA kasutamiseks tuleb esmalt MRCA ise paigaldada, nt kataloogi
  * dc=loomaaed,dc=tartu,dc=ee


  /u01/app/oracle/product/10.1.2/mrca
[[Pilt:Ias-infra-rac-9.gif]]


MRCA sisaldab vahendit olemasoleva andmebaasi sobivuse kontrollimiseks, sedasi
OCA võtme pikkus


  $ ./DBPrereqChecker -DBHOST baas-vip-loomaaed.tartu.ee -DBPORT 1521 -DBNAME loomdba.loomaaed.tartu.ee -SYSPWD xxx -LOGDIR /home/oracle/mrca-log
[[Pilt:Ias-infra-rac-key-lenght.gif]]
  Starting validation DatabasePrerequisite
 
  Database Problems
OCA ligipääs
  The following problems were found with the specified database:
 
   The aq_tm_processes initialization parameter needs to be greater than or equal to 1. Please correct it and try again.
[[Pilt:Ias-infra-rac-oca-admin-password.gif]]
 
ias_admin ligipääs
 
[[Pilt:Ias-infra-rac-10.gif]]
 
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
    
    
   The db_cache_size initialization parameter needs to be set to 144MB or a greater value. Please correct it and try again.
   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   
 
[[Pilt:Ias-infra-rac-11.gif]]
 
Abilised töötavad
 
[[Pilt:Ias-infra-rac-12.gif]]
 
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
    
    
   The shared_pool_size initialization parameter needs to be set to 175MB 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 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.
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


Selliste probleemide korrigeerimiseks tuleb
  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


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


[[Pilt:Ias-infra-rac-7.gif]]
Ning kasutusele võetud portide nimekiri on failis


===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