Erinevus lehekülje "IAS'i käivitamine ja seiskamine" redaktsioonide vahel

Allikas: Kuutõrvaja
(OHS serveri seadistuste muutmine)
(OHS serveri seadistuste muutmine)
 
57. rida: 57. rida:
 
   You have supplied all the information. Are you ready to continue? [y]:  
 
   You have supplied all the information. Are you ready to continue? [y]:  
 
   ...
 
   ...
 +
 +
Veebiliidese abil saab lisaks moodustada ka virtuaalseid hoste.
 +
 +
===Oracle WebCache seadistuste muutmine===
 +
 +
Oracle WebCache seadistuste muutmine toimub eelistatult veebiliidese abil
 +
 +
  * http://....:9400/webcacheadmin
 +
  * EM manager
 +
 +
Muudatused salvestatakse failisüsteemis faili webcache.xml.

Viimane redaktsioon: 5. oktoober 2008, kell 22:42

Keskkonnamuutujate ettevalmistamine

Peale tarkvara paigaldamist on iAS komponendid reeglina töötavas olekus, aga millalgi tuleb nad tõenäoliselt seisata ning seejärel on vajadus nad uuesti käivitada. Oluline on seejuures, et oleksid seadistatud sobivad keskkonnamuutujad.

Näiteks selline shell skript seadistab sobivad väärtused middle tier iAS'ile

 $ cat system/env-ias.sh
 export ORACLE_HOME=/u01/app/oracle/product/10.1.2/ias
 export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:$PATH
 export LD_LIBRARY_PATH=$ORACLE_HOME/lib

(vt. Oracle Application Server Administrator's Guide)

OHS serveri seadistuste muutmine

Pordi muutmiseks tuleb öelda näiteks

 $ /opt/app/oracle_ias/product/10.1.2/ias/jdk/bin/java \
 -cp $ORACLE_HOME/sysman/webapps/emd/WEB-INF/lib/emd.jar:$ORACLE_HOME/dcm/lib/dcm.jar:$ORACLE_HOME/sso/lib/ossoreg.jar \
 oracle.sysman.ias.sta.tools.PortConfigCmdLine -oracleHome $ORACLE_HOME -oldPort 7777 -newPort 8081
 Initializing DCM ...
 Updating HTTP Server configuration file(s) with new port value ...
 New port values been saved to the configuration file(s).
 Updating targets.xml with new port value ...
 oracle_ias target StatusURL property was changed from "http://ias.loomaaed.tartu.ee:7777" to "http://ias.loomaaed.tartu.ee:8081".
 oracle_bc4j target port property was changed to 8081.
 Update of targets.xml is complete.
 Restarting the Application Server instance ...
 The Application Server instance has been restarted.
 The HTTP Server Listen port for Oracle Home "/opt/app/oracle_ias/product/10.1.2/ias" was changed from 7777 to 8081

https:// peal käivitamiseks tuleb öelda

 $ /opt/app/oracle_ias/product/10.1.2/ias/bin/SSLConfigTool -config_w_prompt -opwd xxx
 Starting the SSL Configuration Tool...
 
 Log file recording the current execution is '/home/oracle/system/SSLConfigTool_20081005_114814.log'.
 
 Below is the command line you have entered:
   SSLConfigTool -config_w_prompt -opwd ********
 
 Welcome to OracleAS SSL Configuration Tool.
 Below you will be guided with a series of questions.
 If a question has the default answer, 
 the answer will be enclosed inside [square brackets].
 Let's start now...
 
 Do you want to configure your site to accept browser requests using SSL protocol? [y]: 
 What is the virtual host name for your site? [ias.loomaaed.tartu.ee]: 
 What is the virtual port number for your site? [4443]: 
 Does your site have an external load-balancer (LBR)?
 Note: do NOT include OracleAS Web Cache as LBR here. [y]:  
 Does your site have OracleAS Web Cache? [y]: n
 Does your Oracle HTTP Server (OHS) accept requests in SSL protocol? [y]: 
 Do you want to supply your own wallet location for OHS? [n]: y
 Please supply wallet location for Oracle HTTP Server (OHS) to override its default at '/opt/app/oracle_ias/product/10.1.2/ias/Apache/Apache/conf/ssl.wlt/default': /home/oracle/ssl-imre
 You have supplied all the information. Are you ready to continue? [y]: 
 ...

Veebiliidese abil saab lisaks moodustada ka virtuaalseid hoste.

Oracle WebCache seadistuste muutmine

Oracle WebCache seadistuste muutmine toimub eelistatult veebiliidese abil

 * http://....:9400/webcacheadmin
 * EM manager

Muudatused salvestatakse failisüsteemis faili webcache.xml.