Monitor rmc的配置

     最近从搭建rmc环境到进行rmc的UI开发。问题遇到了很不少。总结一下。

     第一步在MN上搭建rmc环境。

     1.验证rsct.core,rsct.core.utils和src在MN是否安装,如果没有必须安装上。

    

        2. Install xCAT-rmc on the mn.

      rpm -Uvh xCAT-rmc-*.rpm



      3. Make sure all the nodes and service nodes that need to have RMC installed have 'osi' in the nodetype column of the nodetype table.

       tabdump nodetype



       Make sure the mac column of mac table for the nodes and the service nodes are populated because the mac address will be used as a RMC nodeid for the node.

       tabdump mac



       4. Setup the xCAT hierarchy. If you are not using separate monitoring servers or have a flat cluster, skip this step. The monserver column of the noderes table is used to define a monitoring server for a node.

      The monserver is a comma separated pair of host name or ip addresses. The first one is the monitoring server name or ip known by the mn. The second one is the same host known by the node.

       chdef -t node -o node5 monserver=9.114.46.47,192.168.52.118



        If monserver is not set, the default is the servicenode and xcatmaster pair in the noderes table.

       5. Add rmcmon in the monitoring table. This will also add the configrmcnode postscript into the postscripts table.

       monadd rmcmon
       or monadd rmcmon -n
       or monadd rmcmon -n -s [montype=perf]



       The second command allows the RMC monitoring send the node reachability status monitoring to xCAT. You need to have RSCT 2.4.10.0 or greater on AIX 5.3 system or RSCT 2.5.2.0 or greater on AIX 6.1 for this feature to work. The third command enables performance monitoring only. Event monitoring will be disabled. To enable both, use -s [montype=event,perf]

       6. Workaround the atftpd issue。这个问题比较容易犯,在配置环境的遇到了问题,被人提醒才看到的。

        The tftp client in the open firmware of p5 is only compatible with tftp-server instead of atftpd which is required by xCAT2. So we have to remove the atftpd first and then install the tftp-server. This is not required for Power6 or later.

        Remove atftp

         rpm -qa | grep atftp
         Could find one or both of the following rpms:
         atftp-xcat-*
         atftp-*
         service tftpd stop
         rpm --nodeps -e atftp-xcat atftp



 在删除掉atftp之后。还要安装上tftp-server。这样mn和CN之间就可以交互了。不然会出错。

yum install tftp-server
在安装完成之后。到/etc/xinet.d/tftp。将disable改成no。然后使用命令
service xinetd restart

     第二步在CN上搭建rmc环境。



     第三步配置rmcmon的参数。


     第四步在rmcmon的webUI开发。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值