Hi Neel, As I understand from you, immcfg -d would delete permanently the configuration even though PBE is enabled.
In my case, looks like the delete was successful after I use Hans suggestion, but I am not able to re-add the same configuration using immcfg -f samefilename.xml. I am getting the below error while re-adding the same configuration. Jan 30 09:25:16 PL-3 osafimmnd[24610]: WA create invocation '87' Not found in ccb - aborting ccb 19 Jan 30 09:25:16 PL-3 osafimmnd[24610]: NO Ignoring unexpected state(1) for ccb(19) found in ccbObjectCreateContinuation Jan 30 09:25:16 PL-3 osafimmnd[24610]: WA >>s_info->to_svc == 0<< reply context destroyed before this reply could be made Jan 30 09:25:16 PL-3 osafimmnd[24610]: ER Failed to send response to agent/client over MDS rc:2 Jan 30 09:25:17 PL-3 osafimmnd[24610]: NO ERR_FAILED_OPERATION: ccb 19 is in an error state rejecting ccbObjectCreate operation Before deleting, I disabled PBE, then deleted using immcfg -d dn and then enabled PBE to retain the future configuration additions. To enable and disable PBE I used the commands in section 3.5 from OpenSAF IMM service spec. But I did not comment out the 'imm.db' configuration in immnd.conf. Thanks Dev On Thu, Jan 30, 2014 at 7:37 PM, opensaf dev <[email protected]> wrote: > It works like a charm. Thanks a lot Hans. > > Another issue I am chasing down is, in case PBE is enabled, I am not able > to delete the configuration permanently without bringing down both the > controllers (whole cluster). Is there a way to get rid of bringing down the > cluster to delete the configuration permanently when PBE is enabled? > > Thanks again > Dev > > > On Wed, Jan 29, 2014 at 1:13 PM, Hans Feldt <[email protected]>wrote: > >> You need to quote the DN since it contains backslash >> Here's an old hack I did: http://devel.opensaf.org/~hafe/apprmv >> >> > -----Original Message----- >> > From: opensaf dev [mailto:[email protected]] >> > Sent: den 29 januari 2014 21:44 >> > To: [email protected] >> > Subject: [users] Delete error >> > >> > Hi, >> > >> > >> > >> > I get the following error while deleting the SaAmfCompCsType which I had >> > added using immcfg -f. >> > >> > >> > >> > <object class="SaAmfCompCsType"> >> > >> > >> > >> <dn>safSupportedCsType=safVersion=1\,safCSType=testType,safComp=testComp,safSu=testSU,safSg=testSg,safApp=TestApp</dn >> > > >> > >> > </object> >> > >> > >> > >> > *bash# immcfg -d >> > >> safSupportedCsType=safVersion=1\,safCSType=testType,safComp=testComp,safSu=testSU,safSg=testSg,safApp=TestApp* >> > >> > *error - object does not exist* >> > >> > >> > >> > Anything I am missing here? Is the syntax not correct? Do I need to >> delete >> > some other objects prior to remove the SaAmfCompCsType ? >> > >> > >> > >> > I also tried to delete the SaAmfCompCsType after deleting the dependent >> csi >> > and comp objects but still it fails to remove. >> > >> > >> > >> > immcfg -d safCsi=testComp,safSi=testSi,safApp=testApp >> > >> > immcfg -d safComp=testComp,safSu=testSu,safSg=testSg,safApp=testApp >> > >> > >> > >> > Thanks >> > >> > Dev >> > >> ------------------------------------------------------------------------------ >> > WatchGuard Dimension instantly turns raw network data into actionable >> > security intelligence. It gives you real-time visual feedback on key >> > security issues and trends. Skip the complicated setup - simply import >> > a virtual appliance and go from zero to informed in seconds. >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk >> > _______________________________________________ >> > Opensaf-users mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/opensaf-users >> > > ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
