scspd
[-f
⟨cfg-file⟩] [-d
]
[-T
⟨options⟩]
scspd
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢
Host ATM Research Platform (HARP)
¥Í¥Ã¥È¥ï¡¼¥¥ó¥°¥½¥Õ¥È¥¦¥§¥¢ÍѤΡ¢
¥µ¡¼¥Ð¥¥ã¥Ã¥·¥åƱ´ü¥×¥í¥È¥³¥ë
(Server Cache Synchronization Protocol; SCSP)
¤Î¼ÂÁõ¤Î¤Ò¤È¤Ä¤Ç¤¹¡£
scspd
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢
¤¢¤ë¥Û¥¹¥È¾å¤Î
(1 ¤Ä°Ê¾å¤Î)
¥µ¡¼¥Ð¤Î (1
¤Ä°Ê¾å¤Î)
¥¥ã¥Ã¥·¥å¤È¡¢
¥ê¥â¡¼¥È¥Û¥¹¥È¾å¤Î¥µ¡¼¥Ð¤Î¥¥ã¥Ã¥·¥å¤òƱ´ü¤µ¤»¤Þ¤¹¡£
SCSP
¤Ï¿¤¯¤Î°Û¤Ê¤Ã¤¿¥×¥í¥È¥³¥ë¤ËÂФ·¤ÆÄêµÁ¤µ¤ì¤Þ¤¹¤¬¡¢
¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Î
scspd
¤Ï ATMARP
¤Î¤ß¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£
scspd
¤È
atmarpd(8)
¤ò»ÈÍѤ¹¤ë¤È¡¢
ñ°ì¤Î ATM LIS
¤ËÂФ·¤ÆÊ£¿ô¤Î
ATMARP
¥µ¡¼¥Ð¤òÄ󶡤¹¤ë¤³¤È¤¬²Äǽ¤È¤Ê¤ê¤Þ¤¹¡£
Î㤨¤Ð¡¢
ŵ÷Î¥¥ê¥ó¥¯¤ÇÀܳ¤µ¤ì¤ëÊ£¿ô¤Î¥í¡¼¥«¥ë¥¨¥ê¥¢
ATM
¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¤è¤ê¡¢
LIS
¤¬¹½À®¤µ¤ì¤ë¾ì¹ç¤ËÍÍѤǤ·¤ç¤¦¡£
³Æ¥í¡¼¥«¥ë¥¨¥ê¥¢¥Í¥Ã¥È¥ï¡¼¥¯¤Ï³Æ¼«¤Î
ATMARP
¥µ¡¼¥Ð¤ò»ý¤Ä¤³¤È¤¬¤Ç¤¡¢
¤¹¤Ù¤Æ¤Î¥µ¡¼¥Ð¤Î¥¥ã¥Ã¥·¥å¤Ï
SCSP
¤Ë¤è¤êƱ´ü¤µ¤ì¤Þ¤¹¡£
¤³¤Î¤è¤¦¤Ê¾ì¹ç¡¢¤â¤·Ä¹µ÷Î¥¥ê¥ó¥¯¤¬ÀÚÃǤµ¤ì¤Æ¤â¡¢
¥í¡¼¥«¥ë¥¨¥ê¥¢¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Î¥Û¥¹¥È¤Ï¾¤Î¥í¡¼¥«¥ë¥Û¥¹¥È¤È¤ÎÀܳÀ¤òÊݤÁ¤Þ¤¹
(Á´¥í¡¼¥«¥ë¥Û¥¹¥È¤Ï¥í¡¼¥«¥ë¤Î
ATMARP
¥µ¡¼¥Ð¤ò»ÈÍѤ¹¤ë¤«¤é¤Ç¤¹)¡£
ŵ÷Î¥¥ê¥ó¥¯¤¬²óÉü¤¹¤ë¤È¡¢SCSP
¤Ï¥µ¡¼¥Ð¤Î¥¥ã¥Ã¥·¥å¤òºÆƱ´ü¤·¡¢
¥ê¥â¡¼¥È¥Û¥¹¥È¤È¤ÎÀܳÀ¤ò²óÉü¤·¤Þ¤¹¡£
ATMARP
¥¥ã¥Ã¥·¥å¤¬Æ±´ü¤µ¤ì¤ëÁ°¤Ë¡¢
scspd
¤È
atmarpd(8)
¤ÎξÊý¤¬Áö¹Ô¤·¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
scspd
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢
RFC 2334, Server Cache Synchronization Protocol
(SCSP) ¤ª¤è¤Ó
draft-ietf-ion-scspd-atmarpd-00.txt,
A Distributed ATMARP Service using SCSP
¤Ë¼¨¤µ¤ì¤ë¤è¤¦¤Ë
SCSP
¤ò¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£
scspd
¤¬¼Â¹Ô¤ò³«»Ï¤¹¤ë¤È¡¢
¼«¸Ê¤ËÍ¿¤¨¤é¤ì¤¿¥³¥Þ¥ó¥É¥é¥¤¥ó¤ò²òÀϤ·¡¢¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤Ë°Ü¹Ô¤·¤Þ¤¹¡£
SCSP
¤Ë´Ø¤¹¤ëÍѸì¤Ë¤Ïº®Í𤷤䤹¤¤¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£
¤³¤Îʸ½ñ¤Ç¤Ï¡¢¼¡¤ÎÄêµÁ¤ò»ÈÍѤ·¤Þ¤¹:
¥¯¥é¥¤¥¢¥ó¥È¥µ¡¼¥Ð
¤â¤·¤¯¤Ï
¥í¡¼¥«¥ë¥µ¡¼¥Ð
¤Ï¡¢ scspd
¤ÈƱ¤¸¥Û¥¹¥È¤Ç¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¥µ¡¼¥Ð¤ò°ÕÌ£¤·¤Þ¤¹¡£
¤³¤Î¥µ¡¼¥Ð¤Î¥¥ã¥Ã¥·¥å¤Ï¡¢Ê£¿ô¤Î¥ê¥â¡¼¥È¥µ¡¼¥Ð¤ÈƱ´ü¤µ¤ì¤Þ¤¹¡£
¥µ¡¼¥Ð
¤È¤¤¤¦¸ÀÍÕ¤¬Ã±ÆȤǻÈÍѤµ¤ì¤ë¾ì¹ç¡¢
¥¯¥é¥¤¥¢¥ó¥È¥µ¡¼¥Ð
¤ò°ÕÌ£¤·¤Þ¤¹¡£
¥ê¥â¡¼¥È¥µ¡¼¥Ð
¤Ï¡¢ scspd
¤¬¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¥Û¥¹¥È¤È¤ÏÊ̤Υۥ¹¥È¾å¤Ç¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¥µ¡¼¥Ð¤ò
°ÕÌ£¤·¤Þ¤¹¡£
ľÀÜÀܳ¤µ¤ì¤¿¥µ¡¼¥Ð
(Directly Connected Server; DCS) ¤Ï¡¢
scspd
¤¬Ä¾ÀÜÄÌ¿®¤ò¹Ô¤¦¥ê¥â¡¼¥È¥µ¡¼¥Ð¤ò°ÕÌ£¤·¤Þ¤¹¡£
¥ê¥â¡¼¥È¥µ¡¼¥Ð¤â¤Þ¤¿
SCSP
¤Î¼ÂÁõ¤Î¤Ò¤È¤Ä¤ò¼Â¹Ô¤·¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£
¥¥ã¥Ã¥·¥å¥¢¥é¥¤¥ó¥á¥ó¥È
(Cache Alignment; CA) ¤Ë¤Ï¡¢ 2
¤Ä¤Î°ÕÌ£¤¬¤¢¤ê¤Þ¤¹¡£
¥¥ã¥Ã¥·¥å¥¢¥é¥¤¥ó¥á¥ó¥È¥×¥í¥È¥³¥ë¤Ï
SCSP
¥×¥í¥È¥³¥ë»ÅÍͤΰìÉô¤Ç¤¢¤ê¡¢
¥¥ã¥Ã¥·¥å¥¢¥é¥¤¥ó¥á¥ó¥È͸¾õÂÖµ¡³£
(FSM) ¤Ï
¥¥ã¥Ã¥·¥å¥¢¥é¥¤¥ó¥á¥ó¥È¥×¥í¥È¥³¥ë¤ò¼ÂÁõ¤¹¤ë͸¾õÂÖµ¡³£¤Ç¤¹¡£
¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹:
-f
⟨cfg-file⟩
- ÀßÄê¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤷ¤Þ¤¹¡£
¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¤È¡¢
scspd
¤Ï¥Õ¥¡¥¤¥ë
/etc/scspd.conf
¤òõ¤·¤Þ¤¹¡£
-d
scspd
¤ò¥Ç¥Ð¥Ã¥°¥â¡¼¥É¤Ç¼Â¹Ô¤¹¤ë¤³¤È¤ò»ØÄꤷ¤Þ¤¹¡£
¥Ç¥Ð¥Ã¥°¥â¡¼¥É¤Ç¤Ï¡¢¥Ç¡¼¥â¥ó¤Ï¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤Ë¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
¥í¥°¥á¥Ã¥»¡¼¥¸¤Ï¡¢
ÀßÄê¥Õ¥¡¥¤¥ë¤Ë»ØÄꤵ¤ì¤¿¥í¥°¥Õ¥¡¥¤¥ë¤Ç¤Ï¤Ê¤¯¡¢É¸½à½ÐÎϤ˽ñ¤«¤ì¤Þ¤¹¡£
-T
⟨options⟩
- ¼Â¹Ô¤ËºÝ¤·¤Æ¡¢»ØÄꤷ¤¿¥¤¥Ù¥ó¥È¤È¥á¥Ã¥»¡¼¥¸¤ò¥È¥ì¡¼¥¹¤¹¤ë¤è¤¦¡¢
scspd
¤Ë»Ø¼¨¤·¤Þ¤¹¡£
-T
¥Õ¥é¥°¤Î¸å¤Ë¤Ï¡¢¼¡¤Ë¼¨¤¹¥ª¥×¥·¥ç¥ó¤ò
1
¤Ä°Ê¾åÉÕ¤±¤Þ¤¹:
c
scspd
¤Î CA
͸¾õÂÖµ¡³£
(FSM)
¤ò¥È¥ì¡¼¥¹¤·¤Þ¤¹¡£
h
scspd
¤Î Hello FSM
¤ò¥È¥ì¡¼¥¹¤·¤Þ¤¹¡£
i
scspd
¤Î¥¯¥é¥¤¥¢¥ó¥È¥¤¥ó¥¿¥Õ¥§¡¼¥¹
FSM
¤ò¥È¥ì¡¼¥¹¤·¤Þ¤¹¡£
C
- CA, CSUS, CSU
¥ê¥¯¥¨¥¹¥È¤È
CSU
¥ê¥×¥é¥¤¤Î¥á¥Ã¥»¡¼¥¸¤ò
¥È¥ì¡¼¥¹¤·¤Þ¤¹¡£
H
- Hello
¥á¥Ã¥»¡¼¥¸¤ò¥È¥ì¡¼¥¹¤·¤Þ¤¹¡£
I
scspd
¤Î¥¯¥é¥¤¥¢¥ó¥È¤ÈÁê¸ß¤Ë¤ä¤ê¤È¤ê¤¹¤ë
¥¤¥ó¥¿¥Õ¥§¡¼¥¹¥á¥Ã¥»¡¼¥¸¤ò¥È¥ì¡¼¥¹¤·¤Þ¤¹¡£
ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢°ìÏ¢¤ÎÀßÄêʸ¤«¤éÀ®¤ê¤Þ¤¹¡£
¤³¤ì¤é¤Îʸ¤Ï¡¢
scspd
¤¬¥¥ã¥Ã¥·¥å¤ÎƱ´ü¤ò¹Ô¤¦ÂоݤȤʤ롢
¥í¡¼¥«¥ë¤ª¤è¤Ó¥ê¥â¡¼¥È¤ÎξÊý¤Î¥µ¡¼¥Ð¤Ë´Ø¤¹¤ë¾ðÊó¤ò»ØÄꤷ¤Þ¤¹¡£
scspd
¤ÎÀßÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢
RFC 2334, Server Cache Synchronization Protocol
(SCSP) ¤ª¤è¤Ó
draft-ietf-ion-scspd-atmarpd-00.txt,
A Distributed ATMARP Service using SCSP
¤¬ÌòΩ¤Ä¤Ç¤·¤ç¤¦¡£
¥³¥á¥ó¥È°Ê³°¤ÎÀßÄêʸ¤Ï¥»¥ß¥³¥í¥ó¤Ç½ªÃ¼¤·¤Þ¤¹¡£
ʸ¤Ë¤è¤Ã¤Æ¤Ï¥Ö¥í¥Ã¥¯¤ò»ý¤Á¡¢¥Ö¥ì¡¼¥¹
(“{
” ¤È
“}
”)
¤Ç¶èÀÚ¤ê¤Þ¤¹¡£
ÀßÄêʸ¤Î¥¡¼¥ï¡¼¥É¤ÏÂçʸ»ú¾®Ê¸»ú¤Î¶èÊ̤Ϥ¢¤ê¤Þ¤»¤ó¤¬¡¢
¥Ñ¥é¥á¡¼¥¿¤Ë¤Ï¶èÊ̤Τ¢¤ë¤â¤Î¤¬¤¢¤ê¤Þ¤¹
(Î㤨¤Ð¥¤¥ó¥¿¥Õ¥§¡¼¥¹Ì¾)¡£
ÀßÄêʸ¤ÏÊ£¿ô¹Ô¤ËÅϤ뤳¤È¤¬²Äǽ¤Ç¤¹¡£
3
¼ïÎà¤Î¥³¥á¥ó¥È¤ò»ÈÍѲÄǽ¤Ç¤¹:
- # comments:
- “
#
”
¤«¤é¹ÔËö¤Þ¤Ç¤Î¤¹¤Ù¤Æ¤Îʸ»ú¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
- C
¥³¥á¥ó¥È:
- “
/*
” ¤È
“*/
”
¤Î´Ö¤Î¤¹¤Ù¤Æ¤Îʸ»ú¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
- C++
¥³¥á¥ó¥È:
- “
//
”
¤«¤é¹ÔËö¤Þ¤Ç¤Î¤¹¤Ù¤Æ¤Îʸ»ú¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
scspd
¤¬Íý²ò¤¹¤ëÀßÄêʸ¤ò¼¨¤·¤Þ¤¹:
Server <name> {
Protocol <protocol ID>;
Netif <if_name>;
ServerGroupID <ID>;
FamilyID <ID>;
DCS {
ATMaddr <ATM address>;
ID <host>;
CAReXmitInt <int>;
CSUSReXmitInt <int>;
CSUReXmitInt <int>;
CSUReXmitMax <cnt>;
HelloDead <cnt>;
HelloInt <int>;
Hops <cnt>;
};
};
Log {
File <file name>;
Syslog;
};
ÀßÄê¥Õ¥¡¥¤¥ëÆâ¤Ç¥Û¥¹¥È¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¤È¤³¤í¤Ç¤Ï¡¢
DNS
¤Ç¤Î̾Á°¤Ç¤â¡¢10
¿Ê¿ô¤ò¥É¥Ã¥È¤Ç·Ò¤°
IP
¥¢¥É¥ì¥¹¤Î·Á¼°¤Ç¤â¡¢
¤É¤Á¤é¤Ç¤â»ÈÍѲÄǽ¤Ç¤¹¡£
ATM
¥¢¥É¥ì¥¹¤Ï
16
¿Ê¿ô¤Îʸ»úÎó¤È¤·¤Æ»ØÄꤷ¤Þ¤¹¡£
Á°¤Ë “0x
”
¤òÉÕ¤±¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£
¥¢¥É¥ì¥¹Æâ¤Î¥Õ¥£¡¼¥ë¥É¤Ï¥Ô¥ê¥ª¥É¤Ç¶èÀڤäƤ⤫¤Þ¤¤¤Þ¤»¤ó¡£
¥Ô¥ê¥ª¥É¤ÏÆɤߤ䤹¤µ¤Î¤¿¤á¤À¤±¤Ë¤¢¤ê¡¢Ã±¤Ë̵»ë¤µ¤ì¤Þ¤¹¡£
ATM
¥¢¥É¥ì¥¹¤ÎŤµ¤Ï
20
¥Ð¥¤¥È¤Ç¤¹¡£
Àè¹Ô¤¹¤ë 0
¤ò´Þ¤á¤Æ¡¢Á´¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
Îã:
0x47.0005.80.ffe100.0000.f21a.0170.0020481a0170.00
server
ʸ¤Ï¥¯¥é¥¤¥¢¥ó¥È¥µ¡¼¥Ð¤ò»ØÄꤷ¤Þ¤¹¡£
¤³¤Î¥¯¥é¥¤¥¢¥ó¥È¥µ¡¼¥Ð¤Î¥¥ã¥Ã¥·¥å¤Ï¡¢
¥ê¥â¡¼¥È¥Û¥¹¥È¾å¤Ç¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¾¤Î¥µ¡¼¥Ð¤Î¥¥ã¥Ã¥·¥å¤ÈƱ´ü¤µ¤ì¤Þ¤¹¡£
scspd
¤Ë¤è¤Ã¤Æ¥¥ã¥Ã¥·¥å¤¬Æ±´ü¤µ¤ì¤ë³Æ¥¯¥é¥¤¥¢¥ó¥È¥µ¡¼¥Ð¤´¤È¤Ë¡¢
1 ¤Ä¤Î server
ʸ¤òÀßÄê¥Õ¥¡¥¤¥ë¤Ë½ñ¤¤Þ¤¹¡£
server
ʸ¤Î½ñ¼°¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹:
Server
⟨name⟩ {
⟨statements⟩ };
name ¤Ï
server
ʸ¤Ç»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢
scspd
¤Ï¤³¤ì¤ò»ÈÍѤ·¤Þ¤»¤ó¡£
¥µ¡¼¥Ð¤ÎÍÑÅӤ˴ؤ¹¤ëû¤¤µ½Ò¤òÍ¿¤¨¤ë¤â¤Î¤È´üÂÔ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
server
ʸ¤Ï¡¢¤¤¤¯¤Ä¤«¤ÎÉûʸ¤ò»ý¤Á¡¢
scspd
¤ÎÀßÄê¤Î¾ÜºÙ¤ò»ØÄꤷ¤Þ¤¹¡£
Éûʸ¤ò¼¨¤·¤Þ¤¹:
Protocol
ATMARP
;
- ¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Î
scspd
¤¬¥µ¥Ý¡¼¥È¤¹¤ëÍ£°ì¤Î¥×¥í¥È¥³¥ë¤Ï
ATMARP
¤Ç¤¹¡£
protocol
ʸ¤Ï¾ï¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
Netif
⟨intf⟩;
netif
ʸ¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¥µ¡¼¥Ð¤¬¥µ¡¼¥Ó¥¹¤òÄ󶡤·¤Æ¤¤¤ë
ATM
¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥¿¥Õ¥§¡¼¥¹Ì¾¤ò»ØÄꤷ¤Þ¤¹¡£
netif
ʸ¤Ï¾ï¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
ServerGroupID
⟨ID⟩;
ServerGroupID
ʸ¤Ï¡¢
scspd
¤¬Æ±´ü¤ò¹Ô¤¦¥µ¡¼¥Ð·²¤ËÂФ¹¤ë¼±Ê̻Ҥò»ØÄꤷ¤Þ¤¹¡£
ID ¤Ï 10
¿Ê¿ô¤È¤·¤Æ»ØÄꤵ¤ì¡¢ÈϰϤÏ
0 - 65,535 ¤Ç¤¹¡£ SCSP
¥»¥Ã¥·¥ç¥ó¤Ë¤è¤êƱ´ü¤µ¤ì¤ë¥¥ã¥Ã¥·¥å¤ò»ý¤ÄÁ´¥µ¡¼¥Ð¤Ë¤ª¤¤¤Æ¡¢
¥µ¡¼¥Ð¥°¥ë¡¼¥×
ID
¤ÏƱ°ì¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
¤Ä¤Þ¤ê¡¢¥Û¥¹¥È¤Î¥µ¡¼¥Ð¥°¥ë¡¼¥×
ID ¤Ï¡¢ server
ʸÆâ¤Ç»Ø¤·¼¨¤µ¤ì¤ë¤¹¤Ù¤Æ¤ÎľÀÜÀܳ¤µ¤ì¤¿¥µ¡¼¥Ð
(DCS)
¤Ë¤ª¤¤¤ÆƱ°ì¤Ç¤¢¤ëɬÍפ¬¤¢¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£
ServerGroupID
ʸ¤Ï¾ï¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
FamilyID
⟨ID⟩;
familyID
ʸ¤Ï¡¢
¥Û¥¹¥È·²´Ö¤Ç¼Â¹Ô¤µ¤ì¤ëÊÂÎó
SCSP
¥»¥Ã¥·¥ç¥ó¤Î¥Õ¥¡¥ß¥ê¤ËÂФ¹¤ë¼±Ê̻Ҥò»ØÄꤷ¤Þ¤¹
(¥Õ¥¡¥ß¥ê¤È¤Ï¤¹¤Ê¤ï¤Á¡¢
°Û¤Ê¤Ã¤¿¥×¥í¥È¥³¥ë
ID
¤Ç¤Ï¤¢¤Ã¤Æ¤âƱ°ì¤Î¥µ¡¼¥Ð½¸¹ç¤Ç¤¢¤ë¡¢
SCSP
¥»¥Ã¥·¥ç¥ó¤Î½¸¹ç¤Ç¤¹)¡£
ID ¤Ï 10
¿Ê¿ô¤È¤·¤Æ»ØÄꤵ¤ì¡¢ÈϰϤÏ
0 - 65,535 ¤Ç¤¹¡£
¥Õ¥¡¥ß¥ê ID
¤Ï¸½ºß
scspd
¤Ï»ÈÍѤ·¤Þ¤»¤ó¡£
DCS
ʸ¤Ï
server
ʸ¤ÎÉûʸ¤Ç¤¢¤ê¡¢
ľÀÜÀܳ¤µ¤ì¤¿¥µ¡¼¥Ð
(DCS)
¤ÎÆÃÀ¤ò»ØÄꤷ¤Þ¤¹¡£
server
ʸ¤Ï¡¢ scspd
¤¬¾ðÊó¸ò´¹¤¹¤ë
DCS ¤´¤È¤Ë 1
¤Ä¤Î DCS
ʸ¤ò»ý¤Á¤Þ¤¹¡£
DCS
ʸ¤Ï¿¤¯¤ÎÉûʸ¤ò»ý¤Á¡¢
DCS
¤ÎÀßÄê¤Ë´Ø¤¹¤ë¾ÜºÙ¤ò»ØÄꤷ¤Þ¤¹¡£
¤½¤ì¤é¤ò¼¡¤Ë¼¨¤·¤Þ¤¹:
ATMaddr
⟨ATM address⟩;
ATMaddr
ʸ¤Ï DCS ¤Î ATM
¥¢¥É¥ì¥¹¤ò»ØÄꤷ¤Þ¤¹¡£
ATMaddr
ʸ¤Ï¾ï¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
ID
⟨host⟩;
ID
ʸ¤Ï DCS ¤Î SCSP
¼±Ê̻Ҥò»ØÄꤷ¤Þ¤¹¡£
ATMARP ¤Ë¤ª¤±¤ë ID
¤Ï¡¢ DCS ¤Î ATM
¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿
IP
¥¢¥É¥ì¥¹¤Þ¤¿¤Ï
DNS
¤Ç¤Î̾Á°¤Ç¤¹¡£
ID
ʸ¤Ï¾ï¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
CAReXmitInt
⟨int⟩;
CAReXmitInt
ʸ¤Ï¡¢ CA
¥á¥Ã¥»¡¼¥¸¤ÎºÆÁ÷´Ö³Ö»þ´Ö¤ò»ØÄꤷ¤Þ¤¹¡£
CA
¥á¥Ã¥»¡¼¥¸¤¬Á÷¿®¤µ¤ì¤Æ³Îǧ±þÅú¤¬
CAReXmitInt
ÉðÊÆâ¤Ë¼õ¿®¤µ¤ì¤Ê¤¤¾ì¹ç¡¢
¥á¥Ã¥»¡¼¥¸¤¬ºÆÁ÷¤µ¤ì¤Þ¤¹¡£
CAReXmitInt
¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
3 ÉäǤ¹¡£
CSUSReXmitInt
⟨int⟩;
CSUSReXmitInt
ʸ¤Ï¡¢ CSU Solicit
¥á¥Ã¥»¡¼¥¸¤ÎºÆÁ÷´Ö³Ö»þ´Ö¤ò»ØÄꤷ¤Þ¤¹¡£
CSUS
¥á¥Ã¥»¡¼¥¸¤¬Á÷¿®¤µ¤ì¤¿¤È¤¡¢
CSUS
¤Ë¤è¤ê¥ê¥¯¥¨¥¹¥È¤µ¤ì¤¿
Cache State Advertisement (CSA) ¤¬
CSUSReXmitInt
ÉðÊÆâ¤Ë¼õ¿®¤µ¤ì¤Ê¤¤¤È¡¢
Ê̤ΠCSUS
¥á¥Ã¥»¡¼¥¸¤Ë¤è¤ëºÆ¥ê¥¯¥¨¥¹¥È¤¬È¯À¸¤·¤Þ¤¹¡£
CSUSReXmitInt
¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
3 ÉäǤ¹¡£
CSUSReXmitInt
¤È
CSUReXmitInt
¤Ë´Ø¤·¤Æ
º®Í𤷤ʤ¤¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£
CSUReXmitInt
⟨int⟩;
CSUReXmitInt
ʸ¤Ï¡¢ CSU
¥ê¥¯¥¨¥¹¥È¥á¥Ã¥»¡¼¥¸¤ÎºÆÁ÷´Ö³Ö»þ´Ö¤ò»ØÄꤷ¤Þ¤¹¡£
CSU
¥ê¥¯¥¨¥¹¥È¥á¥Ã¥»¡¼¥¸¤¬Á÷¿®¤µ¤ì¤¿¤È¤¡¢
CSUReXmitInt
ÉðÊÆâ¤Ë CSU
¥ê¥×¥é¥¤¥á¥Ã¥»¡¼¥¸¤Ë¤è¤Ã¤Æ³Îǧ±þÅú¤¬ÊÖ¤µ¤ì¤Ê¤¤
CSA
¤ÏºÆÁ÷¤µ¤ì¤Þ¤¹¡£
CSUReXmitInt
¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
2 ÉäǤ¹¡£
CSUReXmitInt
¤È
CSUSReXmitInt
¤Ë´Ø¤·¤Æ
º®Í𤷤ʤ¤¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£
CSUReXmitMax
⟨cnt⟩;
CSUReXmitMax
ʸ¤Ï¡¢Á°½Ò¤Î¤è¤¦¤Ë
CSA
¤¬ºÆÁ÷¤µ¤ì¤ë²ó¿ô¤ò»ØÄꤷ¤Þ¤¹¡£
¤³¤Î²ó¿ô¤ò±Û¤¨¤ë¤È¡¢SCSP
¤Ï CSA
¤òÄü¤á¤Æ¼Î¤Æ¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
CSUReXmitMax
¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
5 ¤Ç¤¹¡£
HelloDead
⟨cnt⟩;
HelloDead
ʸ¤Ï¡¢ Hello
¥á¥Ã¥»¡¼¥¸¤ËÆþ¤ì¤é¤ì¤Æ
DCS
¤ËÁ÷¤é¤ì¤ë¡¢Hello
Dead Factor
¤ò»ØÄꤷ¤Þ¤¹¡£
HelloDead
*
HelloInt
ÉÃ´Ö DCS
¤«¤é¤Ê¤Ë¤â¼õ¿®¤·¤Ê¤¤¾ì¹ç¡¢
“DCS down”
¾õÂÖ¤¬¸¡½Ð¤µ¤ì¤Þ¤¹¡£
HelloDead
¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
3 ¤Ç¤¹¡£
HelloInt
⟨int⟩;
HelloInt
ʸ¤Ï¡¢ Hello
¥á¥Ã¥»¡¼¥¸¤ËÆþ¤ì¤é¤ì¤Æ
DCS
¤ËÁ÷¤é¤ì¤ë¡¢Hello
Interval
¤ò»ØÄꤷ¤Þ¤¹¡£
HelloInt
¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
3 ÉäǤ¹¡£
Hops
⟨cnt⟩;
Hops
ʸ¤Ï (DCS ¤«¤é DCS
¤Ø¤Î)
¥Û¥Ã¥×¿ô¤ò»ØÄꤷ¡¢
¥í¡¼¥«¥ë¥µ¡¼¥Ð¤òµ¯ÅÀ¤È¤¹¤ë
CSA
¤ÎÃæ¤Ë»ØÄꤵ¤ì¤Þ¤¹¡£
¤³¤ÎÃͤϺǾ®¤Ç¤â¥µ¡¼¥Ð¥°¥ë¡¼¥×¤Îľ·Â¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
¤¹¤Ê¤ï¤Á¡¢
¥µ¡¼¥Ð·²Ãæ¤ÎÁ´¥µ¡¼¥Ð¤Ë
CSA
¤¬ÅÁÇŤ¹¤ë¤Î¤Ë½½Ê¬¤ÊÂ礤µ¤¬É¬ÍפȤ¤¤¦¤³¤È¤Ç¤¹¡£
Hops
¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
3 ¤Ç¤¹¡£
log
ʸ¤Ï¡¢
scspd
¤ÎÁàºî¾ðÊó¤ò¤É¤Î¤è¤¦¤Ë¥í¥°¤¹¤ë¤«¤ò»ØÄꤷ¤Þ¤¹¡£
scspd
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢¥í¥°¾ðÊó¤ò¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤à¤³¤È¤¬¤Ç¤¤Þ¤¹¤·¡¢
¥·¥¹¥Æ¥à¤Î¥í¥°¤Ë½ñ¤¹þ¤à¤³¤È¤â¤Ç¤¤Þ¤¹¤·¡¢Î¾Êý¤È¤â¹Ô¤¦¤³¤È¤â²Äǽ¤Ç¤¹¡£
File
⟨file name⟩;
file
ʸ¤Ï¡¢
scspd
¤¬¥í¥°¥á¥Ã¥»¡¼¥¸¤ò
»ØÄꤵ¤ì¤¿Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤à¤³¤È¤ò»ØÄꤷ¤Þ¤¹¡£
¥Õ¥¡¥¤¥ë¤¬´û¤Ë¸ºß¤¹¤ë¾ì¹ç¡¢¥í¥°¥á¥Ã¥»¡¼¥¸¤Ï¥Õ¥¡¥¤¥ë¤ÎºÇ¸å¤ËÄɲ䵤ì¤Þ¤¹¡£
Syslog
;
syslog
ʸ¤Ï¡¢
scspd
¤¬¥í¥°¥á¥Ã¥»¡¼¥¸¤ò
syslog
¥Õ¥¡¥·¥ê¥Æ¥£¤Ë½ñ¤¹þ¤à¤³¤È¤ò»ØÄꤷ¤Þ¤¹¡£
scspd
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢¥Õ¥¡¥·¥ê¥Æ¥£¥³¡¼¥É
LOG_DAEMON
¤ò»ÈÍѤ·¤Æ¡¢
¥á¥Ã¥»¡¼¥¸¤ò
syslog
¤Ë½ñ¤¹þ¤ß¤Þ¤¹¡£
log
ʸ¤ò»ØÄꤷ¤Ê¤¤¤È¡¢
scspd
¤Ï¥í¥°¥á¥Ã¥»¡¼¥¸¤ò
¥·¥¹¥Æ¥à¤Î¥í¥°¤Ë½ñ¤¹þ¤ß¤Þ¤¹¡£
file
¤È syslog
¤ÎξÊý¤¬»ØÄꤵ¤ì¤ë¤È¡¢
»ØÄꤵ¤ì¤¿Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤È¥·¥¹¥Æ¥à¤Î¥í¥°¤ÎξÊý¤Ë¡¢
scspd
¤Ï¥í¥°¥á¥Ã¥»¡¼¥¸¤ò½ñ¤¹þ¤ß¤Þ¤¹¡£
scspd
¤Î´Êñ¤ÊÀßÄê¥Õ¥¡¥¤¥ë¤ÎÎã¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹:
server atmarp_ni0 {
protocol ATMARP;
netif ni0;
ServerGroupID 23;
DCS {
ID 10.1.1.2;
ATMaddr 0x47.0005.80.ffdc00.0000.0002.0001.002048061de7.00;
hops 2;
};
};
¤³¤ÎÀßÄê¤Ç¤Ï¡¢¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥¿¥Õ¥§¡¼¥¹
ni0
¾å¤Ç¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë
ATMARP
¥µ¡¼¥Ð¤Î¥¥ã¥Ã¥·¥å¤È¡¢
IP ¥¢¥É¥ì¥¹ 10.1.1.2
¤Î¥Û¥¹¥È¾å¤Ç¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë
2
ÈÖÌܤΥµ¡¼¥Ð¤Î¥¥ã¥Ã¥·¥å¤È¤Î
Ʊ´ü¤ò¤È¤ê¤Þ¤¹¡£
¥í¥°¥á¥Ã¥»¡¼¥¸¤Ï¥·¥¹¥Æ¥à¤Î¥í¥°¤Ë½ñ¤¹þ¤Þ¤ì¤Þ¤¹¡£
¼¡¤Î¥·¥°¥Ê¥ë¤ò»ÈÍѤ·¤Æ
scspd
¤òÀ©¸æ¤Ç¤¤Þ¤¹:
SIGHUP
- ÀßÄê¥Õ¥¡¥¤¥ë¤òºÆÅÙÆɤ߹þ¤ß¡¢
scspd
¤òºÆ¥¹¥¿¡¼¥È¤·¤Þ¤¹¡£
SIGINT
- ¥Ç¥Ð¥Ã¥°¾ðÊó¤ò¥Õ¥¡¥¤¥ë¤Ë¥À¥ó¥×¤·¤Þ¤¹¡£
SIGINT
¤ò¼õ¿®¤¹¤ë¤È¡¢
scspd
¤ÏÀ©¸æ¥Ö¥í¥Ã¥¯¤Î¥µ¥Þ¥ê¤ò¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¤Ë¥À¥ó¥×¤·¤Þ¤¹
(
´ØÏ¢¥Õ¥¡¥¤¥ë
»²¾È)¡£
- /etc/scspd.conf
scspd
¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ç¤¹¡£
Ê̤Î̾Á°¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç
-f
¥ª¥×¥·¥ç¥ó¤Ç»ØÄê²Äǽ¤Ç¤¹¡£
- /tmp/scspd.⟨pid⟩.⟨seq⟩.out
- ¥Ç¥Ð¥Ã¥°¾ðÊó¤ò¥À¥ó¥×¤¹¤ë¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ç¤¹¡£
scspd
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬
SIGINT
¥·¥°¥Ê¥ë¤ò¼õ¿®¤¹¤ë¤È¡¢
À©¸æ¥Ö¥í¥Ã¥¯¤Î¥µ¥Þ¥ê¤ò¤³¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤ß¤Þ¤¹¡£
⟨pid⟩
¤Ï¥Ç¡¼¥â¥ó¤Î¥×¥í¥»¥¹
ID ¤Ç¤¢¤ê¡¢
⟨seq⟩
¤Ï¥À¥ó¥×¤¬¤È¤é¤ì¤ë¤´¤È¤ËÁý¤¨¤ë¥·¡¼¥±¥ó¥¹ÈÖ¹æ¤Ç¤¹¡£
- /tmp/scspd.⟨pid⟩.trace
- ¥È¥ì¡¼¥¹¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
-T
¥ª¥×¥·¥ç¥ó¤¬¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤ë¤È¡¢
scspd
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¥È¥ì¡¼¥¹¾ðÊó¤ò¤³¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤ß¤Þ¤¹¡£
atm(8),
atmarpd(8)
Server Cache Synchronization Protocol
(SCSP), RFC 2334.
A Distributed ATMARP Service Using
SCSP,
draft-ietf-ion-scsp-atmarpd-00.txt.
scspd
¤¬½ªÎ»¤·¤ÆºÆ¥¹¥¿¡¼¥È¤¹¤ë¤È¡¢
°ÊÁ°¤ËƱ´ü¤µ¤ì¤¿¥¥ã¥Ã¥·¥å¥¨¥ó¥È¥ê¤¬¥¿¥¤¥à¥¢¥¦¥È¤·¤Æ
¥ê¥Õ¥ì¥Ã¥·¥å¤µ¤ì¤ë¤Þ¤Ç¤Î´ü´Ö¡¢ÉÔ°ÂÄê¤Ë¤Ê¤ê¤Þ¤¹¡£
¥Ð¥°¤Ï
⟨harp-bugs@magic.net⟩
¤ËÊó¹ð¤·¤Æ¤¯¤À¤µ¤¤¡£
Copyright (c) 1994-1998, Network Computing Services, Inc.
John Cavanaugh, Network Computing Services, Inc.
Mike Spengler, Network Computing Services, Inc.
Joe Thomas, Network Computing Services, Inc.
ËÜ¥½¥Õ¥È¥¦¥§¥¢¤Ï¡¢
Defense Advanced Research Projects Agency (DARPA)
¤Î¶¨ÎϤˤè¤ê³«È¯¤µ¤ì¤Þ¤·¤¿¡£
ËÙÀîÏÂͺ
⟨horikawa@jp.FreeBSD.org⟩