BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡

±Û¾´ÀÌ: hp HP-UX¿¡ °³¶óŬÀνºÅç Á¶È¸¼ö: 7881


* º» ¹®¼­´Â HP-UX 11.0 (64bit)¿¡¼­ Oracle 9i¸¦ ¼³Ä¡Çϱâ À§ÇÑ ¹Ù·Î Àü ´Ü°è±îÁö¸¦ ¼³¸íÇÑ ¹®¼­ÀÔ´Ï´Ù...

¼ÖÁ÷È÷ ¼³Ä¡ÇÏ´Â°Å¾ß GUIȯ°æÀ¸·Î ³ª¿À´Â °ÍÀ» ±×´ë·Î µû¶óÇÏ¸é µÇ´Â °ÍÀÌÁö¸¸ ±× ÀüÀÇ ´Ü°è°¡ ¼±ÇàµÇÁö ¾ÊÀ¸¸é
¼³Ä¡°¡ ³­°¨ÇÒ ¶§°¡ ÇѵιøÀÌ ¾Æ´Ò°Ì´Ï´Ù...

ÀÌ·± Áغñ °úÁ¤ÀÌ ÁغñµÇ¾î ÀÖ°í ºü¸£°Ô ³¡³­´Ù¸é ½ÇÁ¦ ¿À¶óŬ ¼³Ä¡¿¡ °É¸®´Â ½Ã°£Àº ¾ó¸¶ µÇÁö ¾ÊÀ» °Å¶ó°í »ý°¢µË´Ï´Ù..^^

Àúµµ ½ÇÁ¦ ¾Æ·¡ÀÇ ¹®¼­´ë·Î Çϱâ À§Çؼ­ 3ÀÏÀÌ °É·ÈÀ¸´Ï ¸¹ÀÌ °É¸°°ÅÁÒ...±× ¸¸Å­ÀÇ Áغñ°úÁ¤À» °ÅÃÆÀ¸´Ï±î¿ä...

´Ù¸¥ ºÐµéÀº Àú°°Àº °í»ýÇÏÁö ¸¶½Ã¶ó°í Á¤¸®Çؼ­ ¿Ã¸³´Ï´Ù. Âü°í°¡ µÇ¾úÀ¸¸ç ÁÁ°Ú±¸¿ä...Ȥ½Ã Ʋ¸° ºÎºÐÀÌ Àְųª ÇÏ¸é ´ñ±Û·Î ¿Ã·ÁÁּŵµ ¹«¹æÇÕ´Ï´Ù...^^

< HPUX 11.00(64bit)¿¡ Oracle 9i¸¦ ¼³Ä¡ÇÏ´Â µ¥ ÇÊ¿äÇÑ ÀüÁ¦ Á¶°Ç >

(1) Memory

- ÃÖ¼Ò 256MBÀÌ»óÀÇ ¸Þ¸ð¸® ÇÊ¿ä

# /usr/sbin/dmesg | grep "Physical"

- ÀÌ ¸í·É¾î·Î ÇöÀç ½Ã½ºÅÛ¿¡ ¼³Ä¡µÈ ¹°¸® ¸Þ¸ð¸®¸¦ È®ÀÎÇØ º¼¼ö ÀÖÀ½

(2) Swap Space

- ¹°¸® ¸Þ¸ð¸®ÀÇ µÎ¹è Á¤º¸À̰ųª Àû¾îµµ 400MBÀÌ»ó.

# /usr/sbin/swapinfo -a Ãß°¡ÇÒswap¿ë·®

(3) Disk Space

- Oracle ¼³Ä¡¸¦ À§Çؼ­´Â 2.5GÀÇ ¿ë·®ÀÌ ÇÊ¿äÇÏ°í DB¸¦ ¼³Ä¡Çϱâ À§ÇØ ´Ù½Ã 1G ÀÌ»óÀÌ ÇÊ¿ä
- ÃÑ 3.5GÀÌ»óÀÌ ÇÊ¿ä

(4) Temporary Disk Space

- /tmp¿¡ 400MB ÀÌ»óÀÌ ÇÊ¿ä
- ¸¸¾à /tmp¿¡ 400MB°¡ µÇÁö ¾ÊÀ¸¸é ´ÙÀ½°ú °°Àº ¹æ¹ýÀ¸·Î oracleÀ» À§ÇÑ tmp¸¦ Àâ¾ÆÁØ´Ù.

