Chinaunix

标题: AIX SNMP 问题 [打印本页]

作者: Ayk    时间: 2007-01-26 10:11
标题: AIX SNMP 问题
这是查到的解决方法 .但是我向看看我现在snmp 用的是v1 还是 v3 应该用什么命令来检查呢?

AIX 5.2, HACMP
问题         在安装了 AIX5.2 操作系统的p系列服务器上安装HACMP时,应注意些什么?
解答        

在安装了 AIX5.2 操作系统的p系列服务器上安装HACMP时,应注意以下问题:

=======================
AIX 5.2上的SNMP注意事项
=======================

关于SNMP agents的版本,AIX 5.2版本缺省使用的是SNMP version 3 agents,而HACMP使用的是 SNMP version 1 agents。由于HACMP在启动和停止C-SPOC cluster的过程中,和在CLINFO的执行过程中,都需使用SNMP协议,因此如果使用AIX 5.2的缺省配置,则这些程序将不能正常工作。

解决的办法是将AIX 5.2 所使用的SNMP agent改为版本1。具体做法是执行AIX 提供的以下应用程序:

/usr/sbin/snmpv3_ssw -1

这样一来,AIX 5.2 上的SNMP agent,就与HACMP相匹配了。

注意:命令行的参数是数字1.

作者: Ayk    时间: 2007-01-26 10:33
o yeah
这样就可以了

ls -l /usr/sbin |grep snmpd
lrwxrwxrwx   1 root     system            9  6月30 2006   snmpd -> snmpdv3ne
-rwxr-x---   1 root     system       326232  2月04 2006   snmpd64v1
-rwxr-x---   1 root     system       285320  2月04 2006   snmpdv1
-rwxr-x---   1 root     system       274054  4月11 2005   snmpdv3ne

For example, the if current running SNMP agent is the encrypted snmpdv3 agent, the actual SNMP agent
       executable which is running on the machine is "/usr/sbin/snmpdv3e". The symblic links on the machine
       are:
       *    /usr/sbin/snmpd --> /usr/sbin/snmpdv3e
       *    /usr/sbin/clsnmp --> /usr/sbin/clsnmpe

       If a user chooses to switch to the non-encrypted snmpdv3 agent, after user runs the
       /usr/sbin/snmpv3_ssw command with the -n option, the acutal snmp agent which is running on the machine
       "/usr/sbin/snmpdv3ne". The symbolic links on the machine will be changed to:
       *    /usr/sbin/snmpd --> /usr/sbin/snmpdv3ne
       *    /usr/sbin/clsnmp --> /usr/sbin/clsnmpne



看帮助不仔细  -_-
作者: chinadns    时间: 2007-01-26 22:47
似乎不用改了,一样用




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2