Oracle 10.1.3.1.0 paigaldamine

Allikas: Kuutõrvaja
Redaktsioon seisuga 27. november 2008, kell 10:46 kasutajalt Imre (arutelu | kaastöö) (wsrp toetuse tekitamine)

Tarkvara

Oracle Application Server versioon 10.1.3 ehk 10R3 tarkvara saab kopeerida aadressilt http://www.oracle.com/ ja samas saab tutvuda selle tarkvara kasutamise tingimustega. 2008 aasta sügisel on 10R3 viimane versioon 10.1.3.4.0 mille paigaldamine toimub kahe sammuna

  • installeerimine versioon 10.1.3.1.0 paigaldusmeedialt
  • installeeritud 10.1.3.1.0 versiooni paikamine 10.1.3.4.0 paigaga

Paigaldamise ettevalmistamine

  • Tutvume http://www.oracle.com/ aadressilt paigaldusjuhendiga
  • Moodustame kasutaja:grupi oracle:dba
  • Kopeerime paigaldusmeedia ning paiga arvutisse, pakime lahti

Tarkvara paigaldamine

  • Oracle teemalised keskkonnamuutujaid ei tohi kirjeldatud olla ja ütleme
 $ echo $PATH
 /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
 $ ./runInstaller

Esmalt kontrollib installer muu seas, kas on süsteemi on paigaldatud vajalikud paketid ning kas on seadistatud sobivad väärtused kerneli parameetritele, peab olema paigaldatud

 # up2date compat-glibc

kusjuures installer hoiatab RH ES 4 keskkonnas ekslikult kolme paketi osas, seda hoiatust tuleb ignoreerida (metalink: Note:435744.1, Application Server 10.1.3.1 Installer Fails on RHEL 4, Cannot Find Prerequisite Packages)

 compat-glibc-7.x-2.2.4.32.6
 compat-libstdc++-devel-7.3-2.96.128
 compat-libstdc++-7.3-2.96.128

Seejärel jätkuvad dialoogid

Ias-10131-adv-install-options.gif

  • Näitame kataloogi kuhu tarkvara paigaldatakse ning valida Advanced Install, avaneb menüü

Ias-10131-adv-install-1.gif

  • Seejärel küsitakse inventory asukohta, näitame
 /opt/app/oracle_ias/ias/oraInventory

Ias-10131-adv-install-1.5.gif

ning kästakse käivitada juurkasutajana skript

 # /opt/app/oracle_ias/ias/oraInventory/orainstRoot.sh
  • Täidame Administration Settings dialoogi

Ias-10131-adv-install-2.gif

root.sh käivitamisel sobib vastata, et kasutatakse kataloogi /opt/app/oracle_ias/ias/product/10.1.3.1/bin

 Enter the full pathname of the local bin directory: [/usr/local/bin]: /opt/app/oracle_ias/ias/product/10.1.3.1/bin

Tulemusena töötab iAS haldusliides aadressil

 http://hostname:7777/em/
$ /opt/app/oracle_ias/ias/product/10.1.3.1/opmn/bin/opmnctl status -l
 
 Processes in Instance: ias.hostname
 ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
 ias-component                    | process-type       |     pid | status   |        uid |  memused |    uptime | ports 
 ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
 OC4JGroup:default_group          | OC4J:home          |    4130 | Alive    | 2021920513 |   194852 |   0:03:52 | jms:12601,ajp:8888,rmis:12701,rmi:12401
 ASG                              | ASG                |     N/A | Down     |        N/A |      N/A |       N/A | N/A
 HTTP_Server                      | HTTP_Server        |    4129 | Alive    | 2021920512 |    59144 |   0:03:35 | https1:4443,http2:7200,http1:7777

Tarkvara uuendamine 10.1.3.4 versioonile

Pakime lahti paiga arhiivi

$ cd /home/oracle/ias
$ unzip unzip /media/cdrom/images/ias_linux_x86_101340.zip

ning ütleme (nb! iAS peab sama ajal käima ja ORA* keskkonnamuutujad ega tohi olla seadistatud, samuti PATH on vaikimisi RH oma)

 $ echo $PATH
 /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
 $ cd Disk1
 $ ./runInstaller

Valides uuendatava binary home'i millegipärast ostub, et tema nimi on oracleas1, aga vast las ta siis olla

Ias-10134-update-1.gif

Seejärel tuleb sisestada ias_admin kasutaja parool ning toimub tarkvara uuendus. Palutakse käivitada ka

# /opt/app/oracle_ias/ias/product/10.1.3.1/root.sh

ning ta annab kohe prompti tagasi.

Peale tarkvara uuendamist

  • 728366.1 - Alert Notice For SOA Customers Planning to Upgrade to 10.1.3.4

wsrp toetuse tekitamine

  • Moodustada wsrp oc4j instance, aga mitte käivitada
  • Lisada faili wsrp/config/server.xml rida (752220.1)
 $ diff config/server.xml /home/oracle/20081126/server.xml 
 138d137
 <               <import-shared-library name="oracle.ws.jaxrpc"/>
 $ diff config/server.xml /home/oracle/20081126/server.xml 
  • Lisada wsrp portlet containeri tugi
 $ which java
 /opt/app/oracle_ias/ias/product/10.1.3.1/jdk/bin/java
 $ java -jar portlet-server-install.jar /opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp
 File "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/config/server.xml" modified successfully
 Beginning install of libraries to "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0"
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/jaxb-api.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/jaxb-impl.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/jaxb-libs.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/namespace.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/oracle-portlet-tags.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/portlet-bridge-jsf.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/relaxngDatatype.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/wsrp-container.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/wsrp-jaxb.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/wsrp-predeploy.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/wsrp-types.jar"...
 Extracting "/opt/app/oracle_ias/ias/product/10.1.3.1/j2ee/wsrp/shared-lib/oracle.wsrp/1.0/xsdlib.jar"...
 Install Complete