* Bourne/Korn Shell

# mkdir /u03/tmp
# TEMP=/u03/tmp; export TEMP
# TMPDIR=/u03/tmp; export TMPDIR


* C Shell

% mkdir /u03/tmp
% setenv TEMP/u03/tmp
% TMPDIR TMPDIR/u03/tmp

(5) HP-UX¿¡¼­ Oracle 9i´Â OS°¡ 64bitÀΠȯ°æ¿¡¼­¸¸ Áö¿øµÈ´Ù.

- OS°¡ 64bitÀÎ °æ¿ì¿¡´Â OracleÀÌ 32bit¿Í 64bit·Î ¼³Ä¡Çؼ­ »ç¿ëÀÌ °¡´ÉÇÏÁö¸¸ (HP 11.0 ¹öÀü ÀÌ»ó)
- OS°¡ 32bitÀÎ °æ¿ì Oracle 9iÀÇ ¼³Ä¡´Â ºÒ°¡´É.(HP-UX 10.X)

* ¸¸¾à OS°¡ 32bit¿¡¼­ OracleÀ» ¼³Ä¡ÇßÀ»½Ã ´ÙÀ½°ú °°Àº ¿¡·¯°¡ ¹ß»ý.

./oracle : Exec format error. Wrong Architecture.

* OSÀÇ Ä¿³ÎÀÌ 64bit ¸ðµåÀÎÁö È®ÀÎÇÏ´Â ¸í·É¾î

# /bin/getconf KERNEL_BITS

* ÇöÀç OSÀÇ ¹öÀüÁ¤º¸¸¦ º¸¿©ÁÖ´Â ¸í·É¾î

# uname -a

(6) OS Patch ¹öÀüÀÇ È®ÀÎ


HP-UX 11.0 (64 bit) Operating System Patches Status
------------------------------------------------------------------------------------
Dec 2000 patch bundle Required
------------------------------------------------------------------------------------
PHCO_23092 Required
------------------------------------------------------------------------------------
PHCO_23770 Required
------------------------------------------------------------------------------------
PHCO_23919 Required
(Required for Oracle Real Application Clusters and
Oracle Parallel Fail Safe)
------------------------------------------------------------------------------------
PHKL_23226 Required
------------------------------------------------------------------------------------
PHNE_23249 Required
(Note: refer to the special installation instructions to
install any additional required patches)
------------------------------------------------------------------------------------
PHSS_23377 until July 200l. Required
Patch PHSS_23377 is an interim patch. It is available
until July 2001 at the following FTP site:
ftp://hprc.external.hp.com/
(192.170.19.51) log in as jag42757, password winding5.
This patch will be supeseded by general release patch
PHSS_23440, which is available at the HP individual
patch site at the end of June, 2001.
------------------------------------------------------------------------------------
hyperfabric driver: 11.00.12 (HP-UX 11.0) Required only if your
system has an older
hyperfabric driver version

* ÇöÀç ¼³Ä¡µÈ ÆÐÄ¡¸¦ È®ÀÎÇÏ´Â ¹æ¹ý

# /usr/sbin/swlist -l patch

* Patch¹øÈ£¸¦ ÅëÇØ ¼³Ä¡µÈ ÆÐÄ¡¸¦ È®ÀÎÇÏ´Â ¹æ¹ý

# /usr/sbin/swlist -l patch patch_number

* ¾î¶² bundleÀÌ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎ

# /usr/sbin/swlist -l bundle



(7) JRE ¹öÀü È®ÀÎ

JRE : 1.1.8ÀÌ»ó

(8) JDK¹öÀü È®ÀÎ

JDK 1.2.2.05 ÀÌ»ó

# java -version


(9) Oracle 9i InstallÀ» À§ÇØ ÇØ¾ß ÇÒ Áß¿äÇÑ ÀÛ¾÷

- HP ¹ö±×·Î ÀÎÇؼ­ HP 11.00 64bit¹öÀü¿¡¼­ X-Library links¸¦ »ý¼ºÇÏÁö ¸øÇÔ.
- super-user°¡ ¼öµ¿À¸·Î ÀÌ ¸µÅ©¸¦ ´Ù½Ã °É¾îÁÖ¾î¾ß ÇÔ.

