Hi, see my answers inline. Thanks Ingvar
-----Original Message----- From: Shu Wang [mailto:[email protected]] Sent: den 27 april 2015 23:30 To: Mathivanan Naickan Palanivelu; Ingvar Bergström Cc: [email protected] Subject: RE: [users] How to upgrade OpenSAF Ingvar and Mathi, thanks for your replies. I have more questions on live upgrades. 1. If I have an existing SG that has 3 SUs and 3 SIs, the SG is no redundancy no spare. One active SU per SI. Also the following attributes are defined as: saAmfSGNumPrefInserviceSUs=3 saAmfSGNumPrefAssignedSUs=3 Is it possible that I add more SU/SI to the SG while keep the SG unlocked? I tried to add a new SU and SI, but the new SU does not get SI assignment, and saAmfSGNumPrefAssignedSUs can't be modified when SG is unlocked, but I don't want to lock SG since I need to keep the SUs are in unlocked state. [Ingvar] This must be answered by someone knowing AMF better than I do. When I make up campaigns I usually first do all operations "by hand" i.e. using the immcfg command to sort out in which order things have to be defined. Some work has been made in AMF which allows items to be taken in operation when defined. 2. I am trying to come up with campaign files for various scenarios, I often get the campaign to some error state, then I got stuck with the campaign. I can't rollback, and I can't delete the campaign. Since I am testing, I can restart the cluster. But in production, I can't. Is there anyway to get out of this situation without restarting the cluster? [Ingvar] The only way to recover from a failed campaign is to restore the system. Rollback is not possible since in such case we would have to say that SMF can recover the system safely from any possible fault, which of course is impossible. As I wrote before, when develop campaigns for which you are not sure about the sequences, first do the operations "manually" then write the campaign to make it automated. 3. We are trying to compare various live upgrade scenarios by using immcfg commands only or using SMF framework. It looks like we still have to come up with the steps and procedures using SMF, and it requires additional work to write a campaign configuration file. Is there any type of live upgrade that absolutely requires using SMF? Or is it easier just to use immcfg tools? [Ingvar] You can do upgrades manually but from SMF you will get a lot of support. Simple upgrades such as replace software is very easy using SMF and using templates make your campaigns cluster size agnostic with minimal service degradation during upgrade (rolling upgrade procedures). SMF will also give you a lot of other opportunities. I think that doing upgrades manually is not an option if you want to do it more than once. Using SMF you just enter an EXECUTE operation and wait. 4. For some OpenSAF live upgrades, we need to upgrade the Linux version. Can we still do the live upgrade from node to node by shutdown and start OpenSAF? During the process, we might have some nodes running older OpenSAF in older linux kernel, at the meantime, some nodes are running the newer OpenSAF in new linux kernel. Will it cause any problems? What additional benefits that SMF can provide in this scenario? [Ingvar] OpenSAF is supposed to be backward compatible so such upgrade shall not take you in to trouble. I think it is important to know that SMF just orchestrates the upgrade. It do what you write in the campaign.xml. SMF uses other OpenSAF services like AMF, IMM, bundle install/remove commands and user defined commands to accomplish tasks. What the software bundles contain are of no interest by SMF, it will expect non error indication from bundle installation and removal commands. You can mark a software bundle to make SMF to reboot the node to install/remove it. This is usable when updating OS, libraries etc. We use it also for OpenSAF upgrades. Thanks! Shu Wang | Senior Analyst | +1(407)708-5117 or x3917| www.NetCracker.com Proven Partner to Communications Service Providers -----Original Message----- From: Mathivanan Naickan Palanivelu [mailto:[email protected]] Sent: Thursday, April 09, 2015 7:12 AM To: [email protected] Cc: [email protected]; Shu Wang Subject: Re: [users] How to upgrade OpenSAF Hi, Some more answers (to add on top of ingvar's response): > just lock SU, or node? What will be the proper order going through the Typically starting with the controllers first and proceeding to the payloads. > nodes? Will OpenSAF tolerate newer version in some nodes, old version > in other nodes? Upgradeability is a requirement for all OpenSAF releases in 4.* stream. So, during the course of an upgrade path say from 4.4 to 4.5, there would ofcourse be a transient phase when one node is running 4.5 and another 4.4 versions. Thanks, Mathi. ----- [email protected] wrote: > Hi, > first you must create a swBundle which contain the new version of the > software you want to update on the nodes. In your case the OpenSAF > software. > A software bundle contain commands which will be invoked by SMF on the > node where the swBundle shall be installed. > OpenSAF software requires to be restarted so I always use a rolling > upgrade where the nodes are rebooted after installation of the > swBundle. > A software bundle which requires reboot to be activated must install > itself on the node when the offLineInstall command is invoked from > SMF. > SMF will reboot the node if any bundle listed to be installed by the > procedure have the saSmfBundleInstallOfflineScope set to value 4 > (Execution environment). > > The new component version type must be defined and AMF model updated. > > Look in the > opensaf-staging/samples/smfsv/campaigns/campaign_rolling_nodes.xml > > In this sample campaign the "bundleA" requires reboot to install and > the AMF model is maintained for this component. > When upgrading OpenSAF there are a lot more components needed to be > listed in the campaign. > > opensaf-staging/samples/smfsv/README contain some information. I don't > know if the samples still work, you may have to adjust some component > revisions from e.g. 4.0.0 to 1. > > I think you can also upgrade OpenSAF manually without using SMF by > just stopping OpenSAF, install new rpm's and start OpenSAF. Node by > node. > The UML directory shall always be created at > opensaf-staging/tools/cluster_sim_uml > > Thanks > Ingvar > > -----Original Message----- > From: Shu Wang [mailto:[email protected]] > Sent: den 7 april 2015 23:10 > To: Shu Wang; [email protected] > Subject: Re: [users] How to upgrade OpenSAF > > Is there anybody who had done live upgrade on OpenSAF before? Can you > share some experience? I have an OpenSAF cluster, I want to upgrade > OpenSAF to a newer version while keep the cluster up and running. > Thank you! > > Shu Wang | Senior Analyst | +1(407)708-5117 or x3917| > www.NetCracker.com Proven Partner to Communications Service Providers > > From: Shu Wang > Sent: Friday, April 03, 2015 10:02 AM > To: '[email protected]' > Subject: How to upgrade OpenSAF > > How do I upgrade OpenSAF from one OpenSAF release to another while > keep the cluster up and running? > > 1. Can I use SMF upgrade campaign? If yes, is there a sample campaign > file provided by OpenSAF? Is it one of the sample files in > samples/smfsv? If yes, which one? > 2. Is it possible doing the upgrade without using SMF framework? If I > do it node by node, do I have to stop OpenSAF on the node or I can > just lock SU, or node? What will be the proper order going through the > nodes? Will OpenSAF tolerate newer version in some nodes, old version > in other nodes? > 3. The sample files in samples/smfsv refer to UML environment. But I > can't find tools/cluster_sim_uml directory. Is it part of OpenSAF > package? Is there any flag required to get this directory when I > configure and build OpenSAF? > > Thank you! > > > Shu Wang | Senior Analyst | +1(407)708-5117 or x3917| > www.NetCracker.com<http://www.NetCracker.com> > Proven Partner to Communications Service Providers > > > > > ________________________________ > The information transmitted herein is intended only for the person or > entity to which it is addressed and may contain confidential, > proprietary and/or privileged material. Any review, retransmission, > dissemination or other use of, or taking of any action in reliance > upon, this information by persons or entities other than the intended > recipient is prohibited. If you received this in error, please contact > the sender and delete the material from any computer. > ---------------------------------------------------------------------- > -------- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard Learn > Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Opensaf-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensaf-users > > ---------------------------------------------------------------------- > -------- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard Learn > Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Opensaf-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensaf-users ________________________________ The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential, proprietary and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
