zoukankan      html  css  js  c++  java
  • OpenSAF install & configure with 4 nodes

    Table of Contents

    1 read document: OpenSAF Installlationn and Configuration User's guide.pdf

    1. Introduction
    2. Prerequisites
    3. OpenSAF build procedures
    4. Install openSAF
    5. Configuring and starting opensaf
    6. Terminating and Uninstalling opensaf

    2 read document: SAI-Overview-B.0.5.03.pdf

    3 take action: install VMware and ubuntu server

    4 take action: install opensaf

    • pre install software (libxml2, m4, ...)[README file]
    • /root/opensaf-4.2.1/configure –disable-tipc ( I fonud I cannot start the opensaf middleware because of a TIPC problem)
    • make
    • make install

    5 take action: copy vm to 4 vm systems(in windows system)

    6 tack action: 4 nodes configure(ubuntu server)

    1. vm configure
      • memory: 256M
    2. server hostname and hosts
      • node000
      • node001
      • node010
      • node011
    3. server static IP
      • 192.168.1.200
      • 192.168.1.201
      • 192.168.1.210
      • 192.168.1.211
    4. server ssh/telnet
      • ssh configure
        • node000: ssh-keygen; scp .ssh/* node001:/root/.ssh/
      • telnet welcome information
        • /etc/motd
        • /etc/issue
        • etc/issue.net + /etc/update-motd.d
    5. opensaf configure
      • at first, should read the file: root/opensaf-4.2.1/00-README.conf - configure files: /etc/opensaf
        • slot_id
          • controller(node000): 1
          • controller(node001): 2
          • payload (node010): 3
          • payload (node011): 4
        • node_name(node000)
        • node_type(at present, not need to edit it)
        • nodeinit.conf
          • controller node(node000, node001): ln -sf nodeinit.conf.controller nodeinit.conf
          • pyload node(node010, node011): ls -sf nodeinit.conf.payload nodeinit.conf
        • nid.conf
          • export OPENSAF_GROUP=root (if you don't want to assign the root user, you can create a opensaf user, then this file should not be changed)
          • export OPENSAF_USER=root
      • generate imm.xml file: usr/local/share/opensaf/immxml
        • ./immxml-clustersize -s 2 -p 2 ( -s: service controller; -p: payload node )
        • edit nodes.cfg
          • SC SC-1 node000
          • SC SC-2 node001
          • PL PL-3 node010
          • PL PL-4 node011
        • ./immxml-configure
        • cp ./imm.xml.20130302_2343 /etc/opensaf/imm.xml

    7. take action: run the opensaf service

    # service opensaf start

    Starting OpenSAF Services:  * 

    # service opensafd status
    safSISU=safSu=SC-1\,safSg=2N\,safApp=OpenSAF,safSi=SC-2N,safApp=OpenSAF
    saAmfSISUHAState=ACTIVE(1)
    safSISU=safSu=SC-1\,safSg=NoRed\,safApp=OpenSAF,safSi=NoRed2,safApp=OpenSAF
    saAmfSISUHAState=ACTIVE(1)

    Author: wangsd

    Date: 2013.03.02

    HTML generated by org-mode 6.35i in emacs 24

  • 相关阅读:
    Eclipse中的快捷键
    xml文件头文件生成策略以及导入约束条件
    HTTP协议状态代码和错误状态含义的解释
    水了一个前端面试 记下问的东西
    整理的一些PHP面试题目
    Magic Index 寻找数组中A[i]=i的位置(原题转自微信号待字闺中)
    【经典算法】寻找最长01字串(转自待字闺中)
    PHP中不用第三个变量交换两个变量的值
    已知一个数组a[N]来构造数组b[N]的有趣算法题
    MySQL安装后默认自带数据库的作用
  • 原文地址:https://www.cnblogs.com/wangshide/p/2941149.html
Copyright © 2011-2022 走看看