> -Original Message-
> From: Mathivanan Naickan Palanivelu [mailto:mathi.naic...@oracle.com]
> Sent: den 25 juni 2014 15:40
> To: Anders Björnerstedt
> Cc: Hans Feldt; opensaf-devel@lists.sourceforge.net
> Subject: Re: [devel] [PATCH 1 of 1] smf: update campaign state before
> restoring
osaf/services/saf/amf/amfd/csi.cc | 4 ++--
osaf/services/saf/amf/amfd/include/si.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
These functions don't operate directly on "this" SI instance.
Let's make them static member functions for now.
diff --git a/osaf/services/saf/am
Summary: amfd: SI refactoring part 7 [#713]
Review request for Trac Ticket(s): 713
Peer Reviewer(s): AMF maintainers
Pull request to:
Affected branch(es): default
Development branch: default
Impacted area Impact y/n
Docs
When a campaign enters the completed state, all new software has been installed
changes to the information model
has been done. In this state, SMF enables the PBE to persist the changes to the
cluster information
model.
In general terms, A campaign in completed state could be of value to the ad
The question is: When is a campaign completed ?
I would assume that *before* enabling PBE, the campaign has
checkpointed/backup'ed
its state to an imm.xml file and possibly other files being part of a backup?
I could be wrong here, but if I am not then in all senses of the word the
campaign has
Hi Hans,
SMF retries for about ~ 3.5 minutes on the IMM apis.
immutilWrapperProfile.nTries = 500; /* Times */
immutilWrapperProfile.retryInterval = 400; /* MS */
If PBE generation can take a long time, then i think
the patch does addresses the issue. i.e. the patch first
Summary: SI refactoring part 5 [#713]
Review request for Trac Ticket(s): 713
Peer Reviewer(s): AMF maintainers
Pull request to:
Affected branch(es): default
Development branch: default
Impacted area Impact y/n
Docs
osaf/services/saf/amf/amfd/ckpt_dec.cc | 316 ++-
osaf/services/saf/amf/amfd/ckpt_updt.cc | 31 +--
2 files changed, 112 insertions(+), 235 deletions(-)
diff --git a/osaf/services/saf/amf/amfd/ckpt_dec.cc
b/osaf/services/saf/amf/amfd/ckpt_dec.cc
--- a/osaf/servic
osaf/services/saf/amf/amfd/csi.cc | 4 ++--
osaf/services/saf/amf/amfd/include/si.h | 11 +++
osaf/services/saf/amf/amfd/sg_nway_fsm.cc | 4 ++--
osaf/services/saf/amf/amfd/si.cc | 25 -
osaf/services/saf/amf/amfd/si_dep.cc | 2 +-
5
osaf/services/saf/amf/amfd/ckpt_edu.cc | 64 --
osaf/services/saf/amf/amfd/ckpt_enc.cc | 204
2 files changed, 78 insertions(+), 190 deletions(-)
diff --git a/osaf/services/saf/amf/amfd/ckpt_edu.cc
b/osaf/services/saf/amf/amfd/ckpt_edu.cc
--- a/osaf/s
osaf/services/saf/amf/amfd/include/si.h | 1 +
osaf/services/saf/amf/amfd/si.cc| 34
2 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/osaf/services/saf/amf/amfd/include/si.h
b/osaf/services/saf/amf/amfd/include/si.h
--- a/osaf/services/
Summary: Do osaf_abort() for invalid fd in rda [#928]
Review request for Trac Ticket(s): #928
Peer Reviewer(s): Mathi
Affected branch(es): default, 4.4 and 4.3
Development branch: default
Impacted area Impact y/n
Docs
osaf/libs/agents/infrastructure/rda/rda_papi.c | 7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
If recv() fails due to any other reason than EAGAIN or EINTR, does osaf_abort()
to generate a core dump.
diff --git a/osaf/libs/agents/infrastructure/rda/rda_papi.c
b/osaf/libs/agents
Actually I have discovered some problems related to the "immnd resurrect" use
case that requires changes to this patch.
The problem is binding the socket in the new thread because it creates race
problems with the caller's functionality.
A problem using sysconf I guess is that it is not LSB com
Ack. No major comments, except to fulfill the comments made with in the
patch.
Say.,
+ int timeout = 1; // TODO allow configuration? and
+ char grpmembuf[16384]; // can use sysconf(_SC_GETPW_R_SIZE_MAX)
Also can you please elaborate on the implementation scope of ticket #938
fo
Below it refers to "immutil waittime".
I dont know exactly what that is but the default timeout in the imma API is 10
seconds.
So if tou here anticipate to get blocked by the PBE regenerating its file,
which is what happens
when you enable the PBE, then that is a way way too low a timeout. How l
Mathi, Ingvar is on vacation.
We have our doubts about this patch. We would like to see SMF retry setting the
campaign state to COMPLETED until it succeeds. This state change is a trigger
for higher level SW management functionality. With the proposed change in SMF
the next level is also affect
Ack
/Hans
> -Original Message-
> From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com]
> Sent: den 20 juni 2014 13:39
> To: Hans Feldt; nagendr...@oracle.com
> Cc: opensaf-devel@lists.sourceforge.net
> Subject: [PATCH 1 of 1] amfnd : speed up shutdown of standby SC upon fail
18 matches
Mail list logo