SMF manifest go to maintenace mode

I wrote the very simple manifest file to set 'ndd' parameter like
ndd -set /dev/tcp tcp_smallest_anon_port 42767
SMF service 'ndd' I created go to maintenace mode, I could not go online mode. how can I go to online mode?
Thank you for your help.
-Yong
# svcs ndd
STATE STIME FMRI
maintenance 19:21:20 svc:/network/ndd:default
Below is my manifest file for 'ndd' service.
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<!--
nddss has ndd settting like
ndd -set /dev/tcp tcp_smallest_anon_port 32767
-->
<service_bundle type='manifest' name='ndd'>
<service
name='network/ndd'
type='service'
version='1'>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/nddss %m'
timeout_seconds='10'>
<method_context>
<method_credential user='root' group='root' />
</method_context>
</exec_method>
<exec_method
type='method'
name='restart'
exec='/lib/svc/method/nddss %m'
timeout_seconds='10'>
<method_context>
<method_credential user='root' group='root' />
</method_context>
</exec_method>
<instance name='default' enabled='true'/>
</service>
</service_bundle>

Try adding
<dependency
         name='fs'
         grouping='require_all'
         restart_on='none'
         type='service'>
          <service_fmri value='svc:/system/filesystem/minimal' />
     </dependency>
     <dependency
         name='net'
         grouping='require_all'
         restart_on='none'
         type='service'>
          <service_fmri value='svc:/network/initial' />
     </dependency>

