¥È¥Ã¥×¥Ú¡¼¥¸ » Solaris10 Zoneµ¡Ç½ » zonecfg¥³¥Þ¥ó¥É¤Çzone¤Ë¥×¡¼¥ë(pool)¤ò³ä¤êÅö¤Æ¤ë
¥«¥Æ¥´¥ê¡¼
Solaris10Âбþ¥³¡¼¥¹
¢£Solaris½é¿´¼Ô¸þ¤±
ÆþÌ祳¡¼¥¹¡¡
¥·¥¹¥Æ¥à´ÉÍý­µ¡¡¡Êx86ÈǤϤ³¤Á¤é¡Ë
¥·¥¹¥Æ¥à´ÉÍý­¶¡¡¡Êx86ÈǤϤ³¤Á¤é¡Ë
¥·¥¹¥Æ¥à´ÉÍý­·¡¡¡Êx86ÈǤϤ³¤Á¤é¡Ë
¥·¥¹¥Æ¥à´ÉÍý­¸¡¡¡Êx86ÈǤϤ³¤Á¤é¡Ë
¥Í¥Ã¥È¥ï¡¼¥¯´ÉÍý­µ
¥Í¥Ã¥È¥ï¡¼¥¯´ÉÍý­¶

¢£·Ð¸³¼Ô¡¦¾åµé¼Ô¸þ¤±
Solaris10¥È¥é¥Ö¥ë¥·¥å¡¼¥Æ¥£¥ó¥° ¡úNEW¡ú
¥»¥­¥å¥¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥µ¡¼¥Ð¡¼¹½ÃÛ ¡úNEW¡ú
Solaris 10 ZFS ´ÉÍý
Solaris 10¥³¥ó¥Æ¥Ê(¥¾¡¼¥ó)
·Ð¸³¼Ô¸þ¤±Â®½¬¥³¡¼¥¹
Solaris10¿·µ¡Ç½¡Ê¥·¥¹¥Æ¥à´ÉÍýÊÔ¡Ë
Solaris10¿·µ¡Ç½¡Ê¥Í¥Ã¥È¥ï¡¼¥¯ÊÔ¡Ë
Solaris ¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹´ÉÍý
DTrace ¤ò»È¤Ã¤¿¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¥Á¥å¡¼¥Ë¥ó¥°¤È ¥È¥é¥Ö¥ë¥·¥å¡¼¥Æ¥£¥ó¥°

Solaris 8/9 Âбþ¥³¡¼¥¹
¢£½é¿´¼Ô¸þ¤±
ǧÄê»î¸³Âкö¥³¡¼¥¹
UNIXÆþÌç
¥·¥¹¥Æ¥à´ÉÍý­µ
¥·¥¹¥Æ¥à´ÉÍý­¶
¥·¥¹¥Æ¥à´ÉÍý­·
¥Í¥Ã¥È¥ï¡¼¥¯´ÉÍý´ðÁÃ

¢£·Ð¸³¼Ô¡¦¾åµé¼Ô¸þ¤±
¥È¥é¥Ö¥ë¥·¥å¡¼¥Æ¥£¥ó¥°´ðÁÃ
OS¥»¥­¥å¥ê¥Æ¥£ for Solaris
Solaris ¥Í¥Ã¥È¥ï¡¼¥¯¿¯Æþ¸¡ÃÎ
Sun Ray ¥·¥¹¥Æ¥à¤Î¥¤¥ó¥¹¥È¡¼¥ë¤È´ÉÍý ¡úNEW¡ú
Sun Systems Fault Analysis Workshop
Crash Dump Analysis and the SunOS Kernel
Solaris¥¤¥ó¥¿¡¼¥Ê¥ë(ÆâÉô¹½Â¤)

¢£DNS,Apache,¥×¥í¥­¥·,¥á¡¼¥ë·Ï
Solaris10¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥µ¡¼¥Ð¡¼¹½ÃÛ ¡úNEW¡ú
¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥µ¡¼¥Ð¹½ÃÛ
¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥µ¡¼¥Ð¥»¥­¥å¥ê¥Æ¥£

¢£¥Ü¥ê¥å¡¼¥à´ÉÍý¡¢¥¯¥é¥¹¥¿·Ï
Solaris Volume Manager ´ÉÍý
VERITAS Volume Manager4.0´ÉÍý
Sun Cluster 3.x ´ÉÍý
Sun Cluster 3.2 ´ÉÍý ¡úNEW¡ú

