I've installed ODSEE Version 18.104.22.168.0 in a MMR setup. Since my deployment is working as expected, I would like to ensure all necessary processes are started up after reboots.
I've successfully enabled one of my masters to auto-start (no DCC on this host) with:
dsadm stop <database-instance>
dsadm enable-service --type SMF <database-instance>
dsadm start <database-instance>
I then rebooted my server, and as expected, dsadm is running (YAY!)
I then did the same as above for dsccagent, using the following:
This time however, svcs -a | grep dsee yields:
maintenance 15:39:21 svc:/application/sun/dsccagent7_-usr-dsee7:dsccagent7-usr-dsee7-var-dcc-agent
Reboots did not help any as well. I am able to manually stop/start dsccagent, but that defeats the purpose for what I am trying to achieve.
I would also like to point out that I received the following error when I ran dsccagent enable-service:
Registering '/usr/dsee7/var/dcc/agent' as 'dsccagent7-usr-dsee7-var-dcc-agent' in SMF ...
****svccfg (/usr/dsee7/var/dcc/agent/tmp/svc.conf, line 2): Instance already exists.
The svc.conf file mentioned above does not even exist, well not where the error above states it does.
Finally, I am still running my DS as user root, any recommendations on swapping to user 'somethingelse' appreciated!
I did, my logs never showed anything at all, leading me to believe that this is/was a SMF issue (see error given above).
What I did to fix this was to svccfg delete <daemon>, then dsccagent stop; dsccagent enable-service; dsccagent start two more TIMES!
For some reason, on two of my servers, I am showing two entries for each one SMF process, inconsistent across my four servers, but working fine <sigh>.
OK, so now that I've got my processes all registered IN SMF, and working, how do I stop processes on my pool of masters via DCC? The DCC is apparently using a 'dsadm stop <instance>' command, versus 'svcadm disable <service-name>'. I know this because after my stop command via DCC is given, the process quickly restarts, as expected when not stopped with svc*.