Similar Messages

  • Availability of SMF Manifest for SRSS3.1

    Does anyone know whether there is a SMF manifest for SRSS 3.1 available?

    SRSS has not yet been adapted to run under SMF. It delivers no manifests.

  • Re: un-import  a SMF manifest

    on solaris 10, manifest can be imported in one of two ways:
    1. svccfg import /path/to/manifest.xml
    or
    2. imported automatically during boot if /var/svc/manifest
    via svc:/system/manifest-import
    now Is there a way to un-import a smf manifest ? what is the
    prefered way to remove a manifest and associated stuff?
    Thanks in advance.
    Jason

    Great but what if I get this:
    svcadm disable tomcat
    svcadm: Pattern 'tomcat' matches multiple instances:
    svc:/application/servers/tomcat:default
    svc:/network/tomcat:default
    in order to delete it you need to disable it
    first...how do I make svc look for a diferrence ?You are providing an abbreviation ('tomcat'). Svcadm is complaining that your abbreviation is not unique. Provide the entire service name (or at least enough so that it is unique).
    Darren

  • SMF Manifests for Apache & MySQL

    I recently started checking up on SMF since the need for service control became bigger. That and the options for added security when it comes to the privilege system. I dug up a manifest for apache somewhere but simply disliked it because it used the root account. So one thing led to another and you can understand the rest yourself.
    This works for me, adds a little extra security, and I hope it also works for some of you. I tend to dump these in /var/svc/manifest/application/local and as you can see they all reside in svc:/application/local as well. Naturally this boils down to personal taste.
    apache.xml manifest
    <?xml version="1.0"?>
    <service_bundle type='manifest' name='Apache'>
    <service name='application/local/apache' type='service' version='1'>
    <single_instance />
    <dependency
    name='filesystem_and_network'
    grouping='require_all'
    restart_on='none'
    type='service'>
    <service_fmri value='svc:/milestone/local-env' />
    </dependency>
    <dependency
    name='configuration'
    grouping='require_all'
    restart_on='none'
    type='path'>
    <service_fmri value='file://localhost/etc/apache/httpd.conf' />
    </dependency>
    <exec_method
    type='method'
    name='start'
    exec='/usr/apache/bin/apachectl start'
    timeout_seconds='60' >
    <method_context>
    <method_credential
    user='webservd'
    group='webservd'
    privileges='basic,net_privaddr,!proc_info'
    limit_privileges='basic,net_privaddr,proc_chroot,proc_setid' />
    </method_context>
    </exec_method>
    <exec_method
    type='method'
    name='stop'
    exec='/usr/apache/bin/apachectl stop'
    timeout_seconds='60' />
    <exec_method
    type='method'
    name='restart'
    exec='/usr/apache/bin/apachectl restart'
    timeout_seconds='60' />
    <instance name='default' enabled='false' />
    <stability value='Evolving' />
    </service>
    </service_bundle>
    --= EOT =--
    And now for MySQL (note; this doesn't work for 5.x, I already have a test version but it still needs some work).
    mysql.xml manifest
    <?xml version="1.0"?>
    <!--
    Copyright 2005 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    MySQL.xml : MySQL manifest, Scott Fehrman, Systems Engineer
    updated: 2005-09-16
    -->
    <service_bundle type='manifest' name='MySQL'>
    <service name='application/local/mysql' type='service' version='1'>
    <single_instance />
    <dependency
    name='filesystem'
    grouping='require_all'
    restart_on='none'
    type='service'>
    <service_fmri value='svc:/milestone/local-env' />
    </dependency>
    <dependency
    name='configuration'
    grouping='require_all'
    restart_on='none'
    type='path'>
    <service_fmri value='file://localhost/etc/my.cnf' />
    </dependency>
    <exec_method
    type='method'
    name='start'
    exec='/etc/sfw/mysql/mysql.server start'
    timeout_seconds='120' >
    <method_context>
    <method_credential
    user='mysql'
    group='mysql'
    privileges='basic,!file_link_any,!proc_info,!proc_session'
    limit_privileges='basic,proc_chroot,proc_setid' />
    </method_context>
    </exec_method>
    <exec_method
    type='method'
    name='stop'
    exec='/etc/sfw/mysql/mysql.server stop'
    timeout_seconds='120' />
    <instance name='default' enabled='false' />
    <stability value='Unstable' />
    <template>
    <common_name>
    <loctext xml:lang='C'>MySQL RDBMS 4.0.24</loctext>
    </common_name>
    <documentation>
    <manpage title='mysql' section='1' manpath='/usr/sfw/share/man' />
    </documentation>
    </template>
    </service>
    </service_bundle>
    --= EOT =--
    As you can notice both of them depend on the milestone/local-env. This is my own creation. Because I'm using /var/run/apache and /var/run/mysqld I setup a shellscript to create them and linked this to a milestone entry. You can just leave it out or create your own manifest. I wonder if this forum can hold a message this long :-)

    Well, I just realized that without the milestone manifest you're missing out on some essential dependencies (network & filesystem) so I just dump it into 2 messages 8-)
    local-env.xml milestone
    <?xml version="1.0"?>
    <!--
    The local environment milestone represents the completion of system
    configuration so the local applications (apache, mysql & squid) can
    be started. In its current form this means setting up the /var/run
    directories to put the .pid and socket files in.
    -->
    <service_bundle type='manifest' name='Local_environment'>
    <service name='milestone/local-env' type='service' version='1'>
    <create_default_instance enabled='false' />
    <single_instance />
    <dependency
    name='filesystem'
    grouping='require_all'
    restart_on='error'
    type='service'>
    <service_fmri value='svc:/system/filesystem/local' />
    </dependency>
    <dependency
    name='network'
    grouping='require_all'
    restart_on='none'
    type='service'>
    <service_fmri value='svc:/milestone/network' />
    </dependency>
    <exec_method
    type='method'
    name='start'
    exec='/usr/local/sbin/setlocenv start'
    timeout_seconds='5' />
    <exec_method
    type='method'
    name='stop'
    exec=':false'
    timeout_seconds='0' />
    <property_group name='general' type='framework'>
    <propval name='duration' type='astring' value='transient' />
    </property_group>
    <stability value='Evolving' />
    <template>
    <common_name>
    <loctext xml:lang='C'>
    Local configuration milestone
    </loctext>
    </common_name>
    </template>
    </service>
    </service_bundle>
    --= EOT =--
    Keep in mind that this may work or simply won't do what you want. For example; whenever a filesystem error occurs the milestone will restart (thus re-creating /var/run/mysql and such and setting the proper ownership) but the real services (apache,mysql) won't respond to this. This maybe unsuited behaviour for you, in that case
    just readjust the manifest to better suit your liking :)
    You'll also notice that squid is mentioned, thats another project but although things work I'm not happy with it yet. Still; doesn't matter for the manifest since it basicly calls a shellscript which does the actual creating/setting of the proper directories (and even that need depends on how you configured mysql/apache).
    Hope this works for you.

  • Config HA 5508 Release 7.4.121 Secondary in Maintenace Mode

    Hello Everyone
    I have a problem, last weekend I performed HA in 5508, using a spare of WLC, in secondary I installed a new license for supporting 50 APs, Main WLC supports 25 APs, however when I enabled SSO in secondary, this one went to Maintenance Mode, pls your help because I performed in secondary "config redundancy unit primary" and "config redundancy unit secondary" as suggested in other forum, but it didn´t work.  Pls follow the config, take in mind that subnet has mask  /23:
    CONFIGURATION
    WLC1
    management                       1    100      169.6.201.235   Static  Yes    No
    redundancy-management            1    100      169.6.200.10    Static  No     No
    redundancy-port                  -    untagged 169.254.200.10  Static  No     No
    service-port                     N/A  N/A      3.3.3.3         Static  No     No
    virtual                          N/A  N/A      1.1.1.1         Static  No     No
    Commands for WLC1
    config interface address redundancy-management 169.6.200.10 peer-redundancy-management 169.6.200.22
    config redundancy unit primary
    config redundancy mode sso
    WLC2
    management                       1    100      169.6.200.15    Static  Yes    No
    redundancy-management            1    100      169.6.200.22    Static  No     No
    redundancy-port                  -    untagged 169.254.200.22  Static  No     No
    service-port                     N/A  N/A      3.3.3.3         Static  No     No
    virtual                          N/A  N/A      1.1.1.1         Static  No     No
    Commands for WLC2
    config interface address redundancy-management 169.6.200.22 peer-redundancy-management 169.6.200.10
    config redundancy unit secondary
    config redundancy mode sso
    Then of enable SSO:
    WLC1
    (Cisco Controller) >show redundancy summary
     Redundancy Mode = SSO ENABLED
         Local State = ACTIVE
          Peer State = UNKNOWN - Communication Down
                Unit = Primary
             Unit ID = 50:57:A8:C7:2B:00
    Redundancy State = Non Redundant
        Mobility MAC = 50:57:A8:C7:2B:00
    Redundancy Management IP Address................. 169.6.200.10
    Peer Redundancy Management IP Address............ 169.6.200.22
    Redundancy Port IP Address....................... 169.254.200.10
    Peer Redundancy Port IP Address.................. 169.254.200.22
    WLC2
    (Cisco Controller) >show redundancy summary
     Redundancy Mode = SSO ENABLED
         Local State = MAINTENANCE
          Peer State = UNKNOWN - Communication Down
                Unit = Secondary - HA SKU
             Unit ID = 3C:08:F6:CC:F4:A0
    Redundancy State = Non Redundant
        Mobility MAC = 3C:08:F6:CC:F4:A0
    Maintenance Mode = Enabled
    Maintenance cause= Negotiation Timeout
    Redundancy Management IP Address................. 169.6.200.22
    Peer Redundancy Management IP Address............ 169.6.200.10
    Redundancy Port IP Address....................... 169.254.200.22
    Peer Redundancy Port IP Address.................. 169.254.200.10
    Additional Notes when rebooted WLC2 after of SSO enable
    Starting Redundancy: Starting Peer Search Timer of 120 seconds
    Cannot open the file /mnt/application/ha/InheritedApCount.txt
    Cannot open the file /mnt/application/ha/InheritedApCount.txt
    Found the Peer. Starting Role Determination...
    Error:Unable to add Licenses on secondary Controller
    Standby started downloading configurations from Active...
    Starting Redundancy: Starting Peer Search Timer of 120 seconds
    Management Gateway and Peer Redundancy Management interface are not reachable.
    Entering maintenance mode...
    ok
    Standby comparing its own configurations with the configurations downloaded from Active...

    HA sync display Error:Unable to add Licenses on secondary Controller
    CSCug85798
    There is a bug description with the issue you are experiencing. 
    However, the SSO status clearly states that communication is down. Try looking into that first. Per the configuration guide:
    "After the WLCs are configured with Redundancy Management and Peer Redundancy Management 
    IP Addresses and Redundant Units are configured, it is time to enable SSO. It is important to make 
    sure that physical connections are up between both the controllers (that is, both the WLCs are 
    connected back to back via the Redundant Port using an Ethernet cable) and the uplink is also 
    connected to the infrastructure switch and the gateway is reachable from both the WLCs before SSO 
    is enabled.
    Once SSO is enabled, it will reboot the WLCs. While it boots, the WLCs negotiate the HA role as 
    per the configuration via Redundant Port. If the WLCs cannot reach each other via Redundant Port 
    or via the Redundant Management Interface, the WLC configured as Secondary may go in to 
    Maintenance Mode. Maintenance Mode is discussed later in this document."
    Make sure that the redundant port connection and cable is fine--and not going through another switch as that is not supported in this version I believe.
    However, based on the last message in your document, make sure that the WLCs can ping each others redundancy management interfaces and default gateways BEFORE converting to SSO mode (or currently, if possible). There may be an issue with the upstream distribution switch connection (trunking parameters, LAG, etc.).  
    Also, make sure that if you enabled LAG you reboot before attempting to enable SSO. If you find there is a communication issue with the upstream network, you should be able to fix the issue and then reboot the secondary WLC which will take it out of maintenance mode and cause it to renegotiate with the primary (assuming they can now communicate with one another). 
    I have seen in the past where the SSO fails because engineers are unable to ping the redundancy management interfaces of the other WLC--which something SSO peers check for on initial configuration and periodically to make sure there isn't a split brain scenario. 

  • Why no SMF manifest instance after installing the apache2 packages?

    Hi,
    After installing the apache2 packages:
    # pkgadd -G -d . SUNWapch2r SUNWapch2u SUNWapch2d
    then type:
    # svcs -a | grep apache2
    the output is:
    svcs: Pattern 'apache2' doesn't match any instances
    STATE STIME FMRI
    How do I solve it?
    Thanks,
    Terence

    I am seeing the same problem. After installing the apache2 pkgs ...
    svcs -l apache2
    fmri svc:/network/http:apache2
    name Apache 2 HTTP server
    enabled true
    state maintenance
    next_state none
    state_time Tue Apr 28 15:41:45 2009
    logfile /var/svc/log/network-http:apache2.log
    restarter svc:/system/svc/restarter:default
    contract_id
    dependency require_all/error svc:/milestone/network:default (online)
    dependency require_all/none svc:/system/filesystem/local:default (online)
    dependency optional_all/error svc:/system/filesystem/autofs:default (online)
    bash-3.00# tail -10 /var/svc/log/network-http:apache2.log
    [ Apr 28 14:50:32 Executing start method ("/lib/svc/method/http-apache2 start") ]
    [ Apr 28 14:50:32 Method "start" exited with status 96 ]
    [ Apr 28 15:24:42 Leaving maintenance because disable requested. ]
    [ Apr 28 15:24:42 Disabled. ]
    [ Apr 28 15:28:06 Executing start method ("/lib/svc/method/http-apache2 start") ]
    [ Apr 28 15:28:06 Method "start" exited with status 96 ]
    [ Apr 28 15:38:22 Leaving maintenance because disable requested. ]
    [ Apr 28 15:38:23 Disabled. ]
    [ Apr 28 15:41:45 Executing start method ("/lib/svc/method/http-apache2 start") ]
    [ Apr 28 15:41:45 Method "start" exited with status 96 ]
    bash-3.00# svcs -x apache2
    svc:/network/http:apache2 (Apache 2 HTTP server)
    State: maintenance since Tue Apr 28 15:41:45 2009
    Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
    See: http://sun.com/msg/SMF-8000-KS
    See: httpd(8)
    See: /var/svc/log/network-http:apache2.log
    Impact: This service is not running.
    I have yet to find Status [96]

  • Maintenace mode

    Hi:
    When ERP is in Maintenance mode, users can't login. Does concurrent program is still running? Scheduled request still running?

    Hi,
    Concurrent requests will run if the system in maintenance mode -- See (Note: 291901.1 - Maintenance Mode - A New Feature in 11.5.10).
    Thanks,
    Hussein

  • Checking SMF manifest exec_method 'start' :  why does it execute multiple

    I have a shell script given here in exec='/opt/hsqrt/bin/hsqrtctl'
    q1: should that script exit with 0 immediately after process is started or
    should it wait until process dies or gets killed ?
    q2: where do I find further information hwo to write a start & stop exec_method ?
    q3: how do I avoid a second start while my process (rtserver) is still running ?
    <exec_method
    type='method'
    name='start'
    exec='/opt/hsqrt/bin/hsqrtctl start -id all'
    timeout_seconds='15' >
    </exec_method>
    <exec_method
    type='method'
    name='stop'
    exec='/opt/hsqrt/bin/hsqrtctl stop -id all'
    timeout_seconds='15' >
    </exec_method>

    The script should exit with 0 as soon as the service is ready to serve requests.
    The best documentation for service authors we have right now is at http://www.sun.com/bigadmin/content/selfheal/sdev_intro.html . Otherwise you can send questions to [email protected] , and look at its archives.
    After your start method exits with 0, svc.startd should mark your service as "online", and then it won't execute your start method even if the user runs "svcadm enable" again.
    David

  • Maintenance Mode never ends

    I want to put a scom gruop into Maintenance. The Management Server is not member of it.
    When I use the following Powershell Script with SCOM 2012....
    Import-Module OperationsManager
    $Instance = Get-SCOMGroup -displayname "<Group>"
    $Time = ((Get-Date).AddMinutes(90))
    Start-SCOMMaintenanceMode -Instance $Instance -EndTime $Time -Comment "Automatic WSUS Updates" -Reason "PlannedOperatingSystemReconfiguration"
    ....the Maintenance mode never ends. I have to stop the mode manually. When I use the SCOM Console everything is fine.

    In my environment, it works but may be in some delay. Moreover, you can use get-scommaintenancemode to watch whether the maintenace mode and schedule end time is correct.
    You may be refer to Pete Zerge blog "r OpsMgr 2012: Group Maintenance Mode via PowerShell"
    http://www.systemcentercentral.com/opsmgr-2012-group-maintenance-mode-via-powershell-the-way-it-should-be/
    Roger

  • Question related smf service config

    Hello,
    I'm trying to create some smf manifests which should start some java vm which represents a whole application. There are for example a vm which is the jndi, a vm which works as jms and a "first" app which is called "manager".
    So I created a manifest "manager.xml" and a second manifest called "jms.xml". The jms.xml includes a dependency to manager.xml - jms should be dependent from manager:
    <dependency name='manager'
                    grouping='require_all'
                    restart_on='refresh'
                    type='service'>
            <service_fmri value='svc:/application/barisk/manager'/>
    </dependency>
    In the manager.xml is a section dependent placed:
    <dependent name='jms'
                    grouping='optional_all'
                    restart_on='none'
                    type='service'>
            <service_fmri value='svc:/application/barisk/jms'/>
    </dependent>
    My problem is now: if the manager and the jms are disabled and I start the jms with "svcadm enable jms" how it's possible to trigger the smf to enable and start the manager too without starting the manager with "svcadm enable manager" manually?
    After starting the jms the state is:
    svc:/application/barisk/jms:default (Product Serial Number Collector)
    State: offline since Tue Jul 30 10:01:37 2013
    Reason: Service svc:/application/barisk/manager:default is disabled.
       See: http://sun.com/msg/SMF-8000-GE
      Path: svc:/application/barisk/jms:default
              svc:/application/barisk/manager:default
    Impact: This service is not running.
    Thank you for any suggestions,
    Martin

    Ok, thank you,
    in the meanwhile I understand the basic concept of smf. But at first I was surprised that enabling the manager is not the job of smf.

  • Process dumps core, when started by SMF - fine when manually started

    Hi.
    h2. Explanation
    I compiled [Nagios 3.2.0|http://www.nagios.org/] manually, and created a SMF manifest and method file, based on the [OpenCSW supplied files for Nagios|http://www.opencsw.org/packages/nagios]. The method file is based on [what the Nagios guys supply|http://pastebin.ca/1577792] , but [changed a little|http://pastebin.ca/diff.php?id1=1577792&id2=1577793] .
    When I enable the "application/nagios" service, it right away goes into maintenance state. In the /var/svc/log/application-nagios:default.log log file, there's consequently then this:
    + exit 0
    [ Sep 24 13:17:10 Method "start" exited with status 0 ]
    [ Sep 24 13:17:11 Stopping because process dumped core. ]
    [ Sep 24 13:17:11 Executing stop method ("/opt/local/nagios-3.2.0/method/nagios stop") ]
    + test -r /lib/svc/share/smf_include.sh
    [...]It died, because of "*Stopping because process dumped core.*"
    If you have a look at the method file, you'll find that I dump the environment with env to a file. When I login as root and set the environment variables to exactly those values and remove any other additional variables, I can run the method / init script just fine; the nagios process doesn't core dump.
    h2. Question
    Why does the process dump core, when it's run by SMF?
    Additional questoin:Where's the core dump? I did a "find / -name core" and found nothing. I also changed coreadm:
    --($ ~)-- LC_ALL=C coreadm
         global core file pattern: /var/core/core.%f.%pAfter a reboot, there's nothing in /var/core (the directory exists).
    I'm on Solaris 10 5/09 Sparc.
    h2. Files
    *[svccfg export nagios|http://pastebin.ca/1577787]*
    *[Method file /opt/local/nagios-3.2.0/method/nagios|http://pastebin.ca/1577793]*

    There's no such directory as "/var/crash":
    --($ ~)-- ls -lad /var/c*
    drwxr-xr-x    4 root     sys             4 Sep 21 14:03 /var/cache
    drwxr-xr-x    2 root     sys             7 Sep 21 13:32 /var/cc-ccr
    drwxr-xr-x    2 root     root            2 Sep 24 13:14 /var/core
    drwxr-xr-x    2 root     sys             3 Sep 21 14:03 /var/cronGranted, since when I posted that question and now, I booted the NGZ numerous times. But in a default installation of Solaris 10, that directory isn't removed during shutdown/boot, if it exist. At least it exists on my other servers, even if it is empty (eg. like that, on a different server:
    --($ ~)-- ls -laR /var/crash/
    /var/crash/:
    total 3
    drwxr-xr-x    3 root     root          512 Mai 19  2006 .
    drwxr-xr-x   56 root     sys          1024 Dez  7  2008 ..
    drwxrwx---    2 root     adm           512 Sep 22  2008 winds06
    /var/crash/winds06:
    total 2
    drwxrwx---    2 root     adm           512 Sep 22  2008 .
    drwxr-xr-x    3 root     root          512 Mai 19  2006 ..So, I'd say that the coredump has never been stored in /var/crash.
    Anyway - isn't /var/crash just used for crashdumps, when the whole machine goes down? According to [man filesystem(5)|http://docs.sun.com/app/docs/doc/816-5175/filesystem-5?a=view] , it is &#8594; "+Default depository for kernel crash dumps.+"
    If coredumps aren't in /var/crash, aren't named "core*" and aren't stored in the directory specified by coreadm, where are they?
    Converse: If no coredump is created, why does Solaris "speak" about a coredump being created?

  • Jumpstart , smf and scripts on first boot

    Could anyone help me I am trying to work out how which is the best way to apply patches and customizations on first boot of a new machine that has just been jumpstarted. Does anyone have a example of a service that runs once to allow me to do this?

    I want to be able to not just add patches I need to
    add packages make system changes I used to be able to
    do this with /etc/rc2.d scripts but now its smf in
    solaris 10 and I need to be able to make this changes
    at run level 2 and then reboot.You can do it just like before. Put a script in /etc/rc2.d.
    You can also create a SMF manifest, and a custom "site" profile to activate/deactivate the services you want. Put them into the manifest and profile directories and they'll be loaded and activated/deactivated at first boot.
    Darren

  • SMF - start at boot time, but don't restart - possible?

    I'm setting up a software package that has a number of background processes.
    I've got SMF manifests created and imported for all of them, and they're working great for starting the processes at boot time, and doing the automatic restarts when one fails.
    Here's my problem. It turns out that the users of this software want to be able to use the software's integrated process control methods to stop some of their processes. With the current configuration, they use the software's method to stop one of it's processes, and SMF promptly restarts it.
    Is there a way to set up SMF managed software so that SMF starts it at boot time, but then doesn't care if stops later?
    Richard

    I'm not sure how it would be SMF "managed" in such a case. Obviously you want the management to be elsewhere.
    You could use the "legacy" startup scripts in /etc/rcX.d. That will start a process and forget about it, just like pre-Solaris 10. You don't use manifests or have any other benefits of SMF.
    If you do want SMF, I guess the question is how you want it to act..
    When the users stop the processes, do you want SMF to say enabled or disabled? SMF does not track enabled processes by periodic polling, it does it by tracking contracts. This means that starting a process outside of SMF does not allow SMF to track it.
    Darren

  • Sun Cluster and SMF

    Folks,
    Did you come across any products, who SMFied their product and how it impacts their cluster installations ?. Please provide details if you have any
    Thanks mUch
    _D                                                                                                                                                                                                                                                                                                                                                               

    Since I am currently not aware of third party products shipping an SMF service for their application (which does not mean much, ie. they could well exist) I just make two generic statements:
    1) If for that application a standard Sun Cluster agent exists, then the instructions for installing this data service would include to disable the SMF on the cluster nodes (like on pre Solaris 10 systems the legacy runlevel script would need to get deactivated).
    2) If for that application no standard Sun Cluster agent exists, then one would have the ability to leverage the new proxy SMF resource types coming with Sun Cluster 3.2. They would use the SMF manifest to start and stop the application. Note that by using this resource type you would not have any application fault monitoring.
    Details to 2) can be found at
    http://blogs.sun.com/SC/entry/making_smf_services_highly_available and
    http://docs.sun.com/app/docs/doc/819-2974/6n57pdk2b?a=view
    Greets
    Thorsten
    Message was edited by:
    Thorsten.Frueauf

  • Solaris 10 u6 don't boot after updates installl (May 11)

    Hi:
    Yesterday at nigth I ran updatemanager and installed several updates.
    Then said to reboot in the updatemanager checkbox.
    After that, at boot started to apear a fast message saying on several lines something about something
    wrong with " ... IPv4 ...", could't get more on those messages.
    Then it looped back to boot.
    Booted on failsafe mode, and selected to synchronize the boot archive (which the system offered on login).
    After that the normal boot just loop back to grub.
    Looking into logs I found that there was a failure installing patch 139556-09.
    Found the ".jar" under /a/var/sadm/spool, and tried to install it from failsafe mode,
    without success. The best I got ended in a message that it could not create a path
    which mentioned sometrhing like "/.Failsafe .../" .
    As far as I can remember there was 2 patches that required reboot.
    But there was several other, and I really don't know which is "responsible"
    for not allowing the system to boot.
    It is my home PC, so I can't open a service request.
    Can somebody help me?
    Thanks
    Pablo

    Hi, thanks everybody for the interest.
    The problem is still unsolved but got some progress.
    To boot on single user was of no use, having 'failsafe'.
    First thing tried was to remove the patches wwith "patchrm <patch_number>".
    I had to fake some paths with links because root was now under /a.
    Well that did an incomplete job on removing the patches.
    That was before mdinaz iluminated me with the '-R /a' option.
    At this point the boot still looped.
    Then tried again with 'patchrm -R /a <patch_number>'.
    That enebled to complete the jobs for some of the patches.
    By then the boot still looped.
    Having nothing better to do I installed the patch that originaly failed (139556-09).
    Which happened to be a mega-patch with kernel upgrade.
    After that the boot worked (yeah!), ... but ...
    SMF did not. Apparently one of the patches I uninstalled (140900-01 if I remember well)
    was a modification on SMF manifests.
    So I think that the updated kernel can't read the SMF manifests.
    Then the machine is up, but almost nothing works, no network, no automount of cdrom or USB drives, no X Windows.
    But the data is still there :)
    Again, beacause I have no official support I cannot download the patches from SunSolve.
    Then I found that the Sol 10 u7 is already on the street.
    So my plan is, unless I can get the patches, I will try to live Upgrade to update 7.
    Those are the news.
    Thanks to everybody again.
    Regards
    Pablo

Maybe you are looking for