¸ü¶à Ñ¡ÔñÓïÑÔ
< ·µ»ØÖ÷²Ëµ¥
  • English
  • German
  • Japanese
  • Korean
  • Russian
pcÅä¾° phÅä¾°

³£¼ûÎÊÌâ

ÄúÄ¿½ñËùÔÚλÖãºÊ×Ò³ > Ö§³ÖÏÂÔØ > ×ÔÖúЧÀÍ > ³£¼ûÎÊÌâ > Ð§ÀÍÆ÷

linux ÏÂÍø¿¨teaming

Ðû²¼Ê±¼ä£º 2008Äê07ÔÂ30ÈÕ

PRO CfgÊÇIntel(R) PRO LAN adapters(10/100/100)ºÍIntel Advanced Network Services (iANS)µÄ¼ì²âºÍÅäÖù¤¾ß¡£ËüÔËÐÐÔÚIntel 32-bit¼Ü¹¹ÉÏlinux Çé¿öÖеÄIntel e100,e1000ºÍiANSÉ豸¡£Õâ¸ö¹¤¾ß°üÀ¨Á½²¿·Ö£ºdaemon PRO CfgdºÍPRO CfgÃüÁîÐй¤¾ß¡£daemon Ó¦¸ÃÔËÐÐÔÚ±»ÖÎÀíµÄ»úеÉÏ£¬ÃüÁîÐй¤¾ßÓ¦¸ÃÔËÐÐÔÚÖÎÀíµÄ»úеÉÏ¡£ÖÎÀíµÄ»úе¿ÉÒÔÊÇͬһ±»ÖÎÀíµÄ»úе»òÊÇÔ¶³ÌµÄ»úе¡£

Ò»¡¢×°ÖÃ PROCfgd

1.
¿½±´Îļþµ½ÄãÑ¡ÔñµÄĿ¼£¬°ÑÏÂÁÐÎļþ·Åµ½Í¬Ò»Ä¿Â¼Ï£º
procfgd-x.x.x.tar.gz (x.x.x
Ö¸°æ±¾ºÅ)
libxerces-c1_6_0.tar.gz (xerces XML-parser library.
Ö»ÓÐÔÚϵͳûÓÐ×°ÖÃÏàӦЧÀÍʱÐèҪװÖÃ)¡£

2.Untar
Îļþprocfgd-x.x.x.tar.gz :
tar xzvf procfgd-x.x.x.tar.gz

»á·ºÆð procfgd-x.x.xĿ¼¡£

3.
¸Ä±äĿ¼µ½procfgd-x.x.x µÄĿ¼£º
cd procfgd-x.x.x
ÔÚĿ¼ÖÐÓÐÈçϵÄÎļþ£º
INSTALL
procfgd
procfgd_adduser
procfgd.1
README
ldistrib.txt
LICENSE.txt
LICENSE.net-snmp.txt
LICENSE.xerces.txt

4.
¼üÈ룺

./INSTALL
INSTALL
½Å±¾»áuntarÐëÒªµÄtarÀàÐÍÎļþ²¢¿½±´ÏÂÁÐÎļþµ½Ö¸¶¨Ä¿Â¼£º
procfgd (the server application)
ºÍ procfgd_adduser -- /usr/sbin
procfgd.1 (the man page) --
ĬÈ쵀 man Ŀ¼
the licenses, README, and ldistrib.txt files --
/usr/share/doc/procfgd-

5.
ÔËÐÐPRO CfgЧÀÍ£¬Ê×ÏÈÒÔrootµÇ°¶ÏµÍ³£¬ÊäÈ룺procfgd
×¢Ò⣺Ҫ¸Ä±äPRO LAN¿¨»òiANSµÄÅäÖã¬PRO CfgdÐèÒªÒ»¸ö·ÇĬÈϵÄÓû§ÃûºÍÃÜÂë¡£ÅäÖÃÓû§Çë¼ì²ìÒÔϵÚÁùÏî¡£
³ÌÐòĬÈÏÔËÐÐÔÚ58086¶Ë¿Ú¡£Èç¹ûÕâ¸ö¶Ë¿Ú±»Õ¼ÓûòÈç¹ûPRO CfgdÒѾ­ÒѾ­ÔÚĬÈ϶˿ÚÔËÐУ¬»á·ºÆðÏÂÁйýʧÐÅÏ¢£º
init_master_agent: Invalid local port (Address already in use) Server
Exiting with code 1

ΪÁËÔËÐÐЧÀÍÆ÷ÔÚ¿ÉÑ¡µÄ¶Ë¿Ú£¬Ê¹ÓÃ-pÑ¡Ï
procfgd -p

6.
Ìí¼ÓеĶÁд»á¼ûÓû§¸øPRO CfgЧÀÍ£¬Ê×ÏÈÒÔrootµÇ°¶¡£È·¶¨PRO CfgdûÓÐÔËÐС£½øÈëÏÂÃæ¿ÉÒÔÊäÈëÃÜÂë½çÃ棬ÃÜÂëÖÁÉÙÒª8볤¶È£º
ADDUSER

