Monday Mar 19, 2007

scsymon-srv goes always online

Certainly, some of you have noticed that the scsymon-srv service will be enabled on each boot of a Sun Cluster.

Mar 16 08:59:05 host345 svc.startd[8]: system/cluster/scsymon-srv:default misconfigured: transitioned to maintenance (see 'svcs -xv' for details)

But this service can only start successfully if you have SUNWescom (Sun Management Center Common Components) installed. This will be fixed in the future. In meantime you have different workarounds.

The script "/usr/cluster/lib/svc/method/svc_cl_svc_enable" try to enable all userland cluster services by default on each boot of the Sun Cluster.

  1. For Sun Cluster 3.1 you can simple disable the service by executing
    # svcadm -v disable system/cluster/scsymon-srv:default
    It's crazy but the service is still disabled after the boot due to a typo in svc_cl_svc_enable.

  2. For Sun Cluster 3.2 the typo is fixed in svc_cl_svc_enable and therefore its not enough to disable the service. Furthermore Sun Cluster 3.2 have another script /usr/cluster/lib/svc/method/svc_boot_check which disables/enables Sun Cluster smf services.


    Make a copy and modify svc_cl_svc_enable and svc_boot_check

    # cd /usr/cluster/lib/svc/method/
    # cp svc_cl_svc_enable svc_cl_svc_enable.org
    # cp svc_boot_check svc_boot_check.org
    # vi svc_cl_svc_enable
    change from:
    $SVCADM enable svc:/system/cluster/scslmclean:default
    $SVCADM enable svc:/system/cluster/scsymon-srv:default
    $SVCADM enable svc:/system/cluster/cl-svc-cluster-milestone:default
    to:
    $SVCADM enable svc:/system/cluster/scslmclean:default
    $SVCADM enable svc:/system/cluster/cl-svc-cluster-milestone:default
    # vi svc_boot_check
    change from:
    svc:/system/cluster/cl-svc-cluster-milestone:default
    svc:/system/cluster/scsymon-srv:default"
    to (Take care of " at the end to the line!):
    svc:/system/cluster/cl-svc-cluster-milestone:default"

    Beware this changes will be lost after the installation of the Sun Cluster core patch.


Update June 18 2007:
This is Bug 6492070: error message (system/cluster/scsymon-srv:default misconfigured) is displayed when boot cluster node

Which is fixed in the Sun Cluster 3.2 core patch (125511-02 S10, 125512-02 S10_x86, 125510-02 S9)

About

I'm still mostly blogging around Solaris Cluster and support. Independently if for Sun Microsystems or Oracle. :-)

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today