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

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


Category

  ±è¿µ´ë(2003-11-27 01:15:16, Hit : 9491, Vote : 1574
 http://www.howto.pe.kr
 [°­ÁÂ] Globus Toolkit 3.0.2 + SimpleCA ¼³Ä¡

// Á¦  ¸ñ: Globus Toolkit 3.0.2 + SimpleCA ¼³Ä¡
// ÀÛ¼ºÀÚ: ±è¿µ´ë( http://www.howto.pe.kr )
// Âü  °í: ¼³Ä¡½Ã ÀåºñÀÇ CPU ¼Óµµ¿¡ ¹Î°¨ÇÑ ¹ÝÀÀÀ» º¸ÀÓÀ» °æÇèÇß´Ù
//         ÃÖ¼Ò CPU 800Mhz ÀÌ»óÀÇ Àåºñ¿¡ ¼³Ä¡ÇÒ°ÍÀ» ±ÇÀåÇÑ´Ù

0.¼³Ä¡È¯°æ
  ¼³Ä¡ GT3: GT3 3.0.2
  O/S: Linux 2.4.18-3 (Redhat 7.3)
  È£½ºÆ®¸í: myhome.ssu.ac.kr
  
1.¼³Ä¡ÇÒ ÆÄÀÏ ´Ù¿î¹Þ±â
  .gt3.0.2-linux-installer.tar.gz ( http://www-unix.globus.org/toolkit/download.html )
  .globus_simple_ca_bundle-latest.tar.gz ( http://www-unix.globus.org/toolkit/download.html )
  .j2sdk-1_4_0_04-fcs-linux-i586.rpm ( http://java.sun.com )
  .apache-ant-1.5.3-1-bin.tar.gz ( http://ant.apache.org )
  .junit3.8.1.zip ( http://www.junit.org )
  
2.°èÁ¤ ¸¸µé±â
  Globus Toolkit 3(ÀÌÇÏ GT3) ¸¦ ¿î¿µÇϰųª ÀÌ¿ëÇϴµ¥ ÇÊ¿äÇÑ ÃÖ¼ÒÇÑÀÇ °èÁ¤À» ¸¸µç´Ù
  ¸ÕÀú GT3 ¸¦ °ü¸®ÇÒ °èÁ¤À¸·Î globus °èÁ¤À» ¸¸µç´Ù
    [root@myhome root]# useradd globus
    [root@myhome root]# passwd globus

  ±×¸®°í GT3 ¿¡ ÀÛ¾÷(job)À» ¿äûÇϴ Ŭ¶óÀ̾ðÆ®·Î¼­ÀÇ »ç¿ëÀÚ °èÁ¤À» Çϳª ¸¸µç´Ù
  ¿©±â¼­´Â cozykyd ¶ó´Â °èÁ¤À¸·Î ¸¸µé°Ú´Ù
  ³ªÁß¿¡ ÀÌ °èÁ¤Àº SimpleCA ·Î À¯Àú ÀÎÁõ¼­¸¦ ¿äûÇÏ°Ô µÈ´Ù
    [root@myhome root]# useradd cozykyd
    [root@myhome root]# passwd cozykyd

3.È£½ºÆ® À̸§ ¸¸µé±â
  GT3¸¦ ¼³Ä¡ÇÏ´Â ÄÄÇ»ÅÍ¿¡ À̸§ÀÌ ¾ø´Ù¸é(hostname ¸í·É¾îÀÇ °á°ú°¡ "localhost" ·Î ³ªÅ¸³²)
  GT3 ÀÎÁõÀ» ¿øÈ°È÷ Çϱâ À§ÇÏ¿© DNS ¿¡ µî·ÏµÇÁö ¾Ê´Â À̸§ÀÏÁö¶óµµ ÀÓÀÇ·Î ÁöÁ¤ÇÏ¿© µî·ÏÇÑ´Ù
  (¿©±â¼­´Â myhome.ssu.ac.kr ¶ó´Â È£½ºÆ® À̸§À» ÁØ´Ù°í °¡Á¤ÇÑ´Ù)
    [root@myhome root]# vi /etc/sysconfig/network
    ...
    HOSTNAME=myhome.ssu.ac.kr
    ...
  ¶ÇÇÑ hostname ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© À̸§À» ¹Ù²Û´Ù
    [root@myhome root]# hostname myhome.ssu.ac.kr  
    
  ³×Æ®¿öÅ© ȯ°æÀ» ¹Ù²Û°ÍÀÌ´Ï ³×Æ®¿öÅ©¸¦ ´Ù½Ã ½ÃÀÛ½ÃŲ´Ù
    [root@myhome root]# /etc/rc.d/init.d/network restart
  
4.¹Ì¸® ¼³Ä¡ÇÒ ÇÁ·Î±×·¥
  GT3¸¦ ¼³Ä¡Çϱâ À§Çؼ­´Â ¹Ì¸® ´Ù¿î¹ÞÀº ¸î°¡Áö ÇÁ·Î±×·¥µéÀÌ ¼³Ä¡µÇ¾î ÀÖ¾î¾ß ÇÑ´Ù
  J2SDK 1.4.0_04(GT3 ¿Í Àß ¾î¿ï¸®´Â °ÍÀ¸·Î ÆǴܵÊ)¸¦ ´ÙÀ½ÀÇ °úÁ¤À» ÅëÇؼ­ ¼³Ä¡ÇÑ´Ù
  J2SDK°¡ ¼³Ä¡µÇ´Â À§Ä¡´Â /usr/java/j2sdk1.4.0_04 ÀÌ´Ù
    [root@myhome root]# rpm -Uvh j2sdk-1_4_0_04-fcs-linux-i586.rpm

  Jakarta Ant 1.5.3-1 ¸¦ ´ÙÀ½ÀÇ °úÁ¤À» ÅëÇؼ­ ¼³Ä¡ÇÑ´Ù
  Ant°¡ ¼³Ä¡µÇ´Â À§Ä¡´Â /usr/local/apache-ant-1.5.3-1 ÀÌ´Ù
    [root@myhome root]# tar xvzf apache-ant-1.5.3-1-bin.tar.gz -C /usr/local
  
  Junit 3.8.1 ¸¦ ´ÙÀ½ÀÇ °úÁ¤À» ÅëÇؼ­ ¼³Ä¡ÇÑ´Ù
  JunitÀÌ ¼³Ä¡µÇ´Â À§Ä¡´Â /usr/local/junit3.8.1 ÀÌ´Ù
  JunitÀ» Ant °¡ ¼³Ä¡µÈ µð·ºÅ丮ÀÇ lib¿¡ º¹½ÃÇÑ´Ù.
    [root@myhome root]# unzip junit3.8.1.zip -d /usr/local
    [root@myhome root]# cp /usr/local/junit3.8.1/junit.jar /usr/local/apache-ant-1.5.3-1/lib/

  ´ÙÀ½°ú °°ÀÌ °¢ °èÁ¤ÀÇ È¯°æº¯¼ö¸¦ ¼öÁ¤ÇÑ´Ù. ¿©±â¼­´Â root ÀÇ .bash_profile ¸¸ ¼öÁ¤ÇÏÁö¸¸
  globus ¿Í cozykyd µµ µ¿ÀÏÇÏ°Ô ¼öÁ¤Çϱ⠹ٶõ´Ù
  ¾Æ·¡¿¡¼­ ". $GLOBUS_LOCATION/etc/globus-user-env.sh" ´Â "." ¹®ÀÚ µÚ¿¡ ÇÑÄ­ÀÇ °ø¹éÀÌ Àִ°ÍÀÌ´Ù
    [root@myhome root]# vi .bash_profile
    export JAVA_HOME=/usr/java/j2sdk1.4.0_04
    export ANT_HOME=/usr/local/apache-ant-1.5.3-1
    export GLOBUS_LOCATION=/usr/local/gt3
    export GPT_LOCATION=/usr/local/gt3
    export GLOBUS_IODBC_PATH=$GLOBUS_LOCATION
    export ODBCINI=/etc/odbc.ini
    . $GLOBUS_LOCATION/etc/globus-user-env.sh
    PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin:$GLOBUS_LOCATION/bin:$GLOBUS_LOCATION/sbin

    [root@myhome root]# source .bash_profile

5.GT3 ¼³Ä¡Çϱâ
  ÀÌÁ¦ GT3¸¦ ¼³Ä¡Çϱâ À§ÇÑ Áغñ»çÇ×Àº ¸ðµÎ ³¡³µ´Ù
  
  ¸ÕÀú GT3°¡ ¼³Ä¡µÉ µð·ºÅ丮¸¦ Á÷Á¢ »ý¼ºÇÏ°í, µð·ºÅ丮 ¼Ò¿ì±ÇÀ» globus.globus ·Î º¯°æÇÑ´Ù
    [root@myhome root]# mkdir /usr/local/gt3
    [root@myhome root]# chown globus.globus /usr/local/gt3
  
  GT3 ¼³Ä¡´Â globus °èÁ¤À¸·Î ÇϹǷΠGT3 ¼³Ä¡ÆÄÀÏÀ» globus Ȩ ¾Æ·¡¿¡ µÎ´Â°ÍÀÌ Æí¸®ÇÏ´Ù
  ¿©±â¼­´Â globus °èÁ¤ÀÇ È¨ µð·ºÅ丮¿¡¼­ ¼³Ä¡ÆÄÀÏÀÌ ÀÖ´Ù°í °¡Á¤ÇÑ´Ù
  GT3 ¼³Ä¡´Â ÄÄÇ»Å͸¶´Ù ´Ù¸£°ÚÁö¸¸ ¼öºÐ¿¡¼­ ¼ö½ÊºÐ ¼Ò¿äµÈ´Ù
    [globus@myhome globus]$ tar xvzf gt3.0.2-linux-installer.tar.gz
    [globus@myhome globus]$ cd gt3.0.2-linux-installer
    [globus@myhome gt3.0.2-linux-installer]$ ./install-gt3 /usr/local/gt3

    Build environment:
    ant is hashed (/usr/local/apache-ant-1.5.3-1/bin/ant)
    java is /usr/java/j2sdk1.4.0_04/bin/java
    gcc is /usr/bin/gcc

    Building GPT ...
    build_gpt ====> installing GPT into /usr/local/gt3
    build_gpt ====> building support/Compress-Zlib-1.16
    ....
    ....
    gpt-build ====> BUILDING FLAVOR gcc32dbg
    ....
    ....
    setup-ssl-utils: Complete
    running /usr/local/gt3/setup/globus/setup-globus-gram-job-manager...
    Creating state file directory.
    Done.    
    ....
    Setting up fork gram reporter in MDS
    -----------------------------------------
    Done
    
  ¼³Ä¡µµÁß "FLAVOR gcc32dbg" ³ª "FLAVOR gcc32dbgpthr" ¹®ÀåÀ» º¸¾Ò´Â°¡?
  ÀÌ°ÍÀÇ Àǹ̸¦ ¸ð¸£°í ¼³Ä¡ÇÏ´Ù ¿©·¯¹ø ½ÇÆÐÇÑ ±â¾ïÀÌ ÀÖ¾î ¸îÀÚ Àû´Â´Ù
  gcc32dbg´Â GT3 ³ª SimpleCA ¶Ç´Â GT3 bundle µéÀ» ¼³Ä¡ÇÒ¶§ »ç¿ëµÇ´Â ÄÄÆÄÀÏ ¿É¼ÇÀÌ´Ù
  ¿¹¸¦ µé¾î GT3ÀÇ Data Management ´Â gcc32dbg,
  Information Service ´Â gcc32dbgpthr,
  Resource Management ´Â gcc32dbg,
  Replica Location Service ´Â gcc32dbgpthr,
  SimpleCA ´Â gcc32dbg ·Î ÄÄÆÄÀÏ ¿É¼ÇÀ» ÁöÁ¤ÇÏ¿© ÄÄÆÄÀÏ ÇÑ´Ù
  ¿©±â¼­ Data Management, Information Service , Resource Management ´Â GT3 ¼³Ä¡½Ã
  ÀÚµ¿À¸·Î ¼±ÅÃµÇ¾î ¼³Ä¡µÇ¹Ç·Î ½Å°æ¾²Áö ¾Ê¾Æµµ µÇÁö¸¸ SimpleCA ¿Í Replica Location Service
  ÀÇ °æ¿ì´Â º°µµ·Î ¼³Ä¡ÇÏ°Ô µÇ´Âµ¥ À̶§ Á¤È®È÷ ÇØ´çÇÏ´Â ¿É¼ÇÀ» Àû¾îÁÖ¾î¾ß ÇÑ´Ù
  gcc32dbgpthr ÀÇ Àǹ̴Â
    gcc - gcc ÄÄÆÄÀÏ·¯ »ç¿ë
    32  - 32bit ÄÚµå »ý¼º
    dbg - debug, ½ÇÇà ÆÄÀÏ¿¡ µð¹ö±ë Á¤º¸ ³Ö´Â°Í
    pthr - pthread »ç¿ë (thread safe ÄÚµå »ý¼º)
  ÀÚ¼¼ÇÑ ³»¿ëÀº ÀÎÅͳݿ¡¼­ "gcc32dbgpthr" ·Î °Ë»öÇØ º¸¸é ÀÚ·á°¡ ¸î°³ ³ª¿Â´Ù
      
  GT3¿¡¼­ Á¦°øÇÏ´Â Xalan ¶óÀ̺귯¸®¸¦ ´ÙÀ½°ú °°ÀÌ J2SDK°¡ ¼³Ä¡µÈ jre µð·ºÅ丮¿¡ º¹»çÇÑ´Ù
    [globus@myhome gt3.0.2-linux-installer]$ cd /usr/local/gt3
    [globus@myhome gt3]$ cp endorsed/xalan.jar /usr/java/j2sdk1.4.0_04/jre/endorsed

  ÀÌÁ¦´Â root CAÀÇ ÀÎÁõ¼­¸¦ ¼³Ä¡ÇÒ Â÷·Ê´Ù
  root CAÀÇ ÀÎÁõ¼­¶õ GT3¸¦ °³¹ßÇÑ °÷¿¡¼­ GT3 ¿Í ÇÔ²² ¹èÆ÷ÇÏ´Â °ÍÀÌ´Ù
  /usr/local/gt3/setup µð·ºÅ丮 ¾Æ·¡¿¡ °¢ CA µéÀÇ ÀÎÁõ¼­¸¦ ¼³Ä¡ÇÒ ¼ö ÀÖ´Â µð·ºÅ丮µéÀÌ
  µé¾îÀִµ¥ ÇØ´ç µð·ºÅ丮·Î µé¾î°¡¸é setup-gsi ¶ó´Â ½ºÅ©¸³Æ® ÆÄÀÏÀÌ Àִµ¥ ÀÌ°ÍÀÌ ½ÇÁ¦·Î
  ÀÎÁõ¼­¸¦ È£½ºÆ®¿¡ ¼³Ä¡(/etc/grid-security/certificates ¿¡ ¼³Ä¡µÊ)ÇÏ´Â ½ºÅ©¸³Æ®ÀÌ´Ù
  Áö±ÝÀº globus ¶ó´Â root CA ÀÇ ÀÎÁõ¼­ µð·ºÅ丮°¡ ÀÖÁö¸¸ Àá½ÃÈÄ SimpleCA ¸¦ ¼³Ä¡Çϸé
  ¶Ç´Ù¸¥ µð·ºÅ丮°¡ »ý¼ºµÇ´Âµ¥ ±× µð·ºÅ丮ÀÇ setup-gsi µµ ¸¶Âù°¡Áö·Î ½ÇÇàÇØ ÁÖ¸é µÈ´Ù
  setup-gsi ½ÇÇàÇϸé ÀÌ¹Ì Àû´çÇÑ °ªµé·Î ¼ÂÆõǾî ÀÖÀ¸¹Ç·Î ±âº»°ªÀ» µû¸£¸é µÈ´Ù
  
  root CAÀÇ ÀÎÁõ¼­¸¦ ¼³Ä¡ÇØ º¸ÀÚ
  ÀÌÇÏ ¼³Ä¡È­¸éÁß¿¡ <<<<???>>>> Ç¥½Ã´Â Á÷Á¢ ÀÔ·ÂÇÏ´Â ºÎºÐÀÌ´Ù
    [root@myhome root]$ /usr/local/gt3/setup/globus/setup-gsi
    
    setup-gsi: Configuring GSI security
    Making /etc/grid-security...
    mkdir /etc/grid-security
    Making trusted certs directory: /etc/grid-security/certificates/
    mkdir /etc/grid-security/certificates/
    Installing /etc/grid-security/certificates//grid-security.conf.42864e48...
    Running grid-security-config...
    
       G S I   :   C O N F I G U R A T I O N   P R O C E D U R E

    Before you use the Grid Security Infrastructure, you should first
    define the DN (distinguished name) that should be used for your
    organization's X509 certificates.  If you do not define a DN,
    a default DN will be assigned to you.

    This script will ask some questions about site specific
    information. This information is used to configure
    the Grid Security Infrastructure for your site.

    For some questions, a default response is given in [].
    Pressing RETURN in response to such a question will enable the default.
    This script will overwrite the file --

         /etc/grid-security/certificates//grid-security.conf.42864e48

    Do you wish to continue (y/n) [y] : <<<<y>>>>
    ========================================================================
    (1) Base DN for user certificates
             [ ou=ssu.ac.kr, o=Globus, o=Grid ]
    (2) Base DN for host certificates
             [ o=Globus, o=Grid ]
    ========================================================================
    (q) save, configure the GSI and Quit
    (c) Cancel (exit without saving or configuring)
    (h) Help
    ========================================================================

    <<<<q>>>>
    Installing Globus CA certificate into trusted CA certificate directory...
    Installing Globus CA signing policy into trusted CA certificate directory...
    setup-gsi: Complete

  CA ÀÎÁõ¼­¸¦ ¼³Ä¡ÇÏ°Ô µÇ¸é /etc/grid-security µð·ºÅ丮°¡ »ý¼ºµÇ¸ç ±× ¾Æ·¡ certificates
  µð·ºÅ丮¿¡ ½ÇÁ¦ CA µéÀÇ ÀÎÁõ¼­°¡ µé¾î°£´Ù
  Âü°í·Î root CA ÀÎÁõ¼­ÀÇ [CA-HASH] °ªÀº 42864e48 À̹ǷΠȮÀÎÇØ º¸±â ¹Ù¶õ´Ù
    
6.SimpleCA ¼³Ä¡Çϱâ
  ÀÌ¹Ì ¿î¿µÁßÀÎ SimpleCA °¡ ÀÖ´Ù¸é È£½ºÆ® ÀÎÁõ°ú À¯Àú ÀÎÁõÀ» ¹ÞÀ¸¸é µÇÁö¸¸
  ¿©±â¼­´Â GT3 ¿Í °°Àº È£½ºÆ®¿¡ SimpleCA ¸¦ ¼³Ä¡ÇÑ´Ù°í °¡Á¤ÇÑ´Ù
  
  gpt-build ¸¦ ÀÌ¿ëÇÏ¿© ¼³Ä¡ Áغñ¸¦ ½ÃŲ´Ù(make ¿Í ºñ½ÁÇÑ µ¿ÀÛÀÌ´Ù)
  Âü°í·Î gpt-build ¿Í gpt-postinstall Àº $GLOBUS_LOCATION/sbin ¿¡ ÀÖÀ¸¸ç
  ÀÌ¹Ì ¼³Ä¡Çß¾ú´Âµ¥ ´Ù½Ã ¼³Ä¡ÇÒ °æ¿ì´Â µÎ ¸í·É¾î ¸ðµÎ -force ¿É¼ÇÀ» ÁÖ¸é µ¤¾î¾²°Ô µÈ´Ù
  ¾Æ·¡ ¼³Ä¡È­¸é¿¡¼­ <<<<???>>>> Ç¥½Ã´Â Á÷Á¢ ÀÔ·ÂÇÏ´Â ºÎºÐÀÌ´Ù
  <<<<ºñ¹Ð¹øÈ£>>>>´Â SimpleCA ÀÎÁõ¿ë ºñ¹Ð¹øÈ£ À̹ǷΠÀß ±â¾ïÇÒ ¼ö ÀÖ´Â °ÍÀ¸·Î ÀÔ·ÂÇÏ°í
  Àؾî¹ö¸®Áö ¾Êµµ·Ï Àû¾îµÐ´Ù
    [root@myhome root]$ gpt-build globus_simple_ca_bundle-latest.tar.gz gcc32dbg
    [root@myhome root]$ gpt-postinstall

    running /usr/local/gt3/setup/globus/setup-simple-ca...

        C e r t i f i c a t e    A u t h o r i t y    S e t u p

    This script will setup a Certificate Authority for signing Globus
    users certificates.  It will also generate a simple CA package
    that can be distributed to the users of the CA.

    The CA information about the certificates it distrubtes will
    be kept in:

    /root/.globus/simpleCA/

    The unique subject name for this CA is:

    cn=Globus Simple CA, ou=simpleCA-myhome.ssu.ac.kr, ou=GlobusTest, o=Grid

    Do you want to keep this as the CA subject (y/n) [y]:<<<<y>>>>

    Enter the email of the CA (this is the email where certificate
    requests will be sent to be signed by the CA):<<<<CA ¸¦ ¿î¿µÇÒ À̸ÞÀÏ>>>>

    The CA certificate has an expiration date. Keep in mind that
    once the CA certificate has expired, all the certificates
    signed by that CA become invalid.  A CA should regenerate
    the CA certificate and start re-issuing ca-setup packages
    before the actual CA certificate expires.  This can be done
    by re-running this setup script.  Enter the number of DAYS
    the CA certificate should last before it expires.
    [default: 5 years (1825 days)]:<<<<±×³É enter key>>>>

    Using configuration from /root/.globus/simpleCA//grid-ca-ssl.conf
    Generating a 1024 bit RSA private key
    .........++++++
    .........................................................++++++
    writing new private key to '/root/.globus/simpleCA//private/cakey.pem'
    Enter PEM pass phrase:<<<<ºñ¹Ð¹øÈ£>>>>
    Verifying password - Enter PEM pass phrase:<<<<ºñ¹Ð¹øÈ£ ´Ù½Ã>>>>
    ...
    ...    
    setup-ssl-utils: Complete
  
  ¼³Ä¡°¡ ¿Ï·áµÇ¾úÀ¸¹Ç·Î ¼³Ä¡µÈ µð·ºÅ丮·Î °¡º¸ÀÚ
    [root@myhome root]$ cd /root/.globus/simpleCA
  
  ±× µð·ºÅ丮¿¡ º¸¸é 'globus_simple_ca_[CA-HASH]_setup-0.12.tar.gz' ÆÄÀÏÀÌ ÀÖÀ»°ÍÀÌ´Ù
  [CA-HASH] ºÎºÐÀº 16Áø¼ö 8 ÀÚ¸®·Î ÀÌ°ÍÀº SimpleCA ¸¶´Ù Ʋ¸®´Ù
  ÀÌ ÆÄÀÏÀº Áö±Ý ¼³Ä¡ÇÑ SimpleCA ÀÇ ÀÎÁõ¼­¸¦ ¼³Ä¡ÇÒ ¼ö ÀÖ´Â ÆÄÀϵéÀÌ µé¾îÀִµ¥ ÀÌ SimpleCA·Î
  ºÎÅÍ ÀÎÁõÀ» ¹Þ°íÀÚ Çϴ ȣ½ºÆ®³ª À¯Àú´Â ¹Ýµå½Ã ÀÌ ÆÄÀÏÀ» ¹Þ¾Æ´Ù°¡ ¼³Ä¡ÇØ¾ß ÇÑ´Ù
  ÁÖÀÇÇÒ°ÍÀº ¿©±â¼­´Â GT3 ¸¦ ¼³Ä¡ÇÑ È£½ºÆ®¿¡ SimpleCA µµ °°ÀÌ ¼³Ä¡ÇÏ´Â »óȲÀ̹ǷΠÀÌ¹Ì ÀÌ
  ÆÄÀÏÀÌ ÇöÀç È£½ºÆ®¿¡ Àִ°ÍÀÌÁö¸¸ GT3 ¸¸ ¼³Ä¡µÇ¾î ÀÖ´Â ´Ù¸¥ È£½ºÆ®¿¡¼­ ÀÌ SimpleCA ·Î ºÎÅÍ
  ÀÎÁõÀ» ¹ÞÀ»¶§´Â ÀÌ ÆÄÀÏÀ» ÇØ´ç È£½ºÆ®¿¡ Á־ ¼³Ä¡Åä·Ï ÇؾßÇÑ´Ù
  
  ±×·³ ¼³Ä¡Çغ¸ÀÚ  
    [root@myhome simpleCA]# gpt-build globus_simple_ca_[CA-HASH]_setup-0.12.tar.gz gcc32dbg
    [root@myhome simpleCA]# gpt-postinstall
    
  root CA ÀÎÁõ¼­ ¼³Ä¡ÇÒ¶§¿Í ¶È°°ÀÌ /usr/local/gt3/setup µð·ºÅ丮·Î °¡º»´Ù
  °Å±â¿¡´Â Simple CA ÀÇ ÀÎÁõ¼­¸¦ ¼³Ä¡ÇÒ ¼ö ÀÖ´Â µð·ºÅ丮°¡ globus_simple_ca_[CA-HASH]_setup
  ÇüÅ·Π¸¸µé¾îÁ® ÀÖÀ»°ÍÀÌ´Ù
  À̰͵µ µð·ºÅ丮 ¾ÈÀÇ setup-gsi ¸¦ ½ÇÇàÇÏ¿© SimpleCAÀÇ ÀÎÁõ¼­¸¦ ¼³Ä¡ÇÑ´Ù
  
    [root@myhome root]$ /usr/local/gt3/setup/globus_simple_ca_[CA-HASH]_setup/setup-gsi

    setup-gsi: Configuring GSI security
    Installing /etc/grid-security/certificates//grid-security.conf.[CA-HASH]...
    Running grid-security-config...
    
       G S I   :   C O N F I G U R A T I O N   P R O C E D U R E

    Before you use the Grid Security Infrastructure, you should first
    define the DN (distinguished name) that should be used for your
    organization's X509 certificates.  If you do not define a DN,
    a default DN will be assigned to you.

    This script will ask some questions about site specific
    information. This information is used to configure
    the Grid Security Infrastructure for your site.

    For some questions, a default response is given in [].
    Pressing RETURN in response to such a question will enable the default.
    This script will overwrite the file --

     /etc/grid-security/certificates//grid-security.conf.[CA-HASH]

    Do you wish to continue (y/n) [y] : <<<<y>>>>
    ========================================================================
    (1) Base DN for user certificates
             [ ou=ssu.ac.kr, ou=simpleCA-myhome.ssu.ac.kr, ou=GlobusTest, o=Grid ]
    (2) Base DN for host certificates
             [ ou=simpleCA-myhome.ssu.ac.kr, ou=GlobusTest, o=Grid ]
    ========================================================================
    (q) save, configure the GSI and Quit
    (c) Cancel (exit without saving or configuring)
    (h) Help
    ========================================================================

    <<<<q>>>>
    Installing Globus CA certificate into trusted CA certificate directory...
    Installing Globus CA signing policy into trusted CA certificate directory...
    setup-gsi: Complete  
    
  ¸¶Âù°¡Áö·Î ÀÌ Simple CA ÀÇ ÀÎÁõ¼­µµ /etc/grid-security/certificates ¿¡ ÀÎÁõ¼­°¡ µé¾î°£´Ù
  µ¿ÀÏÇÑ [CA-HASH] °ªÀ» °°Àº ÆÄÀϵéÀÌ 5°³¾¿ µÎ½ÖÀÌ ÀÖÀ»°ÍÀÌ´Ù
  ´ç¿¬È÷ µÎ½ÖÀº Root CA ÀÇ ÀÎÁõ¼­¿Í Simple CA ÀÇ ÀÎÁõ¼­¸¦ ³ªÅ¸³½´Ù
  
7.»ç¿ëÀÚ ¹× È£½ºÆ® ÀÎÁõ ¹Þ±â
  GT3 ¸¦ ¼³Ä¡ÇÑ È£½ºÆ®(host)¸¦ »ç¿ëÀÚµéÀº ½Å·ÚÇÏ°í »ç¿ëÇÒ ¼ö Àִ°¡?
  ¹Ý´ë·Î GT3 ¿¡ ÀÛ¾÷À» ¿äûÇÏ´Â »ç¿ëÀÚ(user)¸¦ GT3 ´Â ½Å·ÚÇÒ ¼ö Àִ°¡?
  ÀÌ·± ½Å·Ú ¹®Á¦¸¦ ÇØ°áÇϱâ À§ÇÏ¿© ÀÎÁõ¼­°¡ ÇÊ¿äÇÑ°ÍÀ̸ç À̸¦ ¿î¿µÇÒ SimpleCA °¡ ÇÊ¿äÇÑ°ÍÀÌ´Ù
  Áï GT3 ¸¦ ¼³Ä¡ÇÑ È£½ºÆ®¿Í À̸¦ »ç¿ëÇÒ »ç¿ëÀÚ ¸ðµÎ SimpleCA ·Î ºÎÅÍ ÀÎÁõÀ» ¹Þ¾Æ¾ß ÇÑ´Ù
  ±×·³ »ç¿ëÀÚ ÀÎÁõ(user certificate) ºÎÅÍ ¹Þ¾Æº¸ÀÚ

  ÀÌ ¹®¼­ÀÇ Ã³À½¿¡ Globus ¿¡ ÀÛ¾÷À» ¿äûÇϴ Ŭ¶óÀ̾ðÆ®·Î¼­ÀÇ »ç¿ëÀÚ(user)·Î °èÁ¤À» Çϳª ¸¸µé¾ú´Ù
  ¿©±â¼­´Â cozykyd ¶ó´Â °èÁ¤À¸·Î ¸¸µé¾ú´Âµ¥ ÀÌ »ç¿ëÀÚ¸¦ ÀÎÁõÇغ¸°Ú´Ù
  ¸ÕÀú cozykyd °èÁ¤À¸·Î grid-cert-request ¸í·É¾î¸¦ »ç¿ëÇÏ¿© PKI ¿¡¼­ ¸»ÇÏ´Â °³ÀÎÅ°(userkey.pem)¿Í
  °ø°³Å°(usercert_request.pem)¸¦ ¸¸µç´Ù
  ÀÎÁõÀ» ¹Þ´Â´ÙÇÔÀº »ç¿ëÀÚ°¡ Á¦ÃâÇÑ °ø°³Å°¸¦ SimpleCA °¡ ÀÎÁõÇÏ¿© X.509 ÇüÅÂÀÇ ÀÎÁõ¼­·Î µ¹·ÁÁÖ´Â
  ÀÏ·ÃÀÇ µ¿ÀÛÀ» ¸»ÇÑ´Ù. ÀÎÁõ ¿äûÀ» ÇϱâÀü¿¡ ¸ÕÀú °³ÀÎÅ°¿Í °ø°³Å°¸¦ ¸¸µéÀÚ
  -cn ¿É¼Ç¿¡´Â º»ÀÎ À̸§À» -ca ´Â ÀÎÁõ ¹Þ°íÀÚ ÇÏ´Â CA (¿©±â¼­´Â SimpleCA)ÀÇ [CA_HASH] °ªÀ» Àû´Â´Ù
  [CA_HASH] °ªÀº /etc/grid-security/certificates ¿¡ ÀÖ´Â ÆÄÀϵéÀ» º¸¸é 16Áø¼ö 8 ÀÚ¸®°¡ º¸ÀδÙ.
  root CA ·Î ºÎÅÍ´Â ÀÎÁõÀ» ¹ÞÀ» ÇÊ¿ä°¡ ¾øÀ¸¹Ç·Î ¿ì¸®°¡ ¼³Ä¡ÇÑ SimpleCA ·Î ºÎÅ͸¸ ÀÎÁõÀ» ¹Þ´Â´Ù
  ¿©±â¼­´Â SimpleCAÀÇ [CA_HASH] Àº e2d60fc6 ¶ó°í °¡Á¤ÇÑ´Ù. °¢ »ç¿ëÀÚ °èÁ¤À¸·Î ½Ç½ÃÇÑ´Ù
    [cozykyd@myhome cozykyd]$ grid-cert-request -cn "Young Dae Kim" -ca e2d60fc6
    Using CA: e2d60fc6 - /O=Grid/OU=GlobusTest/OU=simpleCA-myhome.ssu.ac.kr/CN=Globus Simple CA

    A certificate request and private key is being created.
    You will be asked to enter a PEM pass phrase.
    This pass phrase is akin to your account password,
    and is used to protect your key file.
    If you forget your pass phrase, you will need to
    obtain a new certificate.

    Using configuration from /etc/grid-security/certificates/globus-user-ssl.conf.e2d60fc6
    Generating a 1024 bit RSA private key
    ......................++++++
    ..................................................................++++++
    writing new private key to '/home/cozykyd/.globus/userkey.pem'
    Enter PEM pass phrase:<<<<ºñ¹Ð¹øÈ£>>>>
    Verifying password - Enter PEM pass phrase:<<<<ºñ¹Ð¹øÈ£ ´Ù½Ã>>>>
    -----
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Level 0 Organization [Grid]:Level 0 Organizational Unit [GlobusTest]:
       Level 1 Organizational Unit [simpleCA-myhome.ssu.ac.kr]:
       Level 2 Organizational Unit [ssu.ac.kr]:Name (e.g., John M. Smith) []:

    A private key and a certificate request has been generated with the subject:

    /O=Grid/OU=GlobusTest/OU=simpleCA-myhome.ssu.ac.kr/OU=ssu.ac.kr/CN=Young Dae Kim

    If the CN=Young Dae Kim is not appropriate, rerun this
    script with the -force -cn "Common Name" options.

    Your private key is stored in /home/cozykyd/.globus/userkey.pem
    Your request is stored in /home/cozykyd/.globus/usercert_request.pem

    Please e-mail the request to the Globus Simple CA cozy@hanmail.net
    You may use a command similar to the following:

      cat /home/cozykyd/.globus/usercert_request.pem | mail cozy@hanmail.net

    Only use the above if this machine can send AND receive e-mail. if not, please
    mail using some other method.

    Your certificate will be mailed to you within two working days.
    If you receive no response, contact Globus Simple CA at cozy@hanmail.net
    
  cozykyd ÀÇ È¨µð·ºÅ丮¸¦ »ìÆ캸¸é .globus ¶ó´Â µð·ºÅ丮°¡ »ý¼ºµÇ¾î ÀÖÀ»°ÍÀÌ´Ù
  userkey.pem ´Â °³ÀÎÅ°, usercert_request.pem ´Â °ø°³Å°ÀÌ´Ù
  usercert.pem ´Â 0¹ÙÀÌÆ®·Î ºñ¾îÀִµ¥ ÀÌÀ¯´Â usercert_request.pem ´Â ´ÜÁö °ø°³Å°À̹ǷΠÀ̸¦
  SimpleCA ·Î ºÎÅÍ ÀÎÁõ¹ÞÀ¸¸é usercert.pem °¡ ÀÎÁõµÈ ÆÄÀÏÀÌ µÈ´Ù
  usercert_request.pem ´Â ¾ÆÁ÷ SimpleCA ·Î ºÎÅÍ X.509 ÇüÅ·ΠÀÎÁõÀ» ¹ÞÁö¾ÊÀº°ÍÀ̹ǷÎ
  SimpleCA ¿¡ º¸³»¾î ÀÎÁõÀ» ¹Þµµ·Ï ÇÏÀÚ
  SimpleCA °¡ ´Ù¸¥ È£½ºÆ®¿¡ ÀÖ´Ù¸é SimpleCA °ü¸®ÀÚ¿¡°Ô ¸ÞÀϵîÀ¸·Î usercert_request.pem ¸¦ º¸³»¾î
  ÀÎÁõÀ» ¿äûÇÏÁö¸¸ ¿©±â¼­´Â °°Àº È£½ºÆ®¿¡ GT3¿Í SimpleCA °¡ ¼³Ä¡µÇ¾î ÀÖÀ¸¹Ç·Î ¹Ù·Î ÀÎÁõÀ» ÇÑ´Ù
  SimpleCA ´Â root °¡ °ü¸®ÇϹǷΠ°èÁ¤À» root ·Î ¹Ù²Û´Ù
    [root@myhome root]# cd /root/.globus/simpleCA/newcerts
    [root@myhome newcerts]# grid-ca-sign -in ~cozykyd/.globus/usercert_request.pem -out usercert.pem
    Enter password for the CA key:<<<<ºñ¹Ð¹øÈ£>>>>
    The new signed certificate is at: /root/.globus/simpleCA//newcerts/01.pem
  
  <<<<ºñ¹Ð¹øÈ£>>>>´Â SimpleCA ¼³Ä¡½Ã ÀÔ·ÂÇß´ø ºñ¹Ð¹øÈ£ÀÌ´Ù
  Âü°í·Î -in Àº usercert_request.pem ¸¦ -out Àº usercert.pem ¸¦ ÁöÁ¤ÇÏ´Â ¿É¼ÇÀÌ´Ù
  newcerts µð·ºÅ丮¿¡ º¸¸é usercert.pem °¡ »ý¼ºµÈ°ÍÀ» º¸°ÔµÇ´Âµ¥ ÀÌ°ÍÀÌ usercert_request.pem ¸¦
  ÀÎÁõÇÑ ÆÄÀÏÀÌ´Ù. SimpleCA °¡ ´Ù¸¥ È£½ºÆ®¿¡ ÀÖ¾ú´Ù¸é SimpleCA °ü¸®ÀÚ´Â ÀÌ ÆÄÀÏÀ» ¸ÞÀϵîÀ¸·Î
  º¸³»ÁÖ¸é µÇÁö¸¸ ¿©±â¼­´Â °°Àº È£½ºÆ®¿¡ ¼³Ä¡µÈ SimpleCA ·Î ÀÎÁõÇÑ°ÍÀ̹ǷΠ±×³É º¹»çÇØ ÁØ´Ù
    [root@myhome newcerts]# cp usercert.pem /home/cozykyd/.globus/
    cp: overwrite `/home/cozykyd/.globus/usercert.pem'? y
    
  ÀÌÁ¦´Â È£½ºÆ®(host) ÀÎÁõÀ» ÇÒ Â÷·ÊÀÌ´Ù. °úÁ¤Àº »ç¿ëÀÚ ÀÎÁõ°ú µ¿ÀÏÇÏ´Ù. ÀÛ¾÷Àº root ·Î ÇÑ´Ù
  »ç¿ëÀÚ(uset) ÀÎÁõ°ú ¸¶Âù°¡Áö·Î ÀÎÁõ ¿äûÀ» ÇϱâÀü¿¡ ¸ÕÀú °³ÀÎÅ°¿Í °ø°³Å°¸¦ ¸¸µéÀÚ
  -host ¿É¼ÇÀº È£½ºÆ® À̸§À» -ca ´Â ÀÎÁõ ¹Þ°íÀÚ ÇÏ´Â CA (¿©±â¼­´Â SimpleCA)ÀÇ [CA_HASH] °ªÀ» Àû´Â´Ù
  È£½ºÆ®ÀÇ °ø°³Å°¿Í °³ÀÎÅ°´Â /etc/grid-security ¿¡ »ý¼ºµÈ´Ù
    [root@myhome root]# grid-cert-request -service host -host myhome.ssu.ac.kr -ca e2d60fc6
    Using CA: e2d60fc6 - /O=Grid/OU=GlobusTest/OU=simpleCA-myhome.ssu.ac.kr/CN=Globus Simple CA

    Using configuration from /etc/grid-security/certificates/globus-host-ssl.conf.e2d60fc6
    Generating a 1024 bit RSA private key
    .................++++++
    ..............++++++
    writing new private key to '/etc/grid-security/hostkey.pem'
    -----
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Level 0 Organization [Grid]:Level 0 Organizational Unit [GlobusTest]:
    Level 1 Organizational Unit [simpleCA-myhome.ssu.ac.kr]:Name (e.g., John M. Smith) []:

    A private host key and a certificate request has been generated
    with the subject:

    /O=Grid/OU=GlobusTest/OU=simpleCA-myhome.ssu.ac.kr/CN=host/myhome.ssu.ac.kr

    ----------------------------------------------------------

    The private key is stored in /etc/grid-security/hostkey.pem
    The request is stored in /etc/grid-security/hostcert_request.pem

    Please e-mail the request to the Globus Simple CA cozy@hanmail.net
    You may use a command similar to the following:

     cat /etc/grid-security/hostcert_request.pem | mail cozy@hanmail.net

    Only use the above if this machine can send AND receive e-mail. if not, please
    mail using some other method.

    Your certificate will be mailed to you within two working days.
    If you receive no response, contact Globus Simple CA at cozy@hanmail.net  
  
  /etc/grid-security ¸¦ º¸¸é hostkey.pem ´Â °³ÀÎÅ°, hostcert_request.pem ´Â °ø°³Å°ÀÌ´Ù
  hostcert.pem ´Â 0¹ÙÀÌÆ®·Î ºñ¾îÀִµ¥ ÀÌÀ¯´Â hostcert_request.pem ´Â ´ÜÁö °ø°³Å°À̹ǷΠÀ̸¦
  SimpleCA ·Î ºÎÅÍ ÀÎÁõ¹ÞÀ¸¸é hostcert.pem °¡ ÀÎÁõµÈ ÆÄÀÏÀÌ µÈ´Ù
  hostcert_request.pem ´Â ¾ÆÁ÷ SimpleCA ·Î ºÎÅÍ X.509 ÇüÅ·ΠÀÎÁõÀ» ¹ÞÁö¾ÊÀº°ÍÀ̹ǷÎ
  SimpleCA ¿¡ º¸³»¾î ÀÎÁõÀ» ¹Þµµ·Ï ÇÏÀÚ
  SimpleCA °¡ ´Ù¸¥ È£½ºÆ®¿¡ ÀÖ´Ù¸é SimpleCA °ü¸®ÀÚ¿¡°Ô ¸ÞÀϵîÀ¸·Î hostcert_request.pem ¸¦ º¸³»¾î
  ÀÎÁõÀ» ¿äûÇÏÁö¸¸ ¿©±â¼­´Â °°Àº È£½ºÆ®¿¡ GT3¿Í SimpleCA °¡ ¼³Ä¡µÇ¾î ÀÖÀ¸¹Ç·Î ¹Ù·Î ÀÎÁõÀ» ÇÑ´Ù
    [root@myhome root]# cd /root/.globus/simpleCA/newcerts
    [root@myhome newcerts]# grid-ca-sign -in /etc/grid-security/hostcert_request.pem -out hostcert.pem
    Enter password for the CA key:<<<<ºñ¹Ð¹øÈ£>>>>
    The new signed certificate is at: /root/.globus/simpleCA//newcerts/02.pem
  
  <<<<ºñ¹Ð¹øÈ£>>>>´Â SimpleCA ¼³Ä¡½Ã ÀÔ·ÂÇß´ø ºñ¹Ð¹øÈ£ÀÌ´Ù
  Âü°í·Î -in Àº hostcert_request.pem ¸¦ -out Àº hostcert.pem ¸¦ ÁöÁ¤ÇÏ´Â ¿É¼ÇÀÌ´Ù
  newcerts µð·ºÅ丮¿¡ º¸¸é hostcert.pem °¡ »ý¼ºµÈ°ÍÀ» º¸°ÔµÇ´Âµ¥ ÀÌ°ÍÀÌ hostcert_request.pem ¸¦
  ÀÎÁõÇÑ ÆÄÀÏÀÌ´Ù. SimpleCA °¡ ´Ù¸¥ È£½ºÆ®¿¡ ÀÖ¾ú´Ù¸é SimpleCA °ü¸®ÀÚ´Â ÀÌ ÆÄÀÏÀ» ¸ÞÀϵîÀ¸·Î
  º¸³»ÁÖ¸é µÇÁö¸¸ ¿©±â¼­´Â °°Àº È£½ºÆ®¿¡ ¼³Ä¡µÈ SimpleCA ·Î ÀÎÁõÇÑ°ÍÀ̹ǷΠ±×³É º¹»çÇØ ÁØ´Ù
    [root@myhome newcerts]# cp hostcert.pem /etc/grid-security
    cp: overwrite `/etc/grid-security/hostcert.pem'? y

8.MMJFS ¼³Ä¡
  MMJFS(Master Managed Job Factory Service) ¸¦ ¼³Ä¡Çϱâ À§ÇÏ¿© globus °èÁ¤À¸·Î ¹Ù²Ù°í GT3 ¾ÐÃàÀ» Ǭ
  µð·ºÅ丮·Î À̵¿ÇÏ¿© /usr/local/gt3 ¿¡ ¼³Ä¡ÇÑ´Ù
    [globus@myhome globus]$ cd /home/globus/gt3.0.2-linux-installer
    [globus@myhome gt3.0.2-linux-installer]$ ./install-gt3-mmjfs /usr/local/gt3
    Build environment:
    ant is hashed (/usr/local/apache-ant-1.5.3-1/bin/ant)
    java is /usr/java/j2sdk1.4.0_04/bin/java
    gcc is /usr/bin/gcc
    
    gpt-build ====> CHECKING BUILD DEPENDENCIES FOR globus_core
    SKIPPING REBUILD of gcc32dbg
    gpt-build ====> CHECKING BUILD DEPENDENCIES FOR grim
    gpt-build ====> Changing to /home/globus/gt3.0.2-linux-installer/BUILD/grim-src/
    gpt-build ====> BUILDING FLAVOR
    ...
    ...
    postDeploy:
       [delete] Deleting directory /usr/local/gt3/build/gar
         [copy] Copying 1 file to /usr/local/gt3

    BUILD SUCCESSFUL
    Total time: 8 seconds    
    
  MMJFSÀÇ setuid¸¦ ¼³Á¤Çϱâ À§ÇÏ¿© root °èÁ¤À¸·Î GT3 ¼³Ä¡µð·ºÅ丮·Î À̵¿ÇÏ¿© setperms.sh ¸¦ ½ÇÇàÇÑ´Ù  
    [root@myhome root]# cd /usr/local/gt3
    [root@myhome gt3]# ./bin/setperms.sh  
  
9.½ÇÇà ȯ°æ ¼³Á¤
  GT3 ¿¡ ÀÛ¾÷À» ¿äûÇÒ¶§ proxy °¡ »ç¿ëµÈ´Ù´Â°ÍÀ» ÀÍÈ÷ ¾Ë°í ÀÖÀ»°ÍÀÌ´Ù
  grid-proxy-init ¸í·É¾î·Î proxy ¸¦ ÃʱâÈ­ÇØ º¸ÀÚ. ÀÛ¾÷À» ¿äûÇÒ »ç¿ëÀÚ °èÁ¤À¸·Î ½ÇÇàÇÑ´Ù
  (GT3 ¿¡ ÀÛ¾÷(job)À» ¿äûÇϴ Ŭ¶óÀ̾ðÆ®·Î¼­ÀÇ »ç¿ëÀÚ °èÁ¤ cozykyd ¸¦ ¸¸µé¾ú¾ú´Ù)
  Âü°í·Î grid-proxy-init Àº ±âº» 12½Ã°£µ¿¾È À¯È¿ÇϹǷΠ½Ã°£ÀÌ Áö³ª¸é ´Ù½Ã grid-proxy-init ÇÑ´Ù
    [cozykyd@myhome 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

  »ç¿ëÀÚ proxy Á¤º¸´Â grid-proxy-info ·Î È®ÀÎÇÑ´Ù
    [cozykyd@myhome 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

  GT3 ¿¡ ÀÛ¾÷(jon)À» ¿äûÇÒ ¼ö ÀÖ´Â »ç¿ëÀÚ °èÁ¤ Á¤º¸¸¦ ¸í½ÃÀûÀ¸·Î GT3 ¿¡ ¾Ë·ÁÁÖ¾î¾ß Çϴµ¥
  ÀÌ´Â grid-mapfile À̶ó´Â ÆÄÀÏÀ» »ý¼ºÇÏ¿© Àû¾îÁÖ¸é µÈ´Ù
  »ç¿ëÀÚ °èÁ¤ÀÇ grid-proxy-info ¸í·É¾î·Î ³ªÅ¸³ª´Â identity ºÎºÐÀÇ ³»¿ëÀ» º¹»çÇÏ¿© "" »çÀÌ¿¡ ³Ö°í
  ÇϳªÀÇ °ø¹éÀ̳ª ÅÇÅ°¸¦ Ä£ ÈÄ¿¡ °èÁ¤À̸§À» ó³Ö´Â´Ù
    [root@myhome 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"     cozykyd
  
  Âü°í·Î GT3´Â ÇöÀç grid-mapfile ¿¡ ´ëÇÑ º¯È­¸¦ ÀÚµ¿À¸·Î ¾Ë ¼ö ¾ø±â ¶§¹®¿¡, grid-mapfile À» ¼öÁ¤
  ÇÒ ¶§¸¶´Ù GT3 ÄÁÅ×À̳ʸ¦ ´Ù½Ã ½ÃÀÛÇØ¾ß ÇÑ´Ù.

  ¶ÇÇÑ grim-port-type.xml ÆÄÀϵµ »ý¼ºÇÏ¿© ¾Æ·¡ÀÇ ³»¿ëÀ» ³Ö´Â´Ù(cozykyd ºÎºÐÀº »ç¿ëÀÚ °èÁ¤)
    [root@myhome root]# vi /etc/grid-security/grim-port-type.xml
    <authorized_port_types>
      <port_type username="cozykyd">http://www.globus.org/namespaces/managed_job/managed_job/ManagedJobPortType</port_type>
    </authorized_port_types>
  
  GT3 ÄÁÅ×À̳ʸ¦ ½ÃÀÛÇϱ⿡ ¾Õ¼­ ÄÁÅ×À̳ʰ¡ »ç¿ëÇÏ´Â µ¿Àû ¶óÀ̺귯¸®°¡ ¼³Á¤µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÑ ÈÄ
  /usr/local/gt3/lib ¸¦ ³¡¿¡ Ãß°¡ÇÑ´Ù
    [root@myhome root]# vi /etc/ld.so.conf
    /usr/lib
    /usr/kerberos/lib
    /usr/X11R6/lib
    /usr/lib/qt-3.0.3/lib
    /usr/lib/qt2/lib
    /usr/lib/sane
    /usr/local/gt3/lib    
  µ¿Àû ¶óÀ̺귯¸® ȯ°æÀÌ º¯°æµÇ¾úÀ¸¹Ç·Î À̸¦ ¾Æ·¡ ¸í·É¾î·Î ½Ã½ºÅÛ¿¡ ¹Ý¿µÇÑ´Ù
    [root@myhome root]# /sbin/ldconfig
    
10.GT3 ÄÁÅ×ÀÌ³Ê ½ÇÇàÇϱâ
  GT3 ÄÁÅ×À̳ʸ¦ ½ÃÀÛÇϱâ À§Çؼ­ ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÑ´Ù. GT3 ÄÁÅ×À̳ʸ¦ ½ÃÀÛÇϸé, ÀÌ¿ë°¡´ÉÇÑ
  ¼­ºñ½ºÀÇ ¸ñ·ÏÀÌ È­¸é¿¡ Ãâ·ÂµÈ´Ù. globus °èÁ¤À¸·Î ¹Ù²Ù°í GT3 ¼³Ä¡ µð·ºÅ丮·Î À̵¿ÇÏ¿©
  ´ÙÀ½°ú °°ÀÌ globus-start-container ¸í·É¾î¸¦ ½ÇÇàÇÑ´Ù
    [globus@myhome globus]# cd /usr/local/gt3
    [globus@myhome gt3]# bin/globus-start-container -p 8080  
    [11/27/2003 00:56:29:960 ] org.globus.ogsa.server.ServiceContainer [run:569] INFO: Starting SOAP server at: http://192.168.0.100:8080/ogsa/services/
    With the following persistent services:

    http://192.168.0.100:8080/ogsa/services/core/admin/AdminService
    http://192.168.0.100:8080/ogsa/services/core/management/OgsiManagementService
    http://192.168.0.100:8080/ogsa/services/core/registry/ContainerRegistryService
    http://192.168.0.100:8080/ogsa/services/core/jmsadapter/JMSAdapterFactoryService
    http://192.168.0.100:8080/ogsa/services/core/logging/OgsiLoggingService
    http://192.168.0.100:8080/ogsa/services/core/notification/httpg/NotificationSubscriptionFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/registry/VORegistryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/secure/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/notification/JMSCounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/notification/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/encoded/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/persistent/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/basic/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/delegation/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/routable/MasterRedirectedCounter
    http://192.168.0.100:8080/ogsa/services/samples/counter/routable/LocalCounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/generate/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/deactivation/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/soap-secure/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/counter/logging/CounterFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/exception/ExceptionFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/notification/SinkListenerFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/complex/NestedArrayFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/complex/NestedFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/weather/WeatherFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/serialization/SerializationService
    http://192.168.0.100:8080/ogsa/services/samples/google/GoogleSearchFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/any/AnyFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/servicedata/ServiceDataService
    http://192.168.0.100:8080/ogsa/services/samples/array/ArraySampleFactoryService
    http://192.168.0.100:8080/ogsa/services/samples/chat/ChatFactoryService
    http://192.168.0.100:8080/ogsa/services/ogsi/NotificationSubscriptionFactoryService
    http://192.168.0.100:8080/ogsa/services/ogsi/HandleResolverService
    http://192.168.0.100:8080/ogsa/services/base/gram/ResourceInformationProviderService
    http://192.168.0.100:8080/ogsa/services/base/gram/ForkManagedJobFactoryService
    http://192.168.0.100:8080/ogsa/services/base/gram/MasterForkManagedJobFactoryService
    http://192.168.0.100:8080/ogsa/services/base/index/IndexService
    http://192.168.0.100:8080/ogsa/services/base/servicegroup/ServiceGroupFactory
    http://192.168.0.100:8080/ogsa/services/base/servicegroup/ServiceGroupService
    http://192.168.0.100:8080/ogsa/services/base/streaming/FileStreamFactoryFactoryService
    http://192.168.0.100:8080/ogsa/services/base/multirft/MultiFileRFTFactoryService
    http://192.168.0.100:8080/ogsa/services/gsi/AuthenticationService
    http://192.168.0.100:8080/ogsa/services/gsi/SecureNotificationSubscriptionFactoryService
    http://192.168.0.100:8080/ogsa/services/gsi/SecureNotificationSubscriptionFactoryService/hash-6471319-1069862187977  
  
11.ÀÛ¾÷(job) Á¦ÃâÇϱâ
  Å¬¶óÀ̾ðÆ®·Î¼­ÀÇ »ç¿ëÀÚ°¡ proxy ¸¦ ÅëÇÏ¿© GT3 ÄÁÅ×À̳ʿ¡ ÀÛ¾÷À» Á¦ÃâÇÒ ¼ö ÀÖ´ÂÁö Å×½ºÆ® Çϱâ
  À§ÇÏ¿© ´ÙÀ½°ú °°ÀÌ »ç¿ëÀÚ °èÁ¤À¸·Î ¿¹Á¦¸¦ ½ÇÇàÇØ º»´Ù. ´ÙÀ½°ú °°Àº ÇüÅ·Π³ª¿À¸é Á¤»óÀÌ´Ù.
    [cozykyd@myhome cozykyd]$ managed-job-globusrun -factory http://myhome.ssu.ac.kr:8080/ogsa/services/base/gram/MasterForkManagedJobFactoryService -file /usr/local/gt3/etc/test.xml
    WAITING FOR JOB TO FINISH
    ========== Status Notification ==========
    Job Status: Done
    =========================================
    DESTROYING SERVICE
    SERVICE DESTROYED
  





4   [GRID] [°­ÁÂ] Metadata Catalog Service (MCS) ¼³Ä¡  ±è¿µ´ë 2003/11/29 7395 1809
3   [GRID] [°­ÁÂ] Replica Location Service (RLS) ¼³Ä¡  ±è¿µ´ë 2003/11/29 7476 1920
2   [GRID] [°­ÁÂ] GridFTP ¸¦ xinetd ¼­ºñ½º·Î µî·ÏÇÏ¿© »ç¿ëÇÏ±â  ±è¿µ´ë 2003/12/02 7778 2007
  [GRID] [°­ÁÂ] Globus Toolkit 3.0.2 + SimpleCA ¼³Ä¡  ±è¿µ´ë 2003/11/27 9491 1574

1
 

Copyright 1999-2025 Zeroboard / skin by zero