Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oracle webcache Installation Guide - 기본 Setting & Tunning 포함 – Version : Webcache StandAlone 10.1.2.0.2 전자계산소 2007-01-23.

Similar presentations


Presentation on theme: "Oracle webcache Installation Guide - 기본 Setting & Tunning 포함 – Version : Webcache StandAlone 10.1.2.0.2 전자계산소 2007-01-23."— Presentation transcript:

1 Oracle webcache Installation Guide - 기본 Setting & Tunning 포함 – Version : Webcache StandAlone 10.1.2.0.2 전자계산소 2007-01-23

2 Sun 시스템 커널 파라메터 [/etc/system 등 ] 튜닝 ; /etc/system 파일 및 ndd 설정값 수정 (Os rebooting 필수 ) [/etc/system] 에 아래 파라메터값 추가 *------------------------------------------------------------------------* * Parameters For OracleAS 10g WebCache *------------------------------------------------------------------------* set rlim_fd_max=65536 set rlim_fd_cur=65536 *------------------------------------------------------------------------* * Etc Tuning parameters *------------------------------------------------------------------------* set sq_max_size=0 [/etc/init.d/inetsvc] 또는 [/etc/rc2.d/S99_ndd] 에 아래 파라메터값 추가 *------------------------------------------------------------------------* * Parameters For Network Tuning *------------------------------------------------------------------------* ndd -set /dev/tcp tcp_time_wait_interval 60000 ndd -set /dev/tcp tcp_fin_wait_2_flush_interval 16000 ndd -set /dev/tcp ip_path_mtu_discovery 0 ndd -set /dev/tcp tcp_conn_req_max_q 8192 ndd -set /dev/tcp tcp_conn_req_max_q0 8192 ndd -set /dev/tcp tcp_conn_req_min 1 ndd -set /dev/tcp tcp_xmit_hiwat 32768 ndd -set /dev/tcp tcp_recv_hiwat 32768 ndd -set /dev/tcp tcp_cwnd_max 65534 ndd -set /dev/tcp tcp_keepalive_interval 1800000 ndd -set /dev/tcp tcp_ip_abort_interval 60000 ndd -set /dev/tcp tcp_ip_abort_cinterval 60000 ndd -set /dev/tcp tcp_rexmit_interval_initial 3000 ndd -set /dev/tcp tcp_rexmit_interval_min 3000 ndd -set /dev/tcp tcp_rexmit_interval_max 10000 ndd -set /dev/tcp tcp_conn_grace_period 500 ndd -set /dev/tcp ip_ignore_redirect 1 ndd -set /dev/tcp tcp_slow_start_initial 2

3 X-windows 에서 해당 패키지를 다운 받아 압축을 풀고./runinstaller 를 실행

4 Installer 시작

5 대상 ( 이름, 경로 ) 지정

6 관리자 암호 지정 참고로 ID 는 “ias_admin” 입니다. ( 변경 불가 )

7 요약 확인후 설치

8 설치 (installation)

9 권한설정 스크립트 실행 (root.sh 를 root User 로 실행 )

10 root.sh 스크립트 실행 [www:/oracle/app/oracle/webcache_101202] # ls./ bin/ install.platform ldap/ oracore/ rdbms/ sysman/ upgrade/../ cfgtoollogs/ inventory/ lib/ oui/ relnotes/ tg4ifmx/ webcache/ Apache/ config/ jdbc/ lib32/ owm/ root.sh* tg4ingr/ xdk/ OPatch/ diagnostics/ jdk/ network/ perl/ slax/ tg4sybs/ README.htm hs/ jlib/ nls/ plsql/ sqlplus/ tg4tera/ assistants/ install/ jre/ oraInst.loc precomp/ srvm/ uix/ [www:/oracle/app/oracle/webcache_101202] #./root.sh Running Oracle10 root.sh script... The following environment variables are set as: ORACLE_OWNER= oraapp ORACLE_HOME= /oracle/app/oracle/webcache_101202 Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying dbhome to /usr/local/bin... The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying oraenv to /usr/local/bin... The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying coraenv to /usr/local/bin... Adding entry to /var/opt/oracle/oratab file... Entries will be added to the /var/opt/oracle/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed.

11 설치종료