# cd /usr/lib
# ln -s /usr/lib/libX11.3 libX11.sl
# ln -s /usr/lib/libXIE.2 libXIE.sl
# ln -s /usr/lib/libXext.3 libXext.sl
# ln -s /usr/lib/libXhp11.3 libXhp11.sl
# ln -s /usr/lib/libXi.3 libXi.sl
# ln -s /usr/lib/libXm.4 libXm.sl
# ln -s /usr/lib/libXp.2 libXp.sl
# ln -s /usr/lib/libXt.3 libXt.sl
# ln -s /usr/lib/libXtst.2 libXtst.sl


(10) ShellÀ» ÅëÇÑ ÆÄÀÏ »çÀÌÁî Å©±âÀÇ ¼±Á¤

- ±âº»ÀûÀ¸·Î Oracle 9i´Â 2GÀÌ»óÀÇ ÆÄÀÏÀ» »ý¼ºÇÒ¼ö ÀÖÀ¸³ª OS´Â ±×·¸Áö ¸øÇÏ´Ù.
- OS°¡ 2GÀÌ»óÀÇ ÆÄÀÏÀ» »ý¼ºÇÒ¼ö ÀÖ°Ô Çϱâ À§Çؼ­´Â ´ÙÀ½ÀÇ ÀÛ¾÷ÀÌ ÇÊ¿äÇÏ´Ù.

# ulimit -f
--> unlimited

- °á°ú°¡ unlimited·Î ³ª¿À¸é »ó°ü¾øÁö¸¸ ±× ÀÌÇÏÀÇ °ªÀÌ ³ª¿Ã°æ¿ì Àç¼³Á¤À» ÇØÁÖ¾î¾ß ÇÑ´Ù.

ex) # ulimit -f
--> 2097148
À§ÀÇ °á°ú´ë·Î¶ó¸é OSÀÇ blockÀÇ Å©±â´Â 512byteÀ̹ǷΠ1GÅ©±âÀÇ ÆÄÀϸ¸ »ý¼º°¡´ÉÇÏ´Ù.

--> ulimit¸í·ÉÀ» »ç¿ëÇؼ­ ¼öÁ¤ÀÌ ÇÊ¿äÇÔ

(11) Review Kernel Parameter

- Oracle 9i´Â UnixÀÇ ¸®¼Ò½º¸¦ Shared Memory, swap memory, semaphores ÅëÇؼ­ »ç¿ë.
- Ä¿³Î ÆĶó¹ÌÅÍ ¼³Á¤ÀÌ ÃæºÐÇÏÁö ¸øÇϸé Oracle 9i¼³Ä¡½Ã ½Ã½ºÅÛ¿¡ ´Ù¿îµÇ´Â »óÅ°¡ µÈ´Ù.
- ÃæºÐÇÑ ÆĶó¹ÌÅÍ ¼³Á¤À» ÅëÇØ¾ß Oracle 9iÀÇ ¼³Ä¡°¡ °¡´ÉÇÏ´Ù.

´ÙÀ½ÀÇ ÀýÂ÷¸¦ ÅëÇؼ­ Kernel Parameter¸¦ ¼³Á¤ °¡´ÉÇÏ´Ù.

SAM -> Kernel Configuration -> Configurable Parameters

´ÙÀ½ÀÇ ¼öÄ¡¸¦ Oracle 9i¿¡ ¸Â°Ô ¼³Á¤ÇÑ´Ù.

-----------------------------------------------------------------------------------------
Kernel Parameter setting purpose
-----------------------------------------------------------------------------------------
KSI_ALLOC_MAX (NPROC * 8)

-----------------------------------------------------------------------------------------
MAXDSIZ 1073741824 bytes

-----------------------------------------------------------------------------------------
MAXDSIZ_64 2147483648 bytes