¢£¥Ï¡¼¥É¥¦¥§¥¢¡¢¥á¥ó¥Æ¥Ê¥ó¥¹·Ï
Sun Fire¥µ¡¼¥Ð¡¼´ÉÍý
Sun Fire 15K ¥µ¡¼¥Ð¡¼´ÉÍý

¢£¥·¥§¥ë¥×¥í¥°¥é¥ß¥ó¥°·Ï
C¥·¥§¥ë¥×¥í¥°¥é¥ß¥ó¥°
B¥·¥§¥ë/K¥·¥§¥ë¥×¥í¥°¥é¥ß¥ó¥°

SunJavaSystem¥³¡¼¥¹
¢£¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£´ÉÍý
¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£´ÉÍý¡Ê´ðËÜÊÔ¡Ë
¥¢¥¤¥Ç¥ó¥Æ¥£¥Æ¥£´ÉÍý¡Ê±þÍÑÊÔ¡Ë
¥¢¥¯¥»¥¹¥Þ¥Í¡¼¥¸¥ã¡¼
¢£LDAP¥µ¡¼¥Ð¡¢¥á¡¼¥ë¥µ¡¼¥Ð
¥Ç¥£¥ì¥¯¥È¥ê¥µ¡¼¥Ó¥¹ 5.x
¥á¥Ã¥»¡¼¥¸¥ó¥°¥µ¡¼¥Ó¥¹ 5.x

zonecfg¥³¥Þ¥ó¥É¤Çzone¤Ë¥×¡¼¥ë(pool)¤ò³ä¤êÅö¤Æ¤ë

¡Ú¸¡¾Ú´Ä¶­¡Û
# more /etc/release
                         Solaris 10 3/05 s10_74L2a SPARC
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 22 January 2005

zonecfg¥³¥Þ¥ó¥É¤Ç°Ê²¼¤Î¤è¤¦¤Ëpool¤ò³ä¤êÅö¤Æ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£´û¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¥¾¡¼¥ó¤Ë³ä¤êÅö¤Æ¤ë¤È¤­¤ÏÀßÄê¸å¤Ë¥¾¡¼¥ó¤ÎºÆµ¯Æ°¤¬É¬ Íס£

# zonecfg -z zone1
zonecfg:zone1> set pool=zone1-pool
zonecfg:zone1> exit

°Ê²¼¤Î¤è¤¦¤ËÀßÄê¤ò³Îǧ¤¹¤ë¡£

# cat /etc/zones/zone1.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN" "file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
    DO NOT EDIT THIS FILE.  Use zonecfg(1M) instead.
-->
<zone name="zone1" zonepath="/export/zone1" autoboot="true" pool="zone1-pool">
  <inherited-pkg-dir directory="/lib"/>
  <inherited-pkg-dir directory="/platform"/>
  <inherited-pkg-dir directory="/sbin"/>
  <inherited-pkg-dir directory="/usr"/>
  <network address="192.168.110.101" physical="qfe0"/>
  <filesystem special="/opt/zone1" directory="/usr/local" type="lofs"/>
  <rctl name="zone.cpu-shares">
    <rctl-value priv="privileged" limit="20" action="none"/>
  </rctl>
</zone>

zone1¤ò¥ê¥Ö¡¼¥È¤·zone1¤Ë¥í¥°¥¤¥ó¤·¤Æ»È¤Ã¤Æ¤¤¤ëCPU¤ò³Îǧ¤·¤Æ¤ß¤ë¡£
¤Þ¤º¡¢¥°¥í¡¼¥Ð¥ë¥¾¡¼¥ó¤Ç¤Îpooladm¤Èmpstat¤Î·ë²Ì¤ò¤ß¤ë¡£

# pooladm

