Ack,

Will push this on your behalf.
Mathi.

----- [email protected] wrote:

> README                                                      |  11
> +++++++++++
>  contrib/plmc/config/plmcboot.service.in                     |   2 +-
>  contrib/plmc/config/plmcd.service.in                        |   2 +-
>  osaf/services/infrastructure/nid/config/opensafd.service.in |   2 +-
>  4 files changed, 14 insertions(+), 3 deletions(-)
> 
> 
> Jun 2 16:55:57 linux-po6q osafrded[16114]: Started
> Jun 2 16:55:57 linux-po6q osafrded[16114]: Creation of real-time
> thread 'OSAF_TMR' FAILED - 'Operation not permitted'
> Jun 2 16:55:57 linux-po6q osafrded[16114]: ER ncs_core_agents_startup
> FAILED
> Jun 2 16:55:57 linux-po6q opensafd[16086]: ER Failed
> Jun 2 16:55:57 linux-po6q opensafd[16086]: ER Going for recovery
> Jun 2 16:55:57 linux-po6q opensafd[16086]: ER Trying To RESPAWN
> /usr/lib64/opensaf/clc-cli/osaf-rded attempt #1
> Jun 2 16:55:57 linux-po6q opensafd[16086]: ER Sending SIGKILL to RDE,
> pid=16106
> Jun 2 16:55:57 linux-po6q osafrded[16114]: Exiting...
> Jun 2 16:56:12 linux-po6q osafrded[16133]: Started
> 
> Linux distros that use a version of systemd < 205 (OpenSUSE 12.1,
> OpenSUSE 12.2,
> Fedora <= 19), fail to start opensafd because, by default, these
> versions of
> systemd do not assign any RT time budgets to the "cpu" cgroups for
> services.
> 
> The solution is in two parts:  (1) Create an opensafd.service file for
> use by
> systemd which has cgroup info in it.  This cgroup info is not put into
> the
> service file if the systemd version is >= 205.  (2) Make plmcd a full
> systemd-enabled daemon.
> 
> diff --git a/README b/README
> --- a/README
> +++ b/README
> @@ -688,6 +688,11 @@ the following command shall start the Op
>  
>  % /etc/init.d/opensafd start [start|stop|status]
>  
> +If your distro uses systemd (e.g. OpenSUSE 12.1 or greater, Fedora 15
> or
> +greater) use the following command to start the OpenSAF services:
> +
> +% systemctl [start|stop|status] opensafd.service
> +
>  Commands to Start OpenSAF When PLM is enabled:
>  ==============================================
>  After a minimum configuration of 
> @@ -703,6 +708,12 @@ The following commands shall be executed
>  
>  % /etc/init.d/opensafd start [start|stop|status]
>  
> +If your distro uses systemd (e.g. OpenSUSE 12.1 or greater, Fedora 15
> or
> +greater) use the following commands:
> +
> +% systemctl start plmcd.service
> +% systemctl [start|stop|status] opensafd.service
> +
>  Note: Its not necessary to start OpenSAF if an entry to start OpenSAF
> is
>  set/specified in the plmcd.conf file.
>  
> diff --git a/contrib/plmc/config/plmcboot.service.in
> b/contrib/plmc/config/plmcboot.service.in
> --- a/contrib/plmc/config/plmcboot.service.in
> +++ b/contrib/plmc/config/plmcboot.service.in
> @@ -1,6 +1,6 @@
>  [Unit]
>  Description=Send a UDP datagram to OpenSAF PLM controllers indicating
> the OS state
> -After=syslog.target network.target
> +After=remote-fs.target local-fs.target syslog.target network.target
>  
>  [Service]
>  ExecStart=@sbindir@/plmcd -c @sysconfdir@/plmcd.conf -s
> diff --git a/contrib/plmc/config/plmcd.service.in
> b/contrib/plmc/config/plmcd.service.in
> --- a/contrib/plmc/config/plmcd.service.in
> +++ b/contrib/plmc/config/plmcd.service.in
> @@ -1,6 +1,6 @@
>  [Unit]
>  Description=OpenSAF PLMC Daemon
> -After=syslog.target network.target plmcboot.service
> +After=local-fs.target remote-fs.target syslog.target network.target
> plmcboot.service
>  Wants=plmcboot.service
>  
>  [Service]
> diff --git
> a/osaf/services/infrastructure/nid/config/opensafd.service.in
> b/osaf/services/infrastructure/nid/config/opensafd.service.in
> --- a/osaf/services/infrastructure/nid/config/opensafd.service.in
> +++ b/osaf/services/infrastructure/nid/config/opensafd.service.in
> @@ -1,6 +1,6 @@
>  [Unit]
>  Description=OpenSAF daemon
> -After=syslog.target network.target
> +After=remote-fs.target local-fs.target syslog.target network.target
>  
>  [Service]
>  ExecStart=@initscriptdir@/opensafd start

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to