¿ÉÒÔÌí¼Ó¶à¸ö¶Áд»á¼ûÓû§¡£ÐµÄÓû§ÃûºÍÃÜÂëÌí¼ÓÔÚ /var/.procfgd/procfgd.confÎļþÀЧÀÍÿÔËÐÐÒ»´Î£¬Îļþ¶¼»á±»¼ÓÃÜ£¬¿ÉÊÇÃÜÂëÔÚ¼üÈëʱÊǿɼûµÄ¡£

×¢Ò⣺µ¥Ö»¶ÁÓû§ÔÚPRO CfgЧÀÍÖÐÊÇÓÐĬÈÏÅäÖõÄ¡£ÒªÊǼòµ¥¼ì²ìÅäÖõÄÐÅÏ¢ÊDz»±ØÓû§ÃûºÍÃÜÂëµÄ£¬Ö»ÒªÄ¬ÈϵÄÓû§ÃûºÍÃÜÂ루username=procfgd, password=pRoCfGdPaSs£©ÒѾ­ÏÔʾÔÚÏàÓ¦µÄλÖá£

¶þ¡¢×°ÖÃ PROCfg
1.
¿½±´ÏÂÁÐÎļþµ½ÄãÑ¡¶¨µÄĿ¼
procfg-x.x.x.tar.gz (x.x.x
Ö¸°æ±¾ºÅ)

2.Untar
Îļþprocfg-x.x.x.tar.gz
tar xzvf procfg-x.x.x.tar.gz
»á·ºÆðprocfg-x.x.x Ŀ¼¡£

3.
¸Ä±ä·¾¶µ½procfg-x.x.xĿ¼£º
cd procfg-x.x.x

ÔÚĿ¼ÏÂÓÐÏÂÁеÄÎļþ£º
INSTALL
procfg
procfg.1
README
ldistrib.txt
LICENSE.txt
LICENSE.net-snmp.txt

4.
¼üÈ룺 ./INSTALL
INSTALL
½Å±¾¿½±´ÏÂÁÐÎļþµ½Ö¸¶¨Â·¾¶£º

procfg (the server application) -- /usr/sbin
procfg.1 (the man page) --
µ½Ä¬ÈϵÄman·¾¶
the licenses, README, and ldistrib.txt files--
/usr/share/doc/procfg-



Èý¡¢ÔËÐÐ PRO Cfg ¿Í»§¶Ë£º
ÔËÐÐprocfg
Object(s)
¿ÉÒÔÊǽӿÚÃû³Æ(ethx)£¬teamÃû³Æ£¬»ò½Ó¿ÚÁбí»òÒ»×éteamÃû³Æ£¨eth0 eth1 ...£©¡£
ÿ¸öswitch×îºÃÓÐÒ»¸ö³¤Ò»µãÃû×Ö¡£¿ÉÒÔ¼ì²ìmanÃüÁîÐеÄÃèÊöÀ´ÅÌÎÊÏêϸÐÅÏ¢¡£

Switches
£¨¿ª¹Ø±äÁ¿£©

-p
Èç¹ûPRO CfgdÓ¦ÓóÌÐòûÓÐʹÓÃĬÈ϶˿Ú£¬Äã±ØÐëÉèÖÃPRO CfgdÓ¦ÓÃͬһ¶Ë¿Ú¡£Èç¹û¶Ë¿ÚºÅûÓÐÖ¸¶¨£¬ÔòʹÓÃĬÈ϶˿ڣ¨58086£©¡£

-h
ЧÀÍÆ÷£¨ÔËÐÐÁËPRO CfgdЧÀÍ£©µÄÖ÷»úÃû»òIPµØµã¡£Èç¹ûûÓÐÖ¸¶¨£¬ÔòĬÈϵÄÖ÷»úÃû(localhost)ÊDZ»Ê¹ÓõÄ¡£

-U -P
ÉèÖà username ºÍpasswordÀ´»á¼ûЧÀÍÆ÷Ó¦Óá£
username
ºÍ password ±ØÐëÔÚЧÀÍÖÐÌáÇ°ÉèÖú㨼ì²ì×°Öò¿·Ö£©¡£Èç¹ûÄãûÓнç˵ username »ò password£¬Ä¬ÈÏʹÓà username: procfgd£¬ password: pRoCfGdPaSs¡£

×¢Ò⣺ĬÈϵÄusername½ö±»'get' ²Ù×÷ÊÚȨʹÓá£

-t
Õâ¸ö²ÎÊýÖ¸¶¨ÁËʱ¼ä³¤¶È¡£ÔںܶÌʱ¼äÄÚ PROCfg Ó¦ÓÃÆÚ´ýÀ´×ÔPROCfgdµÄÏàÓ¦¡£Ä¬ÈÏΪ4Ãë²¢ ½ö½öÔÚ¸ºÔرȽϴóµÄÇé¿öÏÂÔö¼Ó¡£

