Table of contents
- 1 read document: opensaf installlationn and configuration user's guide.pdf
- 2 read document: SAI-Overview-B.0.5.03.pdf
- 3 take action: Install VMware and Ubuntu Server
- 4 take action: Install opensaf
- 5 take action: cp vm to 4 VM systems (in Windows System)
- 6 tack action: 4 nodes configure (Ubuntu server)
1 Read document: opensaf installlationn and configuration user's guide.pdf
- Introduction
- Prerequisites
- Opensaf build procedures
- Install opensaf
- Using ing and starting opensaf
- 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)
-
- VM configure
-
- Server Hostname and hosts
- Node000
- Node001
- Node010
- Node011
- Server static IP
- 192.168.1.200
- 192.168.1.201
- 192.168.1.210
- 192.168.1.211
-
- 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
- Opensaf configure
- at first, shocould 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 shoshould 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