system domain-a
        string  system.comment
        int     system.version 1
        boolean system.bind-default true
        int     system.poold.pid 12948

        pool zone1-pool
                int     pool.sys_id 1
                boolean pool.active true
                boolean pool.default false
                int     pool.importance 1
                string  pool.comment
                pset    zone1-pset

        pool pool_default
                int     pool.sys_id 0
                boolean pool.active true
                boolean pool.default true
                int     pool.importance 1
                string  pool.comment
                pset    pset_default

        pset zone1-pset
                int     pset.sys_id 1
                boolean pset.default false
                uint    pset.min 1
                uint    pset.max 3
                string  pset.units population
                uint    pset.load 0
                uint    pset.size 3
                string  pset.comment

                cpu
                        int     cpu.sys_id 1
                        string  cpu.comment
                        string  cpu.status on-line

                cpu
                        int     cpu.sys_id 0
                        string  cpu.comment
                        string  cpu.status on-line

                cpu
                        int     cpu.sys_id 2
                        string  cpu.comment
                        string  cpu.status on-line

        pset pset_default
                int     pset.sys_id -1
                boolean pset.default true
                uint    pset.min 1
                uint    pset.max 65536
                string  pset.units population
                uint    pset.load 11
                uint    pset.size 1
                string  pset.comment

                cpu
                        int     cpu.sys_id 3
                        string  cpu.comment
                        string  cpu.status on-line
# mpstat
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0    1   0  906   603  502   35    0    3    1    0    10    3   0   0  97
  1    0   0    2   305  301   14    0    1    0    0     8    3   0   0  97
  2    1   0    3   305  301   58    1    5    1    0    14    3   0   0  97
  3    1   0    3   307  301   92    2    7    1    0    21    3   1   0  97

¾åµ­·ë²Ì¤«¤ézone1-pool ¤Ï zone1-pset ¤ËɳÉÕ¤±¤é¤ì¤Æ¤¤¤Æ zone1-pset ¤Ï¸½»þÅÀ¤Ç £³¤Ä¤ÎCPU¤ò»ý¤Ã¤Æ¤¤¤ë¤³¤È¤¬¤ï¤«¤ë¡£
¤Þ¤¿¡¢°Ê²¼¤Î¤è¤¦¤Ëzone1¤Ç¤âƱÍͤ˥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤ß¤¿¡£
ÀßÄêÄ̤ꡢzone1-pool¤òÍøÍѤ·¤Æ¤¤¤ë¤¿¤áCPU¤Ï³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë£³¤Ä¤À¤±¤·¤«É½¼¨¤µ¤ì¤Ê¤¤¡£pooladm¥³¥Þ¥ó¥É¤Ç¤â³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë ¥×¡¼¥ë(zone1-pool)¤È¥×¥í¥»¥Ã¥µ¥»¥Ã¥È(zone1-pset)¤Î¾ðÊó¤·¤«É½¼¨¤µ¤ì¤Ê¤¤¤³¤È¤¬¤ï¤«¤ë¡£

# zlogin zone1
[¥¾¡¼¥ó 'zone1' pts/4 ¤ËÀܳ¤µ¤ì¤Þ¤·¤¿]
Last login: Wed Mar 16 16:20:21 on pts/4
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
zone1#
zone1# mpstat
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0    1   0  906   603  502   35    0    3    1    0    10    3   0   0  97
  1    0   0    2   305  301   14    0    1    0    0     8    3   0   0  97
  2    1   0    3   305  301   58    1    5    1    0    14    3   0   0  97

zone1# pooladm

system domain-a
        string  system.comment
        int     system.version 1
        boolean system.bind-default true
        int     system.poold.pid 12948

        pool zone1-pool
                int     pool.sys_id 1
                boolean pool.active true
                boolean pool.default false
                int     pool.importance 1
                string  pool.comment
                pset    zone1-pset

        pset zone1-pset
                int     pset.sys_id 1
                boolean pset.default false
                uint    pset.min 1
                uint    pset.max 3
                string  pset.units population
                uint    pset.load 0
                uint    pset.size 3
                string  pset.comment

                cpu
                        int     cpu.sys_id 1
                        string  cpu.comment
                        string  cpu.status on-line

                cpu
                        int     cpu.sys_id 0
                        string  cpu.comment
                        string  cpu.status on-line

                cpu
                        int     cpu.sys_id 2
                        string  cpu.comment
                        string  cpu.status on-line

¡Ú¥¢¥ó¥±¡¼¥È¡Û
¤³¤Îµ­»ö¤Ï¤¿¤á¤Ë¤Ê¤ê¤Þ¤·¤¿¤«¡©
¡¡¡¡¡¡¤Ï¤¤¡¡¡¡/¡¡¡¡¤¤¤¤¤¨

My Yahoo!¤ËÄɲÃ


¥³¥á¥ó¥È
¥³¥á¥ó¥È¤¹¤ë









̾Á°¡¢¥¢¥É¥ì¥¹¤òÅÐÏ¿¤·¤Þ¤¹¤«?