My Oracle Support Banner

Solaris Cluster 3.x How to Disable Cacao "common-agent-container" Permanently if Required? (Doc ID 1627879.1)

Last updated on MAY 30, 2017

Applies to:

Solaris Cluster - Version 3.2 to 3.3 U2 [Release 3.2 to 3.3]
Solaris Cluster Geographic Edition - Version 3.2 to 3.3 U2 [Release 3.2 to 3.3]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)


How to disable cacao the SMF service "svc:/application/management/common-agent-container-1:default" to persist reboots in Solaris Cluster 3.x environment?

Solaris Cluster require this service for Solaris Cluster Manager (SC3.x), cluster check utility, Data Service Wizards (also in clsetup), and telemetry service. If you have snmp configured cacao is generating snmp traps for Solaris Cluster. Therefore this service should not be disabled permanently in Solaris Cluster environment.

Also other applications can require this service.


The normal approach to disable this service to persist reboots does not work in Solaris Cluster.
Normal procedure:

# svcs -a | grep common
online         Dec_17   svc:/application/management/common-agent-container-1:default
# cacaoadm status
default instance is ENABLED at system startup.
Smf monitoring process:
Uptime: 69 day(s), 19:13
# cacaoadm stop -f
# cacaoadm status
default instance is ENABLED at system startup.
default instance is not running.
# cacaoadm disable
# cacaoadm status
default instance is DISABLED at system startup.
default instance is not running.
#  svcs -a | grep common
disabled        9:49:14 svc:/application/management/common-agent-container-1:default

Because in case of Solaris Cluster the service have a dependency to rgm-starter service

# svcs -l /application/management/common-agent-container-1:default
fmri         svc:/application/management/common-agent-container-1:default
name         Cacao, a common Java container for JDMK/JMX based management solution
enabled      true
state        online
next_state   none
state_time   Tue Feb 25 09:54:39 2014
logfile      /var/svc/log/application-management-common-agent-container-1:default.log
restarter    svc:/system/svc/restarter:default
contract_id  157
dependency   optional_all/none svc:/system/cluster/rgm-starter:default (online)  
dependency   require_all/none svc:/system/filesystem/local (online)
dependency   require_all/none svc:/network/initial (online)
dependency   require_all/none svc:/milestone/multi-user (online)

This dependency will startup the cacao service when rebooted. Which is the expected behavior.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.