Skip to main content

Solaris Automatic Startup with Multiple Nodes and Cluster

3 replies [Last post]
sspyrison
Offline
Joined: 2011-02-21

Hello,

I've got a 2 node cluster, version 3.1.2. There are 4 instances in the cluster across both nodes. 2 instances on each node and then an instance for the DAS of course.

I am on Solaris. I have explored the create-service command to create SMF manifests.

My question is, should I generate an SMF for each instance and one for the DAS?

Or, should I pursue another route to try and use the central start-cluster command?

Thanks for any feedback.

Scott

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tmueller
Offline
Joined: 2005-10-31

The idea when using create-service is to have one for each instance and
one for the DAS. start-cluster is not used in this case. The reason
for this is so that even if the DAS would be down, the instances can
still be started and stopped by the SMF service.

Note: as currently implemented in 3.1.2, the interaction between the
service and start/stop-cluster is not handled. So you have have to use
one or the other, but not both.
Tom

On 9/22/2012 10:04 AM, forums@java.net wrote:
> Hello, I've got a 2 node cluster, version 3.1.2. There are 4 instances
> in the
> cluster across both nodes. 2 instances on each node and then an
> instance for
> the DAS of course. I am on Solaris. I have explored the create-service
> command to create SMF manifests. My question is, should I generate an
> SMF for
> each instance and one for the DAS? Or, should I pursue another route
> to try
> and use the central start-cluster command? Thanks for any feedback. Scott
>
> --
>
> [Message sent by forum member 'sspyrison']
>
> View Post: http://forums.java.net/node/890452
>
>

sspyrison
Offline
Joined: 2011-02-21

Thanks for the reply. Makes sense, once things are under SMF control we can't use start-cluster and stop-cluster against the DAS because each instance is being managed by SMF.

I'll give this a go - I have a couple complications specific to my environment, but I think I can make it work.

Just to confirm - the start-cluster and stop-cluster commands essentially just start/stop all instances related to the cluster, they don't do anything special to/with the cluster itself?

best,
scott

tmueller
Offline
Joined: 2005-10-31

Correct.
Tom
On 9/23/2012 7:17 PM, forums@java.net wrote:
> Thanks for the reply. Makes sense, once things are under SMF control
> we can't
> use start-cluster and stop-cluster against the DAS because each
> instance is
> being managed by SMF. I'll give this a go - I have a couple complications
> specific to my environment, but I think I can make it work. Just to
> confirm -
> the start-cluster and stop-cluster commands essentially just
> start/stop all
> instances related to the cluster, they don't do anything special
> to/with the
> cluster itself? best, scott
>
> --
>
> [Message sent by forum member 'sspyrison']
>
> View Post: http://forums.java.net/node/890452
>
>