µ¥ÀÌÅͺ£À̽ºÀÇ º¹ÀâÇÑ ÁÖ¼Ò, µ¥ÀÌÅͺ£À̽º
¸µÅ©, ±×¸®°í ³ëµåµéÀº ´Ù¾çÇÑ ¹æ¹ýµéÀ» »ç¿ëÇÏ¿© º¸´Ù °£´ÜÇÑ À̸§À» ºÎ¿©ÇÒ ¼ö ÀÖ½À´Ï´Ù. µ¥ÀÌÅͺ£À̽ºÀÇ À̸§À̳ª
µ¥ÀÌÅͺ£À̽º ¸µÅ© °°Àº ³×Æ®¿öÅ©
À̸§À̳ª ¼ºñ½º À̸§ÀÌ Á¢¼Ó ½ºÆ®¸µÀ» Æ÷ÇÔÇÏ´Â ÁÖ¼Ò·Î ÇØ°áµÇ´Â(resolve) ±â¹ýÀ» À̸§ ÇØ°á(name resolution)À̶ó°í ÇÕ´Ï´Ù.
¿À¶óŬÀº ´ÙÀ½ÀÇ ¹æ¹ýµé ÁßÀÇ Çϳª¸¦ »ç¿ëÇÏ¿© Á¢¼Ó ½ºÆ®¸µÀ» ÇØ°áÇÕ´Ï´Ù.
·ÎÄà À̸§ÁöÁ¤(Local Naming)
ÀÌ ¹æ¹ýÀº ¼ºñ½º À̸§À» ã±â À§Çؼ tnsnames.ora ÆÄÀÏÀ» »ç¿ëÇÕ´Ï´Ù.
È£½ºÆ® À̸§ÁöÁ¤(Host Naming)
ÀÌ ¹æ¹ýÀ» »ç¿ëÇÏ¸é ´õ ÀÌ»ó tnsnames.ora ÆÄÀÏÀ» ±¸¼ºÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. ´ë½Å¿¡, µ¥ÀÌÅͺ£À̽º°¡ ÀÖ´Â
±â°èÀÇ ½ÇÁ¦ À̸§Àº ¼ºñ½º¿¡ Á¢¼ÓÀ» ¼³Á¤Çϴµ¥ »ç¿ëµË´Ï´Ù.
¿ÜºÎ À̸§ÁöÁ¤(External Naming) ´Ù¾çÇÑ Á¦3ÀÇ À̸§ ÇØ°á ±â¹ýµéÀº ±âÁ¸ÀÇ ±â¹ýÀ» Á¦°ÅÇÏ°í ´Ù½Ã ½ÃÀÛÇÒ ÇÊ¿ä¾øÀÌ ¿À¶óŬ·Î ÅëÇÕÇÒ ¼ö
ÀÖ½À´Ï´Ù.
Oracle Names¸¦ »ç¿ëÇÑ ÁýÁßÈµÈ À̸§ÁöÁ¤(Centralized
Naming)
ÀÌ ¹æ¹ýÀº ³×Æ®¿öÅ© ¼ºñ½º ÁÖ¼ÒµéÀÇ Áß¾Ó ±â¾ïÀåÄ¡¸¦ À¯ÁöÇÏ´Â À̸§ ¼ºñ½º(name service)ÀÎ
Oracle Names¸¦ »ç¿ëÇÕ´Ï´Ù. |
Oracle Names
Names ¼¹ö´Â ¼ºñ½º À̸§À» ³×Æ®¿öÅ© ÁÖ¼Ò·Î ¹ø¿ªÇÏ¿© ¼ºñ½º¿¡ Á¢¼ÓÇÒ Å¬¶óÀ̾ðÆ®ÀÇ ¿äûÀ»
ÇØ°áÇÕ´Ï´Ù.
¼ºñ½º À̸§ ÇØ°á(Service Name Resolution)ÀÇ ´Ü°è
À§ÀÇ ±×¸²¿¡¼ Ŭ¶óÀ̾ðÆ®´Â ¼¹ö¿¡ Á¢¼ÓÀ» ½ÃµµÇÏ°í
ÀÖ½À´Ï´Ù. Ŭ¶óÀ̾ðÆ®
¾ÖÇø® ÄÉÀ̼ÇÀº Á¢¼ÓÀ» ½ÃµµÇϱâ À§Çؼ ¼ºñ½º À̸§À» »ç¿ëÇÕ´Ï´Ù. Ŭ¶óÀ̾ðÆ®´Â ¼ºñ½º À̸§À» ÇØ°áÇϱâ À§Çؼ Names ¼¹ö¸¦ »ç¿ëÇϵµ·Ï ±¸¼ºµÇ¾î ÀÖ½À´Ï´Ù. ´ÙÀ½ÀÇ
´Ü°èµéÀº ¼ºñ½º À̸§ÀÌ ÇØ°áµÇ°í, Á¢¼ÓÀÌ ¼³Á¤µÇ´Â ¹æ¹ýÀ» ¼³¸íÇÕ´Ï´Ù.
1 Net8Àº ¼ºñ½ºÀÇ À̸§À» ÇØ°áÇϱâ À§Çؼ ÀûÀýÇÑ
Names ¼¹ö¿¡°Ô ¿äûÀ» Àü´ÞÇÕ´Ï´Ù. 2 Names ¼¹ö´Â ¿äûÀ» ¼ö½ÅÇÏ°í, ij½¬¿¡¼ ±×°ÍÀ» ã¾Æ¼ °á°ú¸¦
Ŭ¶óÀ̾ðÆ®¿¡ ´Ù½Ã Àü¼ÛÇÕ´Ï´Ù. 3 Ŭ¶óÀ̾ðÆ®´Â ¿äûÀ» ¼ö½ÅÇÏ°í ¼ºñ½º
À̸§ÀÇ Á¤È®ÇÑ Àå¼Ò¿¡ TNS ÁÖ¼Ò¸¦ ´ëü ÇÕ´Ï´Ù. 4 Ŭ¶óÀ̾ðÆ®´Â ¼¹ö¸¦ Á¢ÃËÇÏ¿© Net8
Ŭ¶óÀ̾ðÆ®-¼¹ö Á¢¼ÓÀ»
¼³Á¤ÇÕ´Ï´Ù. |
·ÎÄà À̸§ÁöÁ¤À¸·Î ÇØ°á(Resolution with Local Naming)
³×Æ®¿öÅ© »ó¿¡ ¾à°£ÀÇ ³ëµåµéÀÌ ÀÖÀ» °æ¿ì, ȯ°æÀÇ º¯°æÀ» °ü¸®ÇÏ´Â °ÍÀº ¾î·Á¿î ÀÛ¾÷Àº ¾Æ´Õ´Ï´Ù. °¢°¢ÀÇ ³ëµå´Â
ÀÚ½ÅÀÇ tnsnames.ora ÆÄÀÏÀ» °¡Áö°í ÀÖÀ» °ÍÀ̸ç, º¯°æ»çÇ×µéÀº ³ëµåµé °£¿¡ º¹Á¦µÉ °ÍÀÔ´Ï´Ù.
ºÐ»ê ȯ°æ¿¡¼ÀÇ ·ÎÄà À̸§ÁöÁ¤(Local Naming) »ç¿ëÀÇ ´ÜÁ¡
tnsnames.ora ÆÄÀÏÀÌ ´ë¿ë·® ºÐ»ê ȯ°æ¿¡¼ »ç¿ëµÉ °æ¿ì, ¸¹Àº ¹®Á¦µéÀÌ
³ªÅ¸³³´Ï´Ù.
- º¯°æ»çÇ×µéÀº ³×Æ®¿öÅ© ³ëµåµé °£¿¡ È¿À²ÀûÀ¸·Î ÀüÆĵǾî¾ß ÇÕ´Ï´Ù.
- tnsmames.ora ÆÄÀÏ ³»¿ëÀÇ Á¤È®¼ºÀÌ À¯ÁöµÇ¾î¾ß ÇÕ´Ï´Ù.
- ±Þ¼ÓÇÑ º¯°æÀÌ ¹ß»ýÇÒ ¶§ Ãß°¡ÀûÀÎ °ü¸® ½Ã°£ ¹× ¸®¼Ò½ºµéÀÌ ¿ä±¸µË´Ï´Ù.
- ÀÏ°ü¼ºÀº ¸ðµç ³ëµåµé »çÀÌ¿¡¼ À¯ÁöµÇ¾î¾ß ÇÕ´Ï´Ù.
·ÎÄà À̸§ÁöÁ¤(Local Naming) »ç¿ëÀÇ ´ÜÁ¡
ÀÌ ¼ºñ½º´Â ¿ÀÁ÷
´ÙÀ½ÀÌ ÂüÀÏ °æ¿ì¿¡¸¸ ÀÌ¿ë°¡´É ÇÕ´Ï´Ù.
- TCP/IP ÇÁ·ÎÅäÄÝÀº Ŭ¶óÀ̾ðÆ®¿Í ¼¹ö »çÀÌÀÇ Á¢¼Ó¿¡ »ç¿ëÇÕ´Ï´Ù.
- Áß¾Ó È£½ºÆ® ÆÄÀÏÀÎ DNS(Domain Name Server)³ª NIS(Network Information Services) ¼¹ö°¡
Á¸ÀçÇÕ´Ï´Ù.
- Connection Manager ¼ºñ½ºµéÀÌ ¿ä±¸µÇÁö
¾Ê½À´Ï´Ù.
ÁýÁßÈµÈ À̸§ÁöÁ¤À¸·Î ÇØ°á(Resolution with Centralized Naming)
Áß´ëÇÑ ¾÷¹« ¸ñÇ¥ ´Þ¼ºÀÇ ¼ö´ÜÀ¸·Î½á Ŭ¶óÀ̾ðÆ® ±â¹Ý°ú ¼¹ö ±â¹ÝÀ» ±¸ÇöÇÒ ¶§ °¡Àå Å« ¹®Á¦´Â ÄÄÇ»Æà ȯ°æÀÌ Á¤ÀûÀÏ ¶§
¹ß»ýÇÕ´Ï´Ù.
ÁýÁßÈµÈ À̸§ÁöÁ¤(Centralized Naming) ±â¼úÀº ³×Æ®¿öÅ©¿Í °ü·ÃµÈ °ü¸® ºÎ´ãÀ» »ó´çÈ÷
ÁÙ¿©ÁÝ´Ï´Ù.
ÁýÁßÈµÈ À̸§ÁöÁ¤(Centralized Naming) »ç¿ëÀÇ
ÀåÁ¡
Names ¼¹ö¸¦ »ç¿ëÇÏ¸é ´ÙÀ½°ú °°Àº ÀåÁ¡ÀÌ ÀÖ½À´Ï´Ù:
- °ü¸® ÀÛ¾÷ÀÌ °£´ÜÇÕ´Ï´Ù.
- °ü¸®ÀÚ°¡ ¼¹öÀÇ À̸§°ú ±×µéÀÇ À§Ä¡¸¦ ¿ÀÁ÷ Çѹø¸¸
Á¤ÀÇÇØÁÖ¸é ¸ðµç
Ŭ¶óÀ̾ðÆ®µéÀÌ ±×µéÀ» ¾×¼¼½ºÇÒ ¼ö ÀÖ½À´Ï´Ù.
- È¿À²¼ºÀ» Çâ»ó½Ãŵ´Ï´Ù.
- ¼¹ö ÁÖ¼Ò´Â Oracle Names ¼¹ö ³ëµå·Î
ÁöÁ¤µÈ Çϳª ÀÌ»óÀÇ ±â°è¿¡
ÀúÀåµÇ¸ç, ¸ðµç ³ëµå¿¡ ÀÌ·¯ÇÑ ÁÖ¼Ò¸¦ ÀúÀåÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù.
- Áߺ¹ ÀÛ¾÷À» ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù.
- ¼¹ö ÁÖ¼Ò¸¦ ÇÑ °÷¿¡¼ º¯°æÀ» ÇÏ¸é ¸ðµç Ŭ¶óÀ̾ðÆ®µéÀÌ Áï½Ã »õ·Î¿î
ÁÖ¼Ò¸¦
¾×¼¼½ºÇÒ ¼ö ÀÖ½À´Ï´Ù.
- À§Ä¡ Åõ¸í¼º(Location Transparency)À» ¿ëÀÌÇÏ°Ô ÇÕ´Ï´Ù.
- Names
¼¹ö¸¦ »ç¿ëÇÏ¸é ¼¹ö À§Ä¡¿¡ ´ëÇØ »ó¡ÀûÀÎ ¼ºñ½º À̸§(Oracle
Names¿¡ ÀúÀåµÈ ) À» Ŭ¶óÀ̾ðÆ®°¡ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï
ÇÏ¿© ¼¹ö À§Ä¡
Åõ¸í¼ºÀ» ¿ëÀÌÇÏ°Ô ÇÕ´Ï´Ù.
Names server »ý¼º ¹× ±¸¼º(Region database ¾ÈµÊ)
1 Net8 Assistant¿¡¼
Oracle Names servers ¾ÆÀÌÄÜÀ» Ŭ¸¯ÇÕ´Ï´Ù. 2 Edit ¸Þ´º Ç׸ñ¿¡¼ Create¸¦
¼±ÅÃÇÕ´Ï´Ù. ÀÌ°ÍÀº Names serverÀÇ ±¸¼º ÀýÂ÷¸¦ ´Ü°èÀûÀ¸·Î ÇÏ´Â µ¥¿¡ »ç¿ëµÇ´Â ÅøÀÎ Names
Wizard¸¦ ½ÃÀÛÇÕ´Ï´Ù. 3 Names WizardÀÇ ¸í·É ´Ü°è¿¡ µû¶ó Next¸¦
Ŭ¸¯ÇÕ´Ï´Ù. 4 Names server¿¡ ´ëÇÑ À̸§À» ÀÔ·ÂÇÕ´Ï´Ù. ÇÊ¿äÇÒ °æ¿ì Names serverÀÇ À̸§À¸·Î
µµ¸ÞÀÎ
À̸§À» ºÙÀÔ´Ï´Ù. 5 ÇÁ·ÎÅäÄÝÀ» ¼±ÅÃÇÏ°í, Names server°¡ ÀÖÀ» ³ëµåÀÇ À̸§°ú µé¾î¿À´Â ÇØ°á ¿ä±¸
(incoming resolution request)µéÀ» ¹Þ¾ÆµéÀÏ Æ÷Æ®¸¦ ÀÔ·ÂÇÕ´Ï´Ù. 6 Names
WizardÀÇ ¸í·É ´Ü°è¿¡ µû¶ó Next¸¦ Ŭ¸¯ÇÕ´Ï´Ù. 7 'Don¡¯t use a region database' ¿É¼Ç ¹öÆ°À»
Ŭ¸¯ÇÑ ´ÙÀ½¿¡ Next¸¦ Ŭ¸¯ÇÕ´Ï´Ù. |
RegionÀÇ Ã¹¹ø° Names server
1 ¸¸¾à ÀÌ°ÍÀÌ
Region¿¡ Àִ ù¹ø° Names serverÀ̸é, ¡®Names server is first in its region¡¯ ¿É¼Ç
¹öÆ°À» ¼±ÅÃÇÏ°í Next ¹öÆ°À» Ŭ¸¯ÇÕ´Ï´Ù. ¸¸¾à ÀÌ°ÍÀÌ ³×Æ®¿öÅ©¿¡ Àִ ù¹ø° Names serverÀ̸é, regionÀº
¿©·¯ºÐÀÇ ·çÆ® ¿µ¿ªÀÔ´Ï´Ù. 2 Names server°¡ ·çÆ® ¿µ¿ª¿¡ ÀÖ´Ù´Â °ÍÀ» ÀνÄÇÏ·Á¸é Yes ¿É¼Ç ¹öÆ°À»
¼±Åà ÇÕ´Ï´Ù. 3 Names serverÀÇ ±âº»ÀûÀÎ ±¸¼ºÀ» ¿Ï·áÇÏ·Á¸é Finish ¹öÆ°À»
Ŭ¸¯ÇÕ´Ï´Ù. Names.ora ÆÄÀÏÀÌ ÀÌ ½ÃÁ¡¿¡¼ µðÆúÆ® ÆĶó¹ÌÅÍ·Î½á »ý¼ºµË´Ï´Ù.
4 Tool ¸Þ´º
Ç׸ñÀ» Ŭ¸¯ÇÏ°í ¡®Discover Oracle Names server¡¯¸¦ ¼±ÅÃÇÕ´Ï´Ù.
RegionÀÇ Ã¹¹ø°°¡ ¾Æ´Ñ Names
server
1 ¸¸¾à ÀÌ°ÍÀÌ Region¿¡ Àִ ù¹ø° Names server°¡ ¾Æ´Ï¶ó¸é, ¡®Names server
is not first in its region¡¯ ¿É¼Ç ¹öÆ°À» ¼±ÅÃÇÏ°í Next ¹öÆ°À» Ŭ¸¯ÇÕ´Ï´Ù. 2 ¸¸¾à
Region¿¡ Àß ¾Ë·ÁÁø Names server°¡ ÀÖÀ¸¸é, region¿¡ ÀÖ´Â ¡®Discover Names server¡¯¸¦
¼±ÅÃÇÕ´Ï´Ù. ÀÌ ´Ü°è´Â region¿¡ ÀÖ´Â ¼·Î ´Ù¸¥ À¯¸íÇÑ Names server¸¦ ãÀ¸·Á°í ½ÃµµÇϱ⠶§¹®¿¡
¾à°£ÀÇ ½Ã°£ÀÌ ¼Ò¿äµË´Ï´Ù. 3 Region¿¡ ÀÖ´Â ±âÁ¸ÀÇ Names server¸¦ ¸í½ÃÇϱâ À§Çؼ ¡®Specify one
name server in the region¡¯¿É¼Ç ¹öÆ°À» ¼±ÅÃÇÏ°í, Next¸¦ Ŭ¸¯ÇÕ´Ï´Ù. 4 ÇÁ·ÎÅäÄÝÀ»
¼±ÅÃÇÏ°í, Region¿¡ ÀÖ´Â ±âÁ¸ÀÇ Names serverÀÇ È£½ºÆ®À̸§°ú Æ÷Æ® ¹øÈ£¸¦ ÀÔ·ÂÇÕ´Ï´Ù. ÀÌ ´Ü°è´Â
region¿¡ ÀÖ´Â ±âÁ¸ÀÇ Names server¿¡ Á¢¼ÓÇÏ·Á°í ½ÃµµÇϱ⠶§¹®¿¡ ¾à°£ÀÇ
½Ã°£ÀÌ ¼Ò¿äµË´Ï´Ù. 5 ¸Þ½ÃÁö°¡ ´Ù¸¥ Names server°¡ ¹ß°ßµÇ¾ú´Ù°í ³ªÅ¸³¯ ¶§, OK ¹öÆ°À»
Ŭ¸¯ÇÕ´Ï´Ù. 6 Names server°¡ ·çÆ® ¿µ¿ª¿¡ ÀÖ´Ù´Â °ÍÀ» ÀνÄÇÏ·Á¸é Yes ¿É¼Ç ¹öÆ°À»
¼±ÅÃÇÏ°í, ±×·¸Áö ¾ÊÀ¸¸é No¸¦ ¼±ÅÃÇÏ°í Names WizardÀÇ ¸í·ÉÀ» µû¸¨´Ï´Ù. 7 Names
serverÀÇ ±âº»ÀûÀÎ ±¸¼ºÀ» ¿Ï·áÇÏ·Á¸é Finish ¹öÆ°À» Ŭ¸¯ÇÕ´Ï´Ù.
Names.ora ÆÄÀÏÀÌ ÀÌ ½ÃÁ¡¿¡¼ µðÆúÆ®
ÆĶó¹ÌÅÍ·Î½á »ý¼ºµË´Ï´Ù.
8 Tool ¸Þ´º Ç׸ñÀ» Ŭ¸¯ÇÏ°í 'Discover Oracle Names servers'¸¦
¼±ÅÃÇÕ´Ï´Ù. | |
NAMES.ORA ÆÄÀÏÀÇ ³»¿ë º¸±â
1 ±¸¼º ÆÄÀÏÀ» Æ÷ÇÔÇÏ´Â µð·ºÅ丮¿¡ ÀÖ´Â names.ora ÆÄÀÏÀ»
°Ë»öÇÕ´Ï´Ù. NT ¿î¿µÃ¼Á¦¿¡¼ ÀÌ µð·ºÅ丮´Â $ORACLE_HOME\net80\adminÀ̸ç, UNIX ¿¡¼´Â
$ORACLE_HOME\network\adminÀÔ´Ï´Ù. 2 ÀÌÁ¦ ÆÄÀÏÀº »õ·Ó°Ô »ý¼ºµÈ Names server¿¡ ´ëÇÑ »õ·Î¿î Á¤º¸¸¦
¹Ý¿µÇÕ´Ï´Ù. |
³×ÀÓÁî ¼¹ö¿¡ ÀúÀåµÈ ³»¿ëÀº ³×ÀÓÁî ¼¹ö°¡ Á¾·áµÉ¶§ ¸Þ¸ð¸®·Î ºÎÅÍ µð½ºÅ©»óÀÇ ÆÄÀÏ·Î ÀúÀåµË´Ï´Ù. À̶§ ¸Þ¸ð¸®ÀÇ ³»¿ëÀÌ µð½ºÅ©·Î ¾²¿©Áú¶§ »ý¼ºµÇ´Â
ÆÄÀÏÀº ckpreg.oraÆÄÀÏÀÔ´Ï´Ù. "¿À¶óŬ Ȩ/network/names/ckpreg.ora"¿¡ »ý¼ºµË´Ï´Ù. ÆÄÀϸíÀ̳ª À§Ä¡¸¦ º¯°æÇÏ½Ç ¼ö´Â
¾ø½À´Ï´Ù.
´ÙÀ½ÀÌ ¿À¶óŬ Ȩ/network/names/ckpreg.oraÆÄÀÏÀÇ ¿¹ÀÔ´Ï´Ù.
#c:\Oracle\Ora81\network\names\chkpreg.ora
# THIS FILE IS AUTOMATICALLY GENERATED BY THE NAME SERVER AS PART OF ITS
# NORMAL OPERATION. IF YOU EDIT THIS FILE, YOUR CHANGES WILL BE OVERWRITTEN
# BY THE NAME SERVER WITHOUT WARNING.
#
# Generation date: 10-JUL-00 14:15:18
# Server version banner: Oracle Names for Solaris: Version 8.1.5.0.0 - Pr
oduction
#
. = (DATA_LIST=(FLAGS=0x11)
(DATA=(TYPE=ns.smd.)(NAME=names1.) )
)
test1. = (DATA_LIST=(FLAGS=0x1)(TTL=86400)
(DATA=(TYPE=a.smd.)(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXX.XXX.XXX)(PORT=80xx))(CONNECT_DATA=(SID=UXXX))) ) )
Service Name Ãß°¡
1 Ç®-´Ù¿î ¸Þ´º¿¡¼ Manage Data¸¦ ¼±ÅÃÇÕ´Ï´Ù. 2 Add
¹öÆ°À» Ŭ¸¯ÇÕ´Ï´Ù. 3 ÀÌ Names serverÀÇ ÀûÀýÇÑ Çʵ忡 ¼ºñ½º À̸§, È£½ºÆ®À̸§, ±×¸®°í Æ÷Æ®¸¦ ÀÔ·Â
ÇÕ´Ï´Ù.
ÁÖ: ¿©±â¿¡ ¼ºñ½º À̸§¿¡ ´ëÇØ Ãß°¡µÈ Á¤º¸´Â ¼ºñ½º À̸§À» Ãß°¡ÇÏ´Â ¹æ¹ý¿¡ ´ëÇÑ ¿¹ÀÔ´Ï´Ù.
¾î¶² ´Ù¸¥ ¼ºñ½º À̸§°ú ÇÊ¿äÇÒ °æ¿ì ±×µéÀÇ ±¸¼º µ¥ÀÌÅ͸¦ Ãß°¡ ÇÕ´Ï´Ù.
4 SID,
Protocol, Server Type °ªÀÌ ¿Ã¹Ù¸¥Áö¸¦ °ËÁõÇÕ´Ï´Ù. 5 Execute¸¦
Ŭ¸¯ÇÕ´Ï´Ù. ÁÖ: ¼ºñ½º À̸§ÀÌ Names server¿¡ Ãß°¡µÉ ¶§ ±¸¼º(Configuration)À» ÀúÀåÇϰųª,
¶Ç´Â Names server¸¦ Àç½ÃÀÛÇÒ ÇÊ¿ä´Â ¾ø½À´Ï´Ù.ÀÌ·¯ÇÑ º¯°æ»çÇ×µéÀºExecute ¹öÆ°ÀÌ
Ŭ¸¯µÉ ¶§ µ¿ÀûÀ¸·Î ±â·ÏµË´Ï´Ù.
6 ÇÊ¿äÇÒ °æ¿ì ¼ºñ½º À̸§µéÀ» ´õ
Ãß°¡ÇÕ´Ï´Ù. |
NT¿¡¼ Names server »èÁ¦
1 Names
server¸¦ Á¾·áÇÕ´Ï´Ù. 2 »èÁ¦ÇÒ Names server¸¦ Ŭ¸¯ÇÕ´Ï´Ù. 3 Edit ¸Þ´º Ç׸ñÀ» Ŭ¸¯ÇÏ°í
Delete¸¦ ¼±ÅÃÇÕ´Ï´Ù. 4 $ORACLE_HOME\net80\admin\names.ora ÆÄÀÏÀ»
»èÁ¦ÇÕ´Ï´Ù. 5 $ORACLE_HOME\net80\names\chp*.* ÆÄÀÏÀ» »èÁ¦ÇÕ´Ï´Ù. 6 ³×Æ®¿öÅ© ±¸¼ºÀ»
ÀúÀåÇÕ´Ï´Ù. 7 Net8 Assistant¸¦ Àç½ÃÀÛÇÕ´Ï´Ù.
| |
Naming Method ¼±ÅÃ
1 Net8 Assistant¸¦ ½ÃÀÛÇÕ´Ï´Ù. 2 Profile ¾ÆÀÌÄÜÀ»
Ŭ¸¯ÇÕ´Ï´Ù. 3 ¼±ÅÃµÈ Method¿¡ ONAMES¸¦ Ãß°¡ÇÕ´Ï´Ù.
ÁÖ
Ŭ¶óÀ̾ðÆ® ÇÁ·ÎÆÄÀÏ(sqlnet.ora ÆÄÀÏ)¿¡¼, naming method¸¦ ¸í½ÃÇϱâ À§Çؼ »ç¿ë
µÇ´Â ÆĶó¹ÌÅÍ´Â NAMES.DIRECTORY_PATHÀÔ´Ï´Ù. |
Optional Names Parameters ±¸¼º
1 Oracle Names ÅÇÀ»
Ŭ¸¯ÇÕ´Ï´Ù.
2 Oracle.com °°Àº µµ¸ÞÀÎ ÁÖ¼Ò(my_domain.com)¸¦ ÀÔ·ÂÇÕ´Ï´Ù.
ÁÖ: UNIX¿¡¼ µµ¸ÞÀÎÀº NULL(°ø¹é)·Î
¼³Á¤µÇ¸ç,NT¿¡¼´Â WORLD·Î ¼³Á¤ÇÕ´Ï´Ù.
3 ÇÊ¿äÇÒ °æ¿ì ´Ù¸¥ optional Names client profile
parameter¸¦ ±¸¼ºÇÕ´Ï´Ù.
Optional Names Client Profile
Parameters
- NAME.DEFAULT_DOMAIN
ÀÌ°ÍÀº ·ÎÄà µµ¸ÞÀÎÀÔ´Ï´Ù. ¸¸¾à ¼³Á¤Çß´Ù¸é, ÀÌ
À̸§Àº Names server ¿äû¿¡¼ ¾î¶² ÀûÀýÇÏÁö ¾ÊÀº À̸§¿¡ ÀÚµ¿ÀûÀ¸·Î Ãß°¡µÉ °ÍÀÔ´Ï´Ù.
- NAMES.INITIAL_PETRY_TIMEOUT
Ŭ¶óÀ̾ðÆ®°¡ ¿äûÀ» ´Ù¸¥ Names
server·Î Àü¼ÛÇϱâ Àü¿¡ Names server·ÎºÎÅÍ ÀÀ´äÀ» ±â´Ù¸®´Â Ƚ¼öÀÔ´Ï´Ù. µðÆúÆ®´Â 15ÃÊÀÔ´Ï´Ù.
- NAMES.MAX_OPEN_CONNECTIONS
Names server Á¢¼Ó °³¼ö´Â Çѹø¿¡
¿ÀÇÂÇÒ Á¢¼ÓÀÇ ¼öÀÔ´Ï´Ù. ÀÌ ÆĶó¹ÌÅÍÀÇ µðÆúÆ®´Â 10°³ÀÔ´Ï´Ù.
- NAMES.MESSAGE_POOL_START_SIZE
Ŭ¶óÀ̾ðÆ®ÀÇ ¸Þ½ÃÁö Ç®¿¡ ÀÖ´Â ¸Þ½ÃÁöÀÇ
°³¼öÀÔ´Ï´Ù. ÀÌ·¯ÇÑ ¸Þ½ÃÁöµéÀº ¾ÕÀ¸·Î Names server ¿¡ ¿äûÇϱâ À§Çؼ »ç¿ëµË´Ï´Ù. µðÆúÆ®·Î Ç®Àº 10°³ÀÇ ¸Þ½ÃÁö¸¦
¼³Á¤ÇÕ´Ï´Ù.
- NAMES.REQUEST_RETRIES
Ŭ¶óÀ̾ðÆ®´Â Á¢¼ÓÀÌ ½ÇÆÐÇϵµ·Ï Çϱâ Àü¿¡
Names server¿¡ Á¢¼ÓÀ» ½ÃµµÇϴ Ƚ¼öÀÔ´Ï´Ù.
-
Preferred Names servers ¸í½Ã
1 Profile Ç®-´Ù¿î ¸Þ´º¿¡¼ Preferred Oracle
Names servers¸¦ ¼±ÅÃÇÕ´Ï´Ù.
2 ÀûÀýÇÑ ÇÁ·ÎÅäÄÝÀ» ¼±ÅÃÇÕ´Ï´Ù.
3 Preferred Names
serverÀÇ È£½ºÆ®À̸§À» ÀÔ·ÂÇÕ´Ï´Ù.
4 Names server°¡ µé¾î¿À´Â ¿ä±¸¿¡ ´ëÇØ ¸®½¼(listen)ÇÒ Æ÷Æ® ¹øÈ£¸¦
ÀÔ·ÂÇÕ´Ï´Ù.
5 Ãß°¡ÀûÀÎ Names server¸¦ Ãß°¡ÇÕ´Ï´Ù.
6 File ¸Þ´º Ç׸ñ¿¡¼ ³×Æ®¿öÅ© ±¸¼ºÀ»
ÀúÀåÇÕ´Ï´Ù.
Names server ¹ß°ß
³×Æ®¿öÅ© »óÀÇ Å¬¶óÀ̾ðÆ®¿Í ¼¹ö´Â Names Control À¯Æ¿¸®Æ¼(NAMESCTL)¸¦ »ç¿ë ÇÏ¿©
REORDER_NS ¸í·ÉÀÌ È°¼ºÈµÉ ¶§ ³×Æ®¿öÅ© »ó¿¡¼ Names server ¸¦ ¹ß°ß ÇÕ´Ï´Ù. ÀÌ ¸í·ÉÀÌ È°¼ºÈµÉ ¶§, ´ÙÀ½ÀÇ ÀϵéÀÌ
ÀϾ´Ï´Ù.
1 Names server´Â ´ÙÀ½¿¡¼ ¸í½ÃµÈ ÁÖ¼Ò¸¦ »ç¿ëÇÏ¿© Á¢Ã˵˴ϴÙ.
- ¸í·É¾î
ÀÚü
- ·ÎÄà ÆĶó¹ÌÅÍ¿¡ ÀÖ´Â preferred Names server parameter(sqlnet.ora
ÆÄÀÏ)
- ±âÁ¸ÀÇ Names server ¸ñ·Ï
- Àß ¾Ë·ÁÁø Names
server
2 Names server°¡ ¹ß°ßµÇ¸é, NAMESCTLÀº ·ÎÄà ¿µ¿ª¿¡ ÀÖ´Â ¸ðµç Names server
¿¡ ´ëÇÑ ÁúÀǸ¦ Àü¼ÛÇÕ´Ï´Ù.
3 ±×·± ´ÙÀ½¿¡ PING ¸í·ÉÀº °¢°¢ÀÇ Names server¿¡ ´ëÇØ ÀÀ´äÇÒ ½Ã°£À»
°áÁ¤Çϱâ À§Çؼ ÀÌ·¯ÇÑ ¼¹öµé °¢°¢¿¡ Àü¼ÛÇÕ´Ï´Ù.
4 Names serverÀÇ ¸ñ·ÏÀº ÀÀ´ä½Ã°£¿¡ ´ëÇؼ ¿À¸§Â÷¼ø
Á¤·ÄµÇ¾î ÀÖ½À´Ï´Ù.
5 ±âÁ¸ÀÇ ¸ñ·ÏÀº Á¤·ÄµÈ Names server ¸ñ·Ï¿¡ ÀÇÇØ
´ëüµË´Ï´Ù. Names server
¸ñ·ÏÀÌ Á¸ÀçÇÏÁö ¾Ê´Â´Ù¸é »õ·Î »ý¼ºµË´Ï´Ù.
Ŭ¶óÀ̾ðÆ®Ãø ij½¬
Ŭ¶óÀ̾ðÆ® ij½¬ µ¥¸óÀº ·ÎÄà ij½¬¿¡¼ Names server·ÎºÎÅÍ °Ë»öµÈ Á¤º¸¸¦ ÀúÀåÇϱâ À§Çؼ
´ëºÎºÐÀÇ Ç÷§Æû »ó¿¡¼ Ŭ¶óÀ̾ðÆ®¸¦
È°¼ºÈÇÏ´Â Names server ¿Í ÇÔ²² ÀνºÅçµË´Ï´Ù.
1 Ŭ¶óÀ̾ðÆ®°¡ ¼¹ö¿¡ Á¢¼ÓÇÒ ¶§, ¼¹öÀÇ
ÁÖ¼Ò Á¤º¸´Â ·ÎÄà Ŭ¶óÀ̾ðÆ®
ij½¬¿¡ ÀúÀåµË´Ï´Ù. 2 ¿¬¼ÓÀûÀÎ Á¢¼Ó ¿ä±¸°¡ µ¿ÀÏÇÑ ¼¹ö¿¡ »ý±æ ¶§, Ŭ¶óÀ̾ðÆ®´Â ÁÖ¼Ò Á¤º¸¿¡
´ëÇؼ ·ÎÄà ij½¬¸¦ °Ë»çÇÕ´Ï´Ù. 3 Á¤º¸°¡ ÀÖÀ¸¸é TTL(Time To Live)°¡
üũµË´Ï´Ù. 4 TTLÀÌ ¸¸±âµÇÁö ¾Ê¾ÒÀ» °æ¿ì, Ŭ¶óÀ̾ðÆ®´Â º¸Åë Names server¸¦ ÀçÁúÀÇÇÒ È½¼ö¸¦ ÀúÀåÇÏ¸ç ¼¹ö¿¡ Á¢¼ÓÇÒ
Á¤º¸¸¦ »ç¿ëÇÒ °ÍÀÔ´Ï´Ù. |
·ÎÄà Ŭ¶óÀ̾ðÆ®Ãø ij½¬´Â ¾î¶² Names server¸¦ ÀÌ¿ëÇÒ ¼ö ¾øÀ» °æ¿ì¿¡ ƯÈ÷ ÀåÁ¡ÀÌ ÀÖ½À´Ï´Ù.
ÀÌ·± °æ¿ì¿¡ ·ÎÄà Ŭ¶óÀ̾ðÆ® ij½¬´Â
ÃÖ±Ù¿¡ ¾×¼¼½ºµÈ ¼ºñ½ºÀÇ ÇöÀç ¸ñ·ÏÀ» °¡Áö°í ÀÖ½À´Ï´Ù.
Ŭ¶óÀ̾ðÆ® ij½¬ µ¥¸ó ÇÁ·Î¼¼½º¸¦
½ÃÀÛÇÏ·Á¸é Names Control À¯Æ¿¸®Æ¼¿¡¼ ¸í·ÉÀ» ÇÕ´Ï´Ù. START_CLIENT_CACHE ¸í·É¿¡ ´ëÇÑ Ãß°¡ Á¤º¸´Â µÚ¿¡¼ ´Ù·ê
°ÍÀÔ´Ï´Ù.
| |
ij½¬ º¹Á¦(Cache Replication)
ij½¬ º¹Á¦´Â Names server¸¦ ã±â À§ÇØ ±¸¼ºµÈ ¸®½º³Ê°¡ ¸ðµç ÀÌ¿ë °¡´ÉÇÑ Names
server ¿¡°Ô ¸®½¼ (listen) ÇÏ´Â µ¥ÀÌÅͺ£À̽º ÀνºÅϽº¿¡ ´ëÇÑ Á¤º¸¸¦ º¸³¾ ¶§ ¹ß»ýÇÕ´Ï´Ù. ÀÌ °úÁ¤¿¡¼ ¼ºñ½º À̸§°ú ÁÖ¼Ò´Â ³×Æ®¿öÅ©¿¡¼
´Ù¸¥ Names server µé »çÀÌ¿¡ º¹Á¦µË´Ï´Ù.
º¸´Ù Å« ³×Æ®¿öÅ©¿¡¼ region µ¥ÀÌÅͺ£À̽º¸¦ »ç¿ëÇÒ ¶§ º¸´Ù ¾ÈÀüÇÏ°í
º¸´Ù È¿À²ÀûÀÔ´Ï´Ù. ij½¬ º¹Á¦´Â ´ÜÁö ¸î °³ÀÇ Names server ¸¦ °¡Áö´Â ³×Æ®¿öÅ©¿¡ °¡Àå ÀûÇÕÇÕ´Ï´Ù. µðÆúÆ®·Î, region
µ¥ÀÌÅͺ£À̽º°¡ Á¤ÀǵǾî ÀÖÁö ¾ÊÀ» ¶§ ij½¬ º¹Á¦´Â ¹ß»ýÇÕ´Ï´Ù. |
Region µ¥ÀÌÅͺ£À̽º
Region µ¥ÀÌÅͺ£À̽º´Â Names server Á¤º¸¿¡ ´ëÇÑ ÀúÀå
Àå¼ÒÀÔ´Ï´Ù.
Names server ÃʱâÈ ½ºÅ©¸³Æ® ½ÇÇà
1 Names ±¸¼º µð·ºÅ丮¸¦
º¯°æÇÕ´Ï´Ù.
UNIX¿¡¼ ÀÌ µð·ºÅ丮´Â $ORACLE_HOME/network/namesÀ̸ç,
NT¿¡¼´Â %ORACLE_HOME%\net80\namesÀÔ´Ï´Ù.
2 Region µ¥ÀÌÅͺ£À̽º¿¡ Á¢¼ÓÇϱâ
À§Çؼ Net8 Assistant°¡ »ç¿ëÇÒ
»ç¿ëÀڷμ Á¢¼ÓÇÕ´Ï´Ù. |
Region µ¥ÀÌÅͺ£À̽º ±¸¼º
1 ÀûÀýÇÑ Names server¿¡ ´ëÇؼ Ç®-´Ù¿î ¸Þ´º¿¡¼ Configure
Server¸¦ ¼±ÅÃ
ÇÕ´Ï´Ù.
2 Database ÅÇÀ» Ŭ¸¯ÇÕ´Ï´Ù.
3 Region
Database ¹öÆ°À» Ŭ¸¯ÇÕ´Ï´Ù.
4 Region µ¥ÀÌÅͺ£À̽º¸¦ À¯ÁöÇÒ ¸®½º³ÊÀÇ È£½ºÆ®À̸§°ú Æ÷Æ® ¹øÈ£¸¦
ÀÔ·Â
ÇÕ´Ï´Ù.
5 Region Á¤º¸¸¦ ÀúÀåÇÒ µ¥ÀÌÅͺ£À̽ºÀÇ SID¸¦ ÀÔ·ÂÇÕ´Ï´Ù.
6 »õ·Î¿î
Region µ¥ÀÌÅͺ£À̽º¿¡ Á¢¼ÓÇϴµ¥ »ç¿ëµÉ »ç¿ëÀÚÀ̸§°ú Æнº¿öµå¸¦ ÀÔ·Â
ÇÕ´Ï´Ù.
Service Names Ãß°¡
1 Ç®-´Ù¿î ¸Þ´º¿¡¼ Manage Data¸¦ ¼±ÅÃÇÕ´Ï´Ù.
2 Add
¹öÆ°À» Ŭ¸¯ÇÕ´Ï´Ù.
3 ÀûÀýÇÑ Çʵ忡 ¼ºñ½º À̸§, È£½ºÆ®À̸§, Æ÷Æ®¸¦ ÀÔ·ÂÇÕ´Ï´Ù.
4 SID, Protocol,
Server Type °ªÀÌ ¿Ã¹Ù¸¥Áö °ËÁõÇÕ´Ï´Ù.
5 Execute¸¦ Ŭ¸¯ÇÕ´Ï´Ù.
6 ¼±ÅÃÀûÀ¸·Î, Servcie
Names´Â LOAD ¸í·ÉÀ» »ç¿ëÇÏ¿© ±âÁ¸ÀÇ tnsnames.ora ÆÄÀÏ¿¡¼ ÀÐÀ» ¼ö ÀÖ½À´Ï´Ù. Region µ¥ÀÌÅͺ£À̽º¿¡¼
¼º°øÀûÀ¸·Î ·ÎµåÇϱâ
À§Çؼ names¿¡ ´ëÇØ tnsnames.ora ÆÄÀÏÀÇ ÆÄÀÏ À̸§°ú ¸íÈ®ÇÑ °æ·Î¸¦
ÀÔ·ÂÇؾß
ÇÕ´Ï´Ù.
ÁÖ
¼ºñ½º
À̸§ÀÌ Names server¿¡ Ãß°¡µÉ ¶§ ±¸¼º(configuration)À» ÀúÀåÇϰųª, ¶Ç´Â
Names server¸¦ Àç½ÃÀÛÇÒ
ÇÊ¿ä´Â ¾ø½À´Ï´Ù. ÀÌ·¯ÇÑ º¯°æ»çÇ×µéÀº execute ¹öÆ°À»
Ŭ¸¯ÇÒ ¶§ µ¿ÀûÀ¸·Î ±â·ÏµË´Ï´Ù.
NT Ç÷§Æû ¸í·É ¶óÀÎ ±¸¹®
NT ¿î¿µÃ¼Á¦¿¡¼ ´ÙÀ½Àº Names
Control À¯Æ¿¸®Æ¼ ¸í·É°ú ±× ±¸¹®À» ³ªÅ¸³À´Ï´Ù.
C:\>NAMESCTL80 command
UNIX »ó¿¡¼
ÇÁ·ÒÇÁÆ® ±¸¹®Àº NTÀÇ °æ¿ì¿Í µ¿ÀÏÇÕ´Ï´Ù.
Names server ½ÃÀÛ
Names server¸¦ ½ÃÀÛÇϱâ À§Çؼ
´ÙÀ½ ¸í·ÉÀ» ½ÇÇàÇÕ´Ï´Ù: NAMESCTL>START
Names server Á¾·á
Names server¸¦ Á¾·áÇϱâ À§Çؼ
´ÙÀ½ÀÇ ¸í·ÉÀ» ½ÇÇàÇÕ´Ï´Ù: NAMESCTL>STOP CONFIRM [YES OR NO];
Names server »óÅ º¸±â
names.ora ÆÄÀÏ, ÃßÀû ÆÄÀÏ, ·Î±× ÆÄÀÏÀÇ À̸§°ú À§Ä¡°°Àº »óÅ Á¤º¸¿Í ´Ù¾çÇÑ ´Ù¸¥ »óÅ Á¤º¸¸¦ º¸·Á¸é
status ¸í·ÉÀ» »ç¿ëÇÕ´Ï´Ù. NAMESCTL>STATUS |
»óÅÂ °á°ú(Status Output)ÀÇ ¿¹
NAMESCTL>Status Server name:
onames_wwed110-pc Server has been running for: 1 hour 30 minutes 11.42
seconds Request processing enabled: yes Request forwarding enabled:
yes Request received: 5 Requests forwarded: 0 Foreign data
items cached: 0 Region data next checked for reload in: not
set Region data reload check failures: 0 Cache next checkpointed in:
not set Cache checkpoint interval: not set Cache checkpoint file
name: C:\ORANT8\NET80\names\chpcch.ora Statistic counters next reset in:
not set Statistic counter reset interval: not set Statistic counters
next logged in: not set Statistic counter logging interval: not
set Trace level: 0 Trace file name:
C:\ORANT8\NET80\trace\names83.trc Log file name:
C:\ORANT8\NET80\log\names.log System parameter file name:
C:\ORANT8\NET80\admin\names.ora Command-line parameter file name:
"" Administrative region name: "" ApplTable Index: 0 Contact
"" Operational Status 0 Save Config on Stop
no NAMESCTL> | |
Names server Å×½ºÆ®
Names server°¡ µî·ÏµÇ¾î ½ÇÇà ÁßÀÎÁö¸¦ Å×½ºÆ®ÇÏ·Á¸é PING ¸í·ÉÀ»
»ç¿ëÇÕ´Ï´Ù. ÀÌ ¸í·ÉÀº Names server¸¦ Á¢ÃËÇÏ¿© ÀÎÁ¤Çϴµ¥ °É¸®´Â ½Ã°£À» ¸®ÅÏÇÕ´Ï´Ù. ´ÙÀ½Àº µðÆúÆ® Names server¸¦
Å×½ºÆ®ÇÏ´Â PING ¸í·ÉÀÇ ¿¹ÀÔ´Ï´Ù: NAMESCTL>ping nserver1.oracle.com Roundtrip time is
0.02 seconds
Names server ¹ß°ß
REORDER_NS ¸í·ÉÀº ·ÎÄà Names server¿Í ±×µéÀÇ ÁÖ¼ÒµéÀ» ³ª¿ÇÏ´Â ÆÄÀÏÀ»
»ý¼º ÇÕ´Ï´Ù. ¾Õ¿¡¼ ¼³¸íÇÑ Names server ¹ß°ß ÇÁ·Î¼¼½º¸¦ »ç¿ëÇÏ¿© ÀÌ°ÍÀ»
¼öÇàÇÕ´Ï´Ù. NAMESCTL>reorder_ns |
Ŭ¶óÀ̾ðÆ® ij½¬ ÇÁ·Î¼¼½º(Client Cache Process) ½ÃÀÛ
START_CLIENT_CACHE ¸í·ÉÀº Ŭ¶óÀ̾ðÆ® ij½¬ µ¥¸ó ÇÁ·Î¼¼½º¸¦ ½ÃÀÛÇÕ´Ï´Ù . Ŭ¶óÀ̾ðÆ® ij½¬ µ¥¸ó ÇÁ·Î¼¼½º´Â ÀÌ
¸í·ÉÀÌ ½ÇÇàµÇ±â Àü¿¡ Á¾·áµÇ¾î¾ß Çϸç, Names server ¸®½ºÆ®°¡ Á¸ÀçÇØ¾ß ÇÕ´Ï´Ù. Names server ¸®½ºÆ®´Â REORDER_NS
¸í·ÉÀ¸·Î »ý¼ºµË´Ï´Ù. NAMESCTL>start_client_cache | |
´Ù¸¥NAMESCTL ¸í·É
- DELEGATE_DOMAIN
ÇöÀç ¿µ¿ªÀÇ ÇÏÀ§ ¿µ¿ªÀÇ ½ÃÀÛÀ¸·Î¼ µµ¸ÞÀÎÀ»
Á¤ÀÇÇÕ´Ï´Ù.
- DOMAIN_HINT
´Ù¸¥ ¿µ¿ªÀÇ Names serverÀÇ À̸§°ú ÁÖ¼Ò¸¦ ÇöÀçÀÇ ¿µ¿ª¿¡ ÀÖ´Â
Names server ¿¡ Á¦°øÇÕ´Ï´Ù.
- EXIT
NAMESCTL À¯Æ¿¸®Æ¼¸¦ Á¾·áÇÕ´Ï´Ù.
- FLUSH
Names server Cache¿¡¼ ¸ðµç ºñÁ¤±ÔÀÇ ³»Àå µ¥ÀÌÅ͸¦
»èÁ¦ÇÕ´Ï´Ù.
- FLUSH_NAME
ÇöÀçÀÇ Names serverÀÇ Ä³½¬¿¡¼ Çϳª ÀÌ»óÀÇ Æ¯Á¤ÇÑ ºñÁ¤±Ô
names¸¦ »èÁ¦ÇÕ´Ï´Ù.
- HELP
NAMESCTL ¸í·É¿¡ ´ëÇÑ »ó¼¼ÇÑ Á¤º¸¸¦
Á¦°øÇÕ´Ï´Ù.
|
- LOG_STATS
Names server ¿¡ ´ëÇØ ±¸¼ºµÈ ·Î±× ÆÄÀÏ¿¡ Names
server »óÅÂÁ¤º¸ÀÇ ÇöÀç ¼³Á¤À» ±â·ÏÇÕ´Ï´Ù.
- PASSWORD
Reload¿Í Stopó·³ ±ÇÇÑÀÌ ÀÖ´Â Names server ÀÛ¾÷¿¡ ´ëÇÑ
Æнº¿öµå¸¦ µî·Ï ÇÕ´Ï´Ù.
- QUIT
NAMESCTL ÇÁ·Î±×·¥À» Á¾·áÇÕ´Ï´Ù.
- REGISTER
Names server¿¡ ³×Æ®¿öÅ© ¿ÀºêÁ§Æ®¸¦ µî·ÏÇÕ´Ï´Ù.
- RELOAD
¼¹ö°¡ °ü¸® ¿µ¿ª¿¡ ÀÖ´Â µ¥ÀÌÅÍ º¯°æ»çÇ׿¡ ´ëÇØ Áï°¢ÀûÀÎ °Ë»ç¸¦ Çϵµ·Ï
Çϸç, º¯°æ»çÇ×ÀÌ ÀÖÀ» °æ¿ì ¸ðµç µ¥ÀÌÅͺ£À̽º ¼ºñ½º À̸§, Àü¿ª µ¥ÀÌÅͺ£À̽º ¸µÅ©, ±×¸®°í º°¸í(alias)À» Àç·ÎµåÇÕ´Ï´Ù.
- REPEAT
Æò±Õ ¸®ÅÏ ºñÀ²À» °è»êÇϱâ À§Çؼ ÁúÀÇ, µî·Ï, ŸÀÓµå
ÁúÀÇ(timed-query), ¶Ç´Â ºñµî·ÏÀ» ¹Ýº¹ÀûÀ¸·Î ¼öÇàÇϴµ¥ »ç¿ëµË´Ï´Ù.
- RESET_STATS
½ÃÀÛ ½Ã¿¡ Names server »óÅÂÁ¤º¸¸¦ Names serverÀÇ
¿ø·¡ °ªÀ¸·Î Àç¼³Á¤ ÇÕ´Ï´Ù.
- RESTART
½ÃÀÛ ½Ã¿¡ Names server¸¦ ¿ø·¡ »óÅ·Î
Àç¼³Á¤ÇÕ´Ï´Ù.
- TIMED_QUERY
Names server ij½¬¿¡ ÀÖ´Â ¸ðµç µî·Ï µ¥ÀÌÅ͸¦
º¸¿©ÁÝ´Ï´Ù.
- UNREGISTER
Names server¿¡¼ ³×Æ®¿öÅ© °´Ã¼¸¦
Á¦°ÅÇÕ´Ï´Ù.
- VERSION
Names serverÀÇ ÇöÀç ¹öÀü°ú À̸§À» µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù.
| |
NAMESCTL SET º¯°æÀÚ
- SET CACHE_CHECKPOINT_INTERVAL
¿Ü·¡ ¿µ¿ª¿¡ ´ëÇÑ ¸ðµç ¼öÁý Á¤º¸°¡
Names server ij½¬ ÆÄÀÏ¿¡ ÀúÀåµÇ´Â ºóµµ ¼ö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
- SET DEFAULT_DOMAIN
NAMESCTL Ŭ¶óÀ̾ðÆ®¿¡ ´ëÇÑ µðÆúÆ® µµ¸ÞÀÎÀ» ¼³Á¤Çϰųª
º¯°æÇÕ´Ï´Ù.
- SET FORWARDING_AVAILABLE
Names server¿¡ ´ëÇÑ ¾ÕÀ¸·ÎÀÇ À̸§
¿äûÀ» È°¼ºÈ(turn on)Çϰųª ºñÈ°¼ºÈ (turn off)ÇÕ´Ï´Ù.
- SET LOG_FILE_NAME
·Î±× ÆÄÀÏ À̸§À» º¯°æÇÕ´Ï´Ù.
- SET LOG_STATS_INTERVAL
·Î±× ÆÄÀÏ¿¡ »óÅÂÁ¤º¸°¡ ±â·ÏµÇ´Â ºóµµ ¼ö¸¦
º¯°æÇÕ´Ï´Ù.
- SET NAMESCTL_TRACE_LEVEL
NAMESCTL ÇÁ·Î±×·¥ÀÌ ÃßÀûµÉ ¼ö ÀÖµµ·Ï
·¹º§À» ¼³Á¤ÇÕ´Ï´Ù. |
- SET PASSWORD
Reload¿Í Stopó·³ ±ÇÇÑÀÌ ÀÖ´Â Names server ÀÛ¾÷¿¡
´ëÇÑ Æнº¿öµå¸¦ µî·Ï ÇÕ´Ï´Ù.
- SET REQUESTS_ENABLED
ÇöÀçÀÇ Names server°¡ ¿äû¿¡ ´ëÇØ ÀÀ´äÀ» ÇÒ
°ÍÀÎÁöÀÇ ¿©ºÎ¸¦ °áÁ¤ÇÕ´Ï´Ù.
- SET RESET_STATS_INTERVAL
ÇöÀç ¼¹ö ¾È¿¡ Åë°èÁ¤º¸ °ªÀ» 0À¸·Î Àç¼³Á¤Çϰųª
ÃʱâÈÇÏ´Â »çÀÌÀÇ ½Ã°£À» º¯°æ ÇÕ´Ï´Ù.
- SET SERVER
ÇöÀçÀÇ Names Server¸¦ º¯°æÇÕ´Ï´Ù.
- SET TRACE_FILE_NAME
ÃßÀû ¸ñÀûÁö ÆÄÀÏ À̸§(Trace destination
file name)À» º¯°æÇÕ´Ï´Ù.
- SET TRACE_LEVEL
ÇöÀçÀÇ Names server¸¦ ÃßÀûÇϱâ À§Çؼ
TRACE_LEVELÀ» º¯°æÇÕ´Ï´Ù.
| |
NAMESCTL SHOW º¯°æÀÚ
- SHOW CACHE_CHECKPOINT_INTERVAL
Names serverÀÇ Ä³½¬°¡
üũÆ÷ÀÎÆ® ÆÄÀÏ¿¡ ±â·ÏµÇ´Â ºóµµ ¼ö¸¦ º¸¿©ÁÝ´Ï´Ù.
- SHOW DEFAULT_DOMAIN
NAMESCTL Ŭ¶óÀ̾ðÆ®¿¡ ´ëÇÑ µðÆúÆ® µµ¸ÞÀÎÀ»
µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù.
- SHOW FORWARDING_AVAILABLE
Names server°¡ ¿Ü·¡ À̸§¿¡ ´ëÇØ
±×´ë·Î º¸³¾Áö(forward) ¶Ç´Â ¹æÇâÀ» ¹Ù²ÜÁö (redirect)ÀÇ ¿©ºÎ¸¦ º¸¿©ÁÝ´Ï´Ù.
- SHOW LOG_FILE_NAME
Names server°¡ ·Î±ë Á¤º¸¸¦ ±â·ÏÇÏ´Â ÆÄÀÏÀÇ À̸§À»
º¸¿©ÁÝ´Ï´Ù.
- SHOW LOG_STATS_INTERVAL
·Î±× ÆÄÀÏ¿¡ »óÅÂÁ¤º¸°¡ ±â·ÏµÇ´Â ºóµµ ¼ö¸¦
µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù. |
- SHOW NAMESCTL_TRACE_LEVEL
NAMESCTL ÇÁ·Î±×·¥ÀÌ ÃßÀûµÇ´Â ·¹º§ÀÇ
ÄÁÆ®·ÑÀ» µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù.
- SHOW REQUESTS_ENABLED
Names server°¡ ¿äû¿¡ ´ëÇؼ ÀÀ´äÇÏ´ÂÁöÀÇ
¿©ºÎ¸¦ º¸¿©ÁÝ´Ï´Ù.
- SHOW RESET_STATS_INTERVAL
»óÅÂÁ¤º¸°¡ ¾ó¸¶³ª ÀÚÁÖ ·Î±× ÆÄÀÏ¿¡ ´ýÇÁµÇ´ÂÁö¿¡
´ëÇÑ °£°Ý ¼³Á¤À» º¸¿©ÁÝ´Ï´Ù.
- SHOW SERVER
ÇöÀçÀÇ Names server¸¦
µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù.
- SHOW STATS
Names server¿¡ ´ëÇÑ ÀϹÝÀûÀÎ »óÅ Á¤º¸¸¦
µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù.
- SHOW SYSTEM_QUERIES
¸ðµç ½Ã½ºÅÛ ÁúÀÇÀÇ ´ÙÀ½ ¹ø ¹ß»ýÀ»
µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù.
- SHOW TRACE_FILE_NAME
ÇöÀç ¼¹öÀÇ TRACE_FILE_NAMEÀ»
µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù.
- SHOW TRACE_LEVEL
ÇöÀçÀÇ Names server¿¡ ´ëÇÑ TRACE_LEVELÀ»
µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù.
- SHOW VERSION
Names serverÀÇ ÇöÀç ¹öÀü°ú À̸§À»
µð½ºÇ÷¹ÀÌÇÕ´Ï´Ù.
| |
O
O
X
Á¤´ä:B
O
X
Á¤´ä:NAMES.ORA
O
X
Á¤´ä:D
X
Á¤´ä:LOAD
X
Á¤´ä:start_client_cache
O
X
Á¤´ä:A
O
O
O
O
X
Á¤´ä:C
O