12 참고 (ORACLE_HOME 을 환경변수에 따로 설정시 명령어 실행시 오류가 있을수 있습니다. webcachectl 명령으로 확인해 보시고 다음과 같은 에러가 날경우 파일 두개를 touch 명령으로 생성해 주시면 됩니다.) [www:CHUN] /oracle/app/oracle] $ id uid=1002(oraapp) gid=1001(dba) [www:CHUN] /oracle/app/oracle] $ webcachectl status /oracle/app/oracle/product/10.2.0/webcache/webcache.xml: No such file or directory Please make sure that ORACLE_HOME is set correctly. [www:CHUN] /oracle/app/oracle] $ mkdir -p /oracle/app/oracle/product/10.2.0/webcache [www:CHUN] /oracle/app/oracle] $ touch /oracle/app/oracle/product/10.2.0/webcache/webcache.xml [www:CHUN] /oracle/app/oracle] $ touch /oracle/app/oracle/product/10.2.0/webcache/internal.xml [www:CHUN] /oracle/app/oracle] $ webcachectl status Web Cache admin server is not running. Web Cache auto-restart monitor is not running. Web Cache cache server is not running. [www:CHUN] /oracle/app/oracle] $ ps -ef | grep ora root 15328 13682 0 18:52:08 pts/1 0:00 grep ora oraapp 15294 13710 0 18:50:56 pts/2 0:00 -ksh oraapp 15116 1 0 18:41:51 ? 0:01 /oracle/app/oracle/webcache_101202/webcache/bin/webcached -A oraapp 15118 1 0 18:41:51 ? 0:01 /oracle/app/oracle/webcache_101202/webcache/bin/webcached /oracle/app/oracle/we oraapp 15120 1 0 18:41:52 ? 0:00 /oracle/app/oracle/webcache_101202/webcache/bin/webcachemon config_file=/oracle

13 Oracle webcache Installation 과정은 모두 끝났습니다. http://webcache_Server_IP:9400 (Oracle WebCache Admin)http://webcache_Server_IP:9400 에서 ias_admin // ****** 으로 로그인후 사용하시면 됩니다.

14 1. WebCache admin Setting http://server-ip:9400/ 또는 http://server-ip:9400/webcacheadmin/http://server-ip:9400/webcacheadmin/ 으로 웹 로그인 합니다. (ias_admin // ******) ; 설치시 id // password 입니다. 가정 > WebCache 기본 포트는 7777  80 으로 서비스, Apache 웹서버 & Oc4j 기본 포트는 7778 ( 변경 없이 서비스 ), 서버 호스트 (hostname) 는 “www” 라고 가정하겠습니다.

15 Properties Network Timeouts Use this page to configure browser keep-alive and origin server response timeouts. Cache NameKeep-Alive Timeout (sec)Origin Server Timeout (sec) www-WebCache303600 Resource Limits Use this page to configure the maximum thresholds for cache size (memory usage), cached objects, and incoming connections. Cache NameMaximumCache Size (MB)Maximum Incoming Connections www-WebCache 500500 Ports Listen Ports Use this page to configure the ports on which Web Cache receives browser requests. Cache NameIP AddressPortProtocolClient-Side CertificateWallet www-WebCacheANY80HTTPN/AN/A

16 Origin Servers, Sites, and Load Balancing Origin Servers Use this page to configure application Web server or proxy server settings. These settings are required for load balancing, failover, and site-to-server mappings (Site-to-Server Mappings page).Site-to-Server Mappings HostPortRoutingCapacityFailover ThresholdPing URLPing Interval www7778ENABLE1505/10 Site Definitions Use this page to configure site definitions and aliases (virtual hosting). Site definitions enable Web Cache to apply different caching rules to different sites. Requests for different sites can also be routed to specific origin servers through Site-to-Server Mappings. Host NamePortURLPath www80 / Site-to-Server Mapping Use this page to map requests for sites defined in the Site Definitions page to origin servers configured in the Origin Servers page. Mappings are required for virtual host sites and are optional for ESI provider sites.Site Definitions page PriorityHost NamePortURL Path PrefixESI Content PolicyHost NamePort 1www 80/Unrestrictedwww 7778 2**Exclude Fragmentswww 7778 3*80Exclude Fragmentswww 7778


Download ppt "Oracle webcache Installation Guide - 기본 Setting & Tunning 포함 – Version : Webcache StandAlone 10.1.2.0.2 전자계산소 2007-01-23."

Similar presentations


Ads by Google