::: °­ÁÂ/¼Ò½º/¹®¼­ :::

°­ÁÂ/¼Ò½º/¹®¼­ ¼º°Ý¿¡ ¸ÂÁö ¾Ê´Â ±¤°í,ºñ¹æ,Áú¹®ÀÇ ±ÛÀº Áï½Ã »èÁ¦Çϸç
³»¿ëÀ» º¹»çÇÏ¿© »ç¿ëÇÒ °æ¿ì ¹Ýµå½Ã ÀÌ°÷(http://www.howto.pe.kr)À» Ãâó·Î ¸í½ÃÇÏ¿© ÁÖ¼¼¿ä


Category

  ±è¿µ´ë(2003-12-02 21:41:24, Hit : 7618, Vote : 1966
 [°­ÁÂ] GridFTP ¸¦ xinetd ¼­ºñ½º·Î µî·ÏÇÏ¿© »ç¿ëÇϱâ

// Á¦  ¸ñ: GridFTP ¸¦ xinetd ¼­ºñ½º·Î µî·ÏÇÏ¿© »ç¿ëÇϱâ
// ÀÛ¼ºÀÚ: ±è¿µ´ë( http://www.howto.pe.kr )

0.½ÇÇàȯ°æ
  ¼³Ä¡µÈ GT3: GT3 3.0.2
  O/S: Linux 2.4.18-3 (Redhat 7.3)
  ¿¹Á¦ È£½ºÆ®¸í: one.ssu.ac.kr
                 two.ssu.ac.kr
                 myhome.ssu.ac.kr
                 yourhome.ssu.ac.kr

1.ÀÎÁõ °ü·Ã
  gatekeeper ³ª gridftp µîÀ» ÀÌ¿ëÇÏ¿© ÀÚ¿øÀ» Á¢±ÙÇÏ·Á¸é proxy ¸¦ »ý¼ºÇØ¾ß Çϴµ¥
  À̶§ ÇÊ¿äÇÑ°ÍÀÌ certificate ÀÌ´Ù. ±×¸®°í ÀÎÁõÀº CA ·Î ºÎÅÍ ¹Þ´Âµ¥ º¸Åë ÀÎÁõÀÇ
  ¿ëÀ̼ºÀ» À§ÇØ SimpleCA ¸¦ ¼³Ä¡ÇÏ¿© ÀÚü ÀÎÁõ ½Ã½ºÅÛÀ» ¿î¿µÇÏ°Ô µÈ´Ù
  ±×·¯´Ù º¸´Ï ¾î¶² SimpleCA ·Î ºÎÅÍ ÀÎÁõ¹ÞÀº »ç¿ëÀÚ°¡ ´Ù¸¥ CA ·Î ºÎÅÍ ÀÎÁõ¹ÞÀº È£½ºÆ®³ª
  »ç¿ëÀÚÀÇ ÀÚ¿øÀ» Á¢±ÙÇÏ´Â »óȲÀÌ ¹ß»ýÇϴµ¥ À̶§´Â ÀÚ¿øÀ» Á¢±ÙÇϱâ Àü¿¡ º»ÀÎÀÌ ÀÎÁõ¹ÞÀº
  SimpleCA ÀÇ ÀÎÁõ¼­¸¦ Á¢±ÙÇÏ·Á´Â È£½ºÆ®¿¡ ¹Ì¸® ¼³Ä¡ÇØ¾ß ÇÑ´Ù.
  ´ç¿¬ÇÑ ¾Ö±âÁö¸¸ óÀ½ Globus Toolkit À» ¼³Ä¡ÇÏ¿© »ç¿ëÇÒ¶§ ¸¸³ª°Ô µÇ´Â »óȲÀÌ´Ù
    
  ÀÎÁõ°ü·Ã »óȲ¸¦ ¼³¸íÇϱâ À§ÇÏ¿© ¸ÕÀú ½Ã½ºÅÛ ±¸¼º ȯ°æÀ» ±â¼úÇϸé,
  myhome.ssu.ac.kr °ú yourhome.ssu.ac.kr ´Â SimpleCA ÀÌ´Ù
  one.ssu.ac.kr ÀÇ »ç¿ëÀÚ cozykyd ´Â myhome.ssu.ac.kr ·Î ºÎÅÍ ÀÎÁõÀ» ¹Þ¾Ò°í
  two.ssu.ac.kr ÀÇ »ç¿ëÀÚ howto ´Â yourhome.ssu.ac.kr ·Î ºÎÅÍ ÀÎÁõÀ» ¹ÞÀº »óÅÂÀÌ´Ù
  ±×·±µ¥ ¸¸¾à À§¿Í °°ÀÌ µÎ°³ÀÇ SImpleCA °¡ ¾Æ´Ñ cozykyd ¿Í howto °¡ µ¿ÀÏÇÑ SimpleCA ·Î ºÎÅÍ ÀÎÁõÀ»
  ¹ÞÀº°Å¶ó¸é ¾Æ·¡ SimpleCA ÀÎÁõ¼­ ¼³Ä¡ °úÁ¤Àº »ý·«ÇÏ°í grid-mapfile ·Î ºÎºÐÀ¸·Î °Ç³Ê¶Ù±â ¹Ù¶õ´Ù
  
  ÀÚ¿øÁ¢±Ù »óȲÀº one.ssu.ac.kr ÀÇ »ç¿ëÀÚ cozykyd °¡ two.ssu.ac.kr ¿¡ Á¢¼ÓÇÏ¿© howto °èÁ¤ÀÇ
  ±ÇÇÑÀ¸·Î ƯÁ¤ ÆÄÀÏÀ» gridftp ¸¦ ÀÌ¿ëÇÏ¿© ´Ù¿î ¹Þ´Â »óȲÀÌ´Ù
  ±×·¯¹Ç·Î ¸ÕÀú myhome.ssu.ac.kr ÀÇ CA ÀÎÁõ¼­¸¦ two.ssu.ac.kr ¿¡ Àü´ÞÇÏ¿© ¼³Ä¡ÇÑ´Ù
  ¼³Ä¡´Â ¾Æ·¡¿Í °°´Ù. [CA-HASH] ºÎºÐÀº 16Áø¼ö 8 ÀÚ¸®·Î ÀÌ°ÍÀº SimpleCA ¸¶´Ù Ʋ¸®´Ù
    [root@two root]# gpt-build globus_simple_ca_[CA-HASH]_setup-0.12.tar.gz gcc32dbg
    [root@two root]# gpt-postinstall

  GT3 °¡ ¼³Ä¡µÈ µð·ºÅ丮ÀÇ setup µð·ºÅ丮·Î À̵¿ÇÑ´Ù.
  °Å±â¿¡´Â SimpleCA ÀÇ ÀÎÁõ¼­¸¦ ¼³Ä¡ÇÒ ¼ö ÀÖ´Â µð·ºÅ丮°¡ globus_simple_ca_[CA-HASH]_setup
  ÇüÅ·Π¸¸µé¾îÁ® ÀÖÀ»°ÍÀÌ´Ù. ±× µð·ºÅ丮 ¾ÈÀÇ setup-gsi ¸¦ ½ÇÇàÇÏ¿© SimpleCAÀÇ ÀÎÁõ¼­¸¦ ¼³Ä¡ÇÑ´Ù
    [root@two root]# cd /usr/local/gt3/setup/globus_simple_ca_[CA-HASH]_setup
    [root@two root]# ./setup-gsi
  
  ±× ´ÙÀ½ grid-map ÆÄÀÏ¿¡ »õ·Î¿î ÀÎÁõ entry ¸¦ Ãß°¡ÇÒ Â÷·ÊÀÌ´Ù
  one.ssu.ac.kr ¿¡¼­ cozykyd °èÁ¤À¸·Î grid-proxy-info ¸í·É¾î¸¦ ½ÇÇàÇÑ´Ù
  ¸¸¾à proxy ½Ã À¯È¿½Ã°£(º¸Åë 12½Ã°£)ÀÌ Áö³µ´Ù¸é grid-proxy-init ¸¦ ½ÇÇàÇÑ´Ù
    [cozykyd@one cozykyd]$ grid-proxy-init
    Your identity: /O=Grid/OU=GlobusTest/OU=simpleCA-myhome.ssu.ac.kr/OU=ssu.ac.kr/CN=Young Dae Kim
    Enter GRID pass phrase for this identity:<<<<ºñ¹Ð¹øÈ£>>>>
    Creating proxy ....................................... Done
    Your proxy is valid until: Thu Nov 27 11:47:43 2003

    [cozykyd@one cozykyd]$ grid-proxy-info
    subject  : /O=Grid/OU=GlobusTest/OU=simpleCA-myhome.ssu.ac.kr/OU=ssu.ac.kr/CN=Young Dae Kim/CN=1031722236
    issuer   : /O=Grid/OU=GlobusTest/OU=simpleCA-myhome.ssu.ac.kr/OU=ssu.ac.kr/CN=Young Dae Kim
    identity : /O=Grid/OU=GlobusTest/OU=simpleCA-myhome.ssu.ac.kr/OU=ssu.ac.kr/CN=Young Dae Kim
    type     : Proxy draft compliant impersonation proxy
    strength : 512 bits
    path     : /tmp/x509up_u500
    timeleft : 11:21:20
  
  ¿©±â¼­ identity ÀÇ °ªÀ» two.ssu.ac.kr ÀÇ grid-mapfile ¿¡ Ãß°¡ÇÑ´Ù
    [root@two root]# vi /etc/grid-security/grid-mapfile
    "/O=Grid/OU=GlobusTest/OU=simpleCA-myhome.ssu.ac.kr/OU=ssu.ac.kr/CN=Young Dae Kim" howto
  ÀÌ°ÍÀº ÀÌ·± »ç¿ëÀÚ°¡ ÀÚ¿øÀ» ¿äûÇÒ °æ¿ì howto ÀÇ ±ÇÇÑÀ» °¡Áö°í ½ÇÇàÇ϶ó´Â mapping Á¤º¸ÀÌ´Ù
            
2.xinetd ¼­ºñ½º·Î µî·ÏÇÏ°í ´Ù¿î¹Þ±â
  two.ssu.ac.kr ¿¡ GridFTP ¼­¹ö¸¦ xinetd ¼­ºñ½º·Î Ãß°¡ÇÑ´Ù
    [root@two root]# vi /etc/services
    gridftp      2811/tcp
    
  ±×´ÙÀ½ /etc/xinetd.d µð·ºÅ丮 ¾È¿¡ grid-ftp ¶ó´Â ÆÄÀÏÀ» ¸¸µé°í ¾Æ·¡ ³»¿ëÀ» ÷°¡ÇÑ´Ù
  ¾Æ·¡¿¡¼­ /usr/local/gt3 ´Â GT3 °¡ ¼³Ä¡µÈ($GLOBUS_LOCATION) µð·ºÅ丮À̹ǷΠȯ°æ¿¡ ¸Â°Ô ¼öÁ¤ÇÑ´Ù
    [root@two root]# vi /etc/xinetd.d/frid-ftp
    service gridftp
    {
          instances               = 1000
          socket_type             = stream
          wait                    = no
          user                    = root
          server                  = /usr/local/gt3/sbin/in.ftpd
          server_args             = -l -a -G /usr/local/gt3
          log_on_success         += DURATION USERID
          log_on_failure         += USERID
          nice                    = 10
          disable                 = no
    }
    
  xinetd ½´ÆÛµ¥¸óÀ» Àç ½ÃÀÛÇÑ´Ù
    [root@two root]# /etc/rc.d/init.d/xinetd restart

  ÀÌÁ¦ ¼³Á¤Àº ³¡³µÀ¸¹Ç·Î ½ÇÁ¦·Î ´Ù¿î¹Þ¾Æ º¸ÀÚ. ¿©±â¼­´Â gsiftp ÇÁ·ÎÅäÄÝÀ» Áö¿øÇÏ´Â globus-url-copy ¸í·É¾î¸¦
  »ç¿ëÇÏ¿© Å×½ºÆ®ÇßÁö¸¸ http://www.globus.org ¿¡¼­ GSIFTP client ¸¦ ´Ù¿î¹Þ¾Æ »ç¿ëÇغ¸±â ¹Ù¶õ´Ù
  one.ssu.ac.kr ¿¡¼­ cozykyd °èÁ¤À¸·Î globus-url-copy ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© two.ssu.ac.kr ÀÇ /home/howto ¾Æ·¡¿¡
  ÀÖ´Â test.dat ÆÄÀÏÀ» ´Ù¿î¹Þ¾Æ /tmp ¾Æ·¡¿¡ ³Ö´Â ¿¹Á¦ÀÌ´Ù
    [cozykyd@one cozykyd]$ globus-url-copy gsiftp://two.ssu.ac.kr/home/howto/test.dat file:///tmp/test.dat





4   [GRID] [°­ÁÂ] Globus Toolkit 3.0.2 + SimpleCA ¼³Ä¡  ±è¿µ´ë 2003/11/27 7940 1341
  [GRID] [°­ÁÂ] GridFTP ¸¦ xinetd ¼­ºñ½º·Î µî·ÏÇÏ¿© »ç¿ëÇÏ±â  ±è¿µ´ë 2003/12/02 7618 1966
2   [GRID] [°­ÁÂ] Replica Location Service (RLS) ¼³Ä¡  ±è¿µ´ë 2003/11/29 7292 1879
1   [GRID] [°­ÁÂ] Metadata Catalog Service (MCS) ¼³Ä¡  ±è¿µ´ë 2003/11/29 7185 1764

1
 

Copyright 1999-2024 Zeroboard / skin by zero