免费注册 查看新帖 |

Chinaunix

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

[系统管理] AIX系统管理常见问题一【ZT】 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-12 15:59 |只看该作者 |倒序浏览
使用errdemon客户化系统错误日志文件

环境   产品: pSeries, RS/6000
软件版本: AIX 4.3, AIX 5L  
问题  如何使用errdemon客户化系统错误日志文件?  
解答 首先列出系统错误日志文件当前配置数据:

#/usr/lib/errdemon -l

Error Log Attributes
--------------------------------------------
Log File /var/adm/ras/errlog
Log Size 1048576 bytes
Memory Buffer Size 8192 bytes

如果希望改变系统错误日志文件的大小, 输入:

#/usr/lib/errdemon -s 2000000

如果希望改变系统错误日志文件buffer的大小, 输入:

#/usr/lib/errdemon -B 16384


什么版本的Oracle数据库支持AIX 5.1

环境   oracel, aix  
问题  什么版本的Oracle数据库支持AIX 5.1  
解答   AIX 4.3.3 AIX 5L  
8.1.7 32-bit  Yes Yes  
  now (Production) now (Production)  
       
8.1.7 64-bit Yes    
  now (Production)    
       
9.0.1 64-bit Yes Yes  
  now (Production) now (Developer's Release)  
       
9.2 64-bit  Yes Yes  
  now (Production) now (Production)  
       

 


如何监控裸设备I/O?

环境   产品:pSeries,RS/6000
软件版本:AIX 4.3 AIX 5.1  
问题  如何监控裸设备I/O?  
解答 sar命令中的“-b”选项可以用于监控裸设备I/O。裸设备一般用于存放数据库数据。

# sar -b 1 3

AIX 6f1 3 4 00023A0F4C00 06/19/02

18:16:30 bread/s  lread/s  %rcache  bwrit/s  lwrit/s  %wcache  pread/s  pwrit/s  
18:16:31  0 0 0 0 0 0 0 0  
18:16:32  0 0 0 0 0 0 0 0  
18:16:33  0 0 0 0 0 0 0 0  
                   
Average  0 0 0 0 0 0 0 0  

其中bread/s 和bwrit/s显示了块裸设备(block raw device)I/O操作的数目。pread/s 和pwrit/s显示了字符裸设备(character raw device)I/O操作的数目

   


在AIX上安装RPM格式软件包

环境  AIX 4.3.3/5L  
问题  在AIX上安装RPM格式软件包  
解答 1.从Linux Application Toolbox CD安装Redhat Package Manager - rpm.rte

2.安装RPM格式软件
#rpm -ivh fileset_name

3.检查按装结果
#rpm -q fileset_name

 


gated 进程介绍和应用

内容
提要  我们知道在AIX操作系统中,gated 进程可以支持RIP, RIPng, EGP, BGP, OSPF等协议,甚至还支持SNMP协议。通常来讲,gated进程不能和routed进程同时使用,否则会导致不可预见的错误。  
1.如何启动和停止gated
2.gated进程的工作模式
  1) 配置 /etc/gated.conf 支持 RIP 协议
  2)配置 /etc/gated.conf 支持 OSPF 协议

正文 我们知道在AIX操作系统中,gated 进程可以支持RIP, RIPng, EGP, BGP, OSPF等协议,甚至还支持SNMP协议。通常来讲,gated进程不能和routed进程同时使用,否则会导致不可预见的错误。

1. 如何启动和停止gated

gated进程是AIX中系统资源控制系统(SRC)的一个子系统,因此,我们可以用以下命令来启动和停止gated:
startsrc -s gated -- 启动
stopsrc -s gated -- 停止

top  

2. gated进程的工作模式
当gated启动时,gated进程会自动查找 /etc/gated.conf 文件,根据 /etc/gated.conf 的配置启动相应的服务。因此,正确地配置 /etc/gated.conf 文件对于gated进程能否正常地启动和工作是至关重要的。

以下就本人的经验对如何配置 /etc/gated.conf 文件,从而启动最经常使用的 RIP 协议和 OSPF 协议,进行介绍:

top  

1) 配置 /etc/gated.conf 支持 RIP 协议

# 该 gated.conf 文件将RIP信息的更新通知系统的所有网络接口。同时,当gated进程没有启动或路由信息没有更新时,保留路由表中的静态路由信息。

# /etc/gated.conf

traceoptions "/tmp/gated.trace" all ;

redirect yes ;

rip yes {
interface all ripin ripout;
};

static {
default gw 172.16.1.1 retain ;
};

top  

2)配置 /etc/gated.conf 支持 OSPF 协议

# 该 gated.conf 文件使 gated 进程在ent0端口使用OSPF 协议。并从9.185.40.1(路由器端口)接收更新的路由信息。如果要侦听多个路由器端口,就把这些端口的地址放入 eligible 项中。



################# gated configuration for CLIENT ############

traceoptions "/var/tmp/gated.log" all ;
routerid 1
rip no ;
ripng no;
hello no;

ospf yes {
traceoptions state detail packets ;
area 0.0.0.1 {
interface ent0 nonbroadcast cost 1 {  
pollinterval 10 ;  
routers {  
9.185.40.1 eligible;
} ;

retransmitinterval 5;
hellointerval 10;
priority 50;
routerdeadinterval 40;
};
};
};
export proto ospfase {  
proto static;  
proto kernel;  
proto direct;  
} ;



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/26132/showart_319942.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP