当前位置: 首页 > 工具软件 > OpenSAF > 使用案例 >

OpenSAF install & configure with 4 nodes

谢选
2023-12-01

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

转载于:https://www.cnblogs.com/wangshide/archive/2013/03/03/2941149.html

 类似资料:

相关阅读

相关文章

相关问答