免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2378 | 回复: 10
打印 上一主题 下一主题

咨询关于SunV440网口的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-30 21:30 |只看该作者 |倒序浏览
主板上自带了两个网口,分别是ce0和ce5,另单独配了一张4网口的卡,分别是ce1到4.

拔掉ce0的网线后,所有的网卡都不能与外界通信(所有口都在一个交换机上),但把其他的网线不影响剩余网口.

已经在/etc目录下创建了notrouter这个文件.已经设置了eeprom里的local-mac-address为true.

请各位帮帮忙,谢谢.

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
2 [报告]
发表于 2006-12-30 21:33 |只看该作者
#cp /etc/system /etc/system.bakcup
#vi /etc/system
set ce:ce_reclaim_pending=1
set ce:ce_taskq_disable=1

ce网口需要打patch:112817-xx solaris9
                  patch:111883-xx solaris8

论坛徽章:
0
3 [报告]
发表于 2006-12-30 21:40 |只看该作者
蜘蛛回复,荣幸之至啊.

忘了说版本了,是10的,具体好像是什么什么33的..记不清了,明天再去机房看看...机房上不了网..郁闷啊..

蜘蛛能不能解释一下这两句是什么意思??谢谢了.

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
4 [报告]
发表于 2006-12-30 21:44 |只看该作者
原帖由 flickxie 于 2006-12-30 21:40 发表
蜘蛛回复,荣幸之至啊.

忘了说版本了,是10的,具体好像是什么什么33的..记不清了,明天再去机房看看...机房上不了网..郁闷啊..

蜘蛛能不能解释一下这两句是什么意思??谢谢了.



修复ce网卡的bug的!

Document Audience: SPECTRUM
Document ID: 79189
Title: Sun[TM] Cluster 3.x: ce driver, kernel parameter settings
Update Date: Mon Jul 25 00:00:00 MDT 2005
Products:  Clustering
Technical Areas:  Clustering

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


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

Description: Top

The software driver for Sun[TM] GigaSwift Ethernet hardware - is also known as the Cassini ethernet(ce) driver. Sun[TM] Cluster software/hardware has some requirements for the driver's kernel parameter settings, when the device is used as cluster private transport.

Document Body: Top

Changing private transport ethernet driver parameters, can have great impact on performance. Planned changes, should always be tested in a laboratory or test environment first, before implementing in a production environment. Monitor the cluster closely, when rolling changes into production.

Under Sun Cluster software, version 3.0 only, it's required to put the following kernel parameter into the /etc/system file, for the ce driver, when a ce device is being used for public interfaces:

Edit the "/etc/system" file, inserting the following line:

     set ce:ce_reclaim_pending=1

For all versions of Sun Cluster 3.x though, when ce interfaces are used for private transport, the following additional parameter settings are recommended in the /etc/system file:

set ce:ce_taskq_disable=1
set ce:ce_ring_size=1024
set ce:ce_comp_ring_size=4096

In situations where the system uses CE interfaces for both public and private (cluster interconnect) networks, parameters may be set on a per CE instance basis - i.e. on an individual basis. To do so, instead of modifying /etc/system, one might choose to modify the following files:

for Solaris 9 x86:
/kernel/drv/ce.conf

for SPARC:
/platform/sun4u/kernel/drv/ce.conf

The per instance method requires the "parent" and "unit-address" properties associated with the instance(s) being configured. These properties can be found by looking at the entries associated with the respective instance(s) within the /etc/path_to_inst file.

For example, the /etc/path_to_inst file may contain an entry associated with a ce0 interface as follows:

"/pci@1f,0/pci@1,1/network@1" 0 "ce"
  -----------------         -  -
          |                 |  |
          |                 |  |
          |                 | instance
          |                 |
       parent          unit-address

Based on the above, the following entry may now be inserted into ce.conf
file to set the <ce_reclaim_pending> parameter:

...
name="ce" parent="/pci@1f,0/pci@1,1" unit-address = "1" ce_reclaim_pending = 1;
...

Some background on these parameters

ce_taskq_disable: The ce driver sends packets to the IP layer, in interrupt context. This can cause a problem on busy systems, and prevent other threads from running. This is very disruptive for clusters where we run all processes and threads with timeouts.

ce_ring_size: this parameter controls the number of 8K pages in the Receive buffer ring. This value must be a power of 2. The maximum value is 8192 buffers of 8K each.

ce_comp_ring_size: this parameter controls the number of packets that may be accepted in the hardware. (The size of each Receive completion descriptor ring. It also is power of 2.)

ce_ring_size and ce_comp_ring_size should be changed when ce_taskq_disable is set to 1 (which means taskq is disabled), to increase ring size to keep up with load.

ce_reclaim_pending: for better performance, it can be set as high as 32. When it is set to 1, it will reclaim for each packet processed, which means it will "count" every packet, instead of doing it in one shot when the reclaim threshold is reached.

Since Sun Cluster 3.0 software Public Network Management(PNM) relies on kernel network statistics to detect interface failure, it is important to keep statistical counts as up-to-date as possible. In Sun Cluster 3.1 software, and later, IPMP is used, which does not rely on kstat, so ce_reclaim_pending can be set high.

论坛徽章:
0
5 [报告]
发表于 2006-12-30 21:53 |只看该作者
谢谢!

论坛徽章:
0
6 [报告]
发表于 2006-12-31 09:03 |只看该作者
受用了
不知道蜘蛛老大 怎么找到这些资料的解决

有的时候 打800都没有用  自己有没有遇到过这样的问题 要解决的话真的有电困难

论坛徽章:
0
7 [报告]
发表于 2006-12-31 10:46 |只看该作者
有的应该是内部的,我也想拥有啊```可惜没有`!
也只能看点少部分开开眼了`!内部资料很具有针对性啊1

论坛徽章:
0
8 [报告]
发表于 2006-12-31 12:23 |只看该作者
按蜘蛛说的做了,还是没能解决....800说重配一下,sys-unconfig,然后从ok下boot,但现在里面出现的语言啊终端啊什么的不知道怎么选,选中文乱码,英文还是乱码,不知道是不是我终端类型的问题.我是通过网络联sc再到console上面去的

[ 本帖最后由 flickxie 于 2006-12-31 12:25 编辑 ]

论坛徽章:
0
9 [报告]
发表于 2006-12-31 12:34 |只看该作者
现在乱码的问题正常了.还是终端类型的问题...但是那个选择主网卡的有点郁闷...如果选了的话那选的那个断了其他的就断了,又不能不选或者多选..郁闷....

论坛徽章:
0
10 [报告]
发表于 2006-12-31 22:18 |只看该作者
楼主要做什么样的 应用呢?我的做了defaultrouter。然后用route add做其他的 路由没有问题的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP