Thanks Prabhu.
These commands you provide works well. Paynode "PL_2_20" can run
up.
But this is only basic configuration. No application is
configured on this node. It is empty and useless.
And only one OpenSAF process is running:
"/opt/opensaf/payload/bin/ncs_pcap NID_SVC_ID=18".
Some HA-Aware applications should be added to this node.
How to add "service group", "service unit", "service instance"
etc. including all kinds of software components?
For example: "CompT_SC_CPND", "CompT_SC_MQND", "CompT_SC_GLND",
"safComp=CompT_IFND", "safComp=CompT_EDS",
"safComp=CompT_AvSvDemo" etc.
When "PL_2_20" is running, it is just like "PL_2_3" which is
configured by XML files. How to configure these software components
using snmpset?
Best regards.
Long Qingyang
________________________________
From: Sreenivasan Prabhu-G20200 [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 9:04 PM
To: Long, Qing Yang (TSG-GDCC-SH/CMEP); [email protected]
Subject: RE: [Users] Adding a node to OpenSAF cluster
Hi Long Qingyang
You can configure a running opens system using MIBS.
for example to add a node configuration dynamically on a running system.
say to add a payload node on slot 20 (0x02140f), give the following SNMP
commands on your active controller.
snmpset -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost
SAF-AMF-MIB::saAmfNodeSuFailoverProb.\"safNode=PL_2_20\" x "00 00 00 00
05 F5 E1 00"
snmpset -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost
SAF-AMF-MIB::saAmfNodeSuFailoverMax.\"safNode=PL_2_20\" u 2
snmpset -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost
SAF-AMF-MIB::saAmfNodeAdminState.\"safNode=PL_2_20\" i 2
snmpset -v2c -c public -m /usr/share/snmp/mibs/NCS-AVSV-MIB localhost
NCS-AVSV-MIB::ncsNDNodeId.\"safNode=PL_2_20\" u 134928
snmpset -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost
SAF-AMF-MIB::saAmfNodeRowStatus.\"safNode=PL_2_20\" i 1
after wards you need to add SU's, components etc.. on this new node.
Refer SAF-AMF-MIB & NCS-AVSV-MIB for more details.
Note: copy all mibs to /usr/share/snmp/mibs on active controller
export MIBDIRS=/usr/share/snmp/mibs from your shell.
Thanks
Prabhu
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Long, Qing Yang
(TSG-GDCC-SH/CMEP)
Sent: Thursday, October 25, 2007 6:56 AM
To: [email protected]
Subject: [Users] Adding a node to OpenSAF cluster
Hello friends,
I need your help about the following questions
1. OpenSAF uses NCSSystemBOM.xml and AppConfig.xml to configure a
cluster node and software components.
How to achieve this function: Add a node to OpenSAF cluster when
OpenSAF is running ?
Do you have C language program which implementing this function?
2. Or do you have a step by step operation guide to add a node to
OpenSAF cluster manually?
Thanks.
Long Qingyang
_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users