-----------------------------------------------------------------------------------------
MAXSSIZ 134217728 bytes
-----------------------------------------------------------------------------------------
MAXSSIZ_64BIT 1073741824
-----------------------------------------------------------------------------------------
MAXSWAPCHUNKS (available memory)/2
-----------------------------------------------------------------------------------------
MAXUPRC (NPROC + 2) Defines maximum number of user
processes.
------------------------------------------------------------------------------------------
MSGMAP (NPROC + 2) Defines the maximum number of
message map entries.
------------------------------------------------------------------------------------------
MSGMNI NPROC Defines the number of message queue
identifiers.
------------------------------------------------------------------------------------------
MSGSEG (NPROC * 4) Defines the number of segments
available for messages.
------------------------------------------------------------------------------------------
MSGTQL NPROC Defines the number of message headers.
------------------------------------------------------------------------------------------
NCALLOUT (NPROC + 16) Defines the maximum number of
pending timeouts.
------------------------------------------------------------------------------------------
NCSIZE ((8 * NPROC + 2048) + VX_NCSIZE)
Defines the Directory Name Lookup
Cache (DNLC) space needed for inodes.
VX_NCSIZE is by default 1024.
------------------------------------------------------------------------------------------
NFILE (15 * NPROC + 2048) Defines the maximum number of open
files.
------------------------------------------------------------------------------------------
NFLOCKS NPROC Defines the maximum number of files
locks available on the system.
------------------------------------------------------------------------------------------
NINODE (8 * NPROC + 2048) Defines the maximum number of open
inodes.
------------------------------------------------------------------------------------------
NKTHREAD (((NPROC * 7) / 4) + 16) Defines the maximum number of kernel
threads supported by the system.
------------------------------------------------------------------------------------------
NPROC 4096 Defines the maximum number of
processes.
------------------------------------------------------------------------------------------
SEMMAP ((NPROC * 2) + 2) Defines the maximum number of
semaphore map entries.
------------------------------------------------------------------------------------------
SEMMNI (NPROC * 2) Defines the maximum number of
semaphore sets in the entire system.
------------------------------------------------------------------------------------------
SEMMNS (NPROC * 2) * 2 Sets the number of semaphores in the
system. The default value of SEMMNS
is 128, which is, in most cases, too low
for Oracle9i software.
------------------------------------------------------------------------------------------
SEMMNU (NPROC - 4) Defines the number of semaphore undo
structures.
------------------------------------------------------------------------------------------
SEMVMX 32768 Defines the maximum value of a
semaphore.
------------------------------------------------------------------------------------------
SHMMAX Available physical memory Defines the maximum allowable size of
one shared memory segment.
The SHMMAX setting should be large
enough to hold the entire SGA in one
shared memory segment. A low setting
can cause creation of multiple shared
memory segments which may lead to
performance degradation.

SHMMNI 512 Defines the maximum number of shared
memory segments in the entire system.
SHMSEG 32 Defines the maximum number of shared
memory segments one process can attach.
VPS_CEILING 64 Defines the maximum System-Selected
Page Size in kilobytes.



(12) Oracle ¼³Ä¡¸¦ À§ÇÑ À¯Àú ¹× ±×·ì »ý¼º

- SAMÀ¸·Î »ý¼º

Oracle DBA Group : dba (id : 5000)
Oracle User : oracle (id : 501)

(13) OracleÀ¯ÀúÀÇ È¯°æº¯¼ö ¼³Á¤

´ÙÀ½°ú °°Àº ȯ°æ º¯¼öµéÀ» ¼³Á¤ÇØ¾ß ÇÑ´Ù. ÀÌ °ªµéÀº »ç¿ëÇÏ´Â ½© Á¾·ù¿¡ ¸Â°Ô
oracle °èÁ¤ÀÇ È¨ µð·ºÅ丮¿¡ ÀÖ´Â .profileÀ̳ª .cshrc µî¿¡ ±â·ÏÇϵµ·Ï ÇÑ´Ù.

ORACLE_HOME : ÇöÀç ¼³Ä¡ÇÏ°íÀÚ ÇÏ´Â ¹öÀüÀ» ÀúÀåÇÒ µð·ºÅ丮
LD_LIBRARY_PATH : ¿À¶óŬ Á¦Ç°À» »ç¿ëÇÒ ¶§ »ç¿ëµÇ´Â Shared LibraryµéÀÇ À§Ä¡ °æ·Î.