-f
"Force mode"
¡£ ÃüÁî²»»á¸ø¿Í»§ÒÔÌáʾ¡£

ΪÁËÔÊÐí·ÇĬÈϵÄÓû§ÔÚдÿ¸öÃüÁîÐÐÊäÈëÓû§ÃûºÍÃÜÂ룬»òÉú´æÒÔÉϵÄÖµµÄ¸Ä±ä£¬´´Á¢Ò»¸öÃûΪprocfg.confµÄÅäÖÃÎļþ¡£°ÑÎļþ·ÅÔÚprocfgĿ¼(~/.procfg/procfg.conf)ϵĸùĿ¼¡£Õâ¸öÎļþ¿ÉÒÔ°üÀ¨ÐµÄÓû§Ãû£¬ÃÜÂ룬¶Ë¿Ú£¬Ö÷»úÃû£¬force-mode»òtimeout¡£ÐµÄÉèÖÃÐèÒªÖØÆô±»±£´æÏÂÀ´¡£ÒÔÏÂÊÇprocfg.confÎļþµÄÀý×Ó£º
username anyone
password anyonepassword
port 1012
hostname localhost
force
timeout 20

×¢Ò⣺ÅäÖÃÎļþ²»ÔÊÐí ÔÚÈκÎswitchesºóÃæ°üÀ¨¿Õ¸ñ¡£



ËÄ¡¢Team/VLANÃüÁîÐÐÅäÖãº

addmem [-p ] [-p ] ...
Ìí¼ÓÍø¿¨µ½team. ĬÈÏpriority Ϊ¿Õ¡£

addteam eth0 eth1 ... [-M ] [-e/-d] [-a ]
[-c ] [-s ] [-m ] [-t ] [-r ] [-b ]
[-g
]
Ìí¼Óteam. ±ØÐë²»Áè¼Ý8룬±ØÐëÊ×λΪ×Öĸ£¬²¢²»¿ÉÒÔ×Öĸ¡°eth¡±¿ªÍ·¡£Ä¬ÈϵÄteamingģʽÊÇAFT¡£ÆäËûµÄĬÈÏÖµÇë²Î¿¼man˵Ã÷Ò³¡£

addvlans / -i [-n ] -i
[-n ] ...
Ìí¼ÓVLANsµ½Ò»¸öteam »ò Ò»¸öÎïÀíÍø¿¨¡£Ã¿¸öVLAN IDsµÄÉèÖÿÉÒÔÓÃVLANµÄÃû³Æ×÷Ϊ±êʶ¡£VLAN ID µÄ¹æÄ£ÊÇ 0 - 4095.

×¢Ò⣺Èç¹ûVLAN IDÔÚÁбíÏÔʾÁËÁ½´ÎÌåÏÖ±¬·¢¹ýʧ¡£

delmem
´ÓteamÀïɾ³ý³ÉÔ±¡£

delteam
ɾ³ý team¡£

delvlans / -i
´ÓteamÀïɾ³ýVLANs»òÎïÀíÍø¿¨.Èç¹ûVLAN IDÔÚÁбíÖÐÏÔʾÁ½´ÎÌåÏÖ±¬·¢¹ýʧ¡£Èç¹ûVLANsµÄ¶Ë¿Ú¶¼ÊÇupµÄ£¬Ôò delvlans ½«ÎÞ·¨ÒƳý VLANs ¡£

restore
´ÓÖ÷»úÉϻָ´Ò»¸öÍøÂçÅäÖá£ÅäÖôÓ/etc/procfgd·¾¶ÏµÄÎļþÀ´»Ö¸´¡£Ä¬ÈϵÄÎļþÃûΪsaved_conf.procfgd¡£

save
Éú´æÄ¿Ç°Ö÷»úÉϵÄÍøÂçÅäÖá£Îļþ´æÓÚ /etc/procfgd·¾¶Ï¡£Ä¬ÈϵÄÎļþÃûΪsaved_conf.procfgd.

ÔÚ
Ïß
¿Í
·þ
Áª
ϵ
ÎÒ
ÃÇ
¡Á
PGµç×Ó¡¤(Öйú)¹Ù·½ÍøÕ¾ ÁªÏµpgµç×Ó¹ÙÍø
ЧÀÍÆ÷¡¢´æ´¢¡¢ÍøÂç²úÆ·¹ºÖÃÈÈÏß
400-860-6708
ERP¡¢ÖÎÀíÈí¼þ¹ºÖÃÈÈÏß
400-018-7700
ÔÆЧÀͲúÆ·ÏúÊÛÈÈÏß
400-607-6657
¼¯ÍÅ¿Í»§Í¶ËßÈÈÏß
400-691-8711
ÍøÕ¾µØͼ