LD_LIBARARY_PATH°¡ $ORACLE_HOME/lib ¸¦ Æ÷ÇÔÇÏ°Ô ÁöÁ¤ÇÑ´Ù.

ORACLE_SID : Oracle ¼­¹ö ÀνºÅϽºÀÇ À̸§ÀÎ Oracle System Identifier(SID)¸¦ ÁöÁ¤ÇÑ´Ù.

PATH : ´ÙÀ½À» Æ÷ÇÔÇÏ°Ô ÇÑ´Ù.
$ORACLE_HOME/bin, /bin, /usr/bin

NLS_LANG : Oracle µ¥ÀÌÅͺ£À̽º¿Í °ü·ÃÇÏ¿© ¾ð¾î Á¾·ù¿Í ij¸¯ÅÍ ¼ÂÀ» ÁöÁ¤ÇÑ´Ù.

DISPLAY : Oracle Universal Installer °¡ ±¸µ¿Çϱâ À§Çؼ­ Servername name À̳ª
IP address ,X Server, ScreenÀ» ÁöÁ¤ÇÑ´Ù

ex) ȯ°æ º¯¼ö ¼³Á¤ ¿¹


´ÙÀ½Àº ȯ°æº¯¼ö ÆÄÀÏ¿¡ ¿À¶óŬ ¼³Ä¡ ¹× »ç¿ëÀ» À§ÇØ ¼³Á¤ÇÑ È¯°æº¯¼öµéÀÇ ¿¹ÀÌ´Ù.
ÀÚ½ÅÀÇ µð·ºÅ丮¿¡ ¸Â°Ô °íÃÄ´Ù ¾²ÀÚ.

## Environment variables for Oracle
export ORACLE_HOME=/oracle
export NLS_LANG=japanese_japan.ja16euc
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export ORACLE_SID=ORCL

##CLASSPATH must include the following JRE locations:
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib

export CLASSPATH


(14) CD-ROM ¸¶¿îÆ®

HP¿¡ Oracle¼³Ä¡½Ã Oracle CD°¡ iso±Ô°ÝÀ¸·Î µÇ¾î Àֱ⠶§¹®¿¡ ÀÏ¹Ý mount¸í·É¾î·Î´Â ¾ÈµÇ¸ç
´ÙÀ½°ú °°Àº ¹æ¹ýÀ¸·Î ¸¶¿îÆ®¸¦ ½Ç½ÃÇÑ´Ù.

root¿¡¼­ ´ÙÀ½°ú °°ÀÌ ¸¶¿îÆ® ½ÇÇà

# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &
# /usr/sbin/pfs_mount ?t rrip ?x unix /dev/dev/c0t0d0(CD·Òµð¹ÙÀ̽ºÀ̸§) /SD_CDROM


Oracle 1¹ø CDÀÇ ¼³Ä¡°¡ ³¡³ª°í ´ÙÀ½ CD·Î ±³Ã¼½Ã ´ÙÀ½°ú °°Àº ÀÛ¾÷À» ÇØ¾ß ÇÑ´Ù.

[ÁÖÀÇ] Oracle runInstaller ½ÇÇà ½Ã ¹Ýµå½Ã root(/) µð·ºÅ丮¿¡¼­ Àý´ë°æ·Î·Î ½ÇÇàÇÒ°Í
±×·¸Áö ¾ÊÀ¸¸é pfs_umountd·Î ¾ð¸¶¿îÆ®½Ã CD°¡ ºüÁöÁö ¾ÊÀ½

(15) Oracle Java runInstaller ½ÇÇà

# /SD_CDROM/runInstaller
¡¦¡¦..
¡¦¡¦..
¿À¶óŬ ÀÚ¹Ù ÀνºÅç·¯ ±âµ¿(OUI)...

°ü·Ã±Û : ¾øÀ½ ±Û¾´½Ã°£ : 2005/12/05 17:18 from 218.38.148.205

  HP-UX¿¡ °³¶óŬÀνºÅç[2] ¸ñ·Ïº¸±â »õ±Û ¾²±â Áö¿ì±â ÀÀ´ä±Û ¾²±â ±Û ¼öÁ¤ µ¥ÀÌŸº£À̽ºÂü°í»çÀÌÆ®  
BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