Wannabe SunCluster question

Wannabe SunCluster question

Post by jmarkoti » Thu, 27 Feb 2003 06:25:01



Hi I'm new to clustered solutions, especially on Solaris. Recently I tried
to download SunCluster 3.0 and I saw that it is for developpers building
cluster aware applications.
I have 2 Sun Netra servers and I would like to have some sort of high
availability mail/proxy server. Right now I'm mirroring disk content from
master to a slave with rsync utility. But when master server fails, I have
to manually change some settings on slave server (like ip address) to be
able to perform as master.
I was wondering if SunCluster can make a better solutions of it (clustered
applications would be: postfix, apache, ftp, squid as proxy, pop3/imap etc).
I'm looking forward for someone to clear things to me.

thanks,
jura

 
 
 

Wannabe SunCluster question

Post by Dragan Cvetkovi » Thu, 27 Feb 2003 06:48:39



> Hi I'm new to clustered solutions, especially on Solaris. Recently I tried
> to download SunCluster 3.0 and I saw that it is for developpers building
> cluster aware applications.
> I have 2 Sun Netra servers and I would like to have some sort of high
> availability mail/proxy server. Right now I'm mirroring disk content from
> master to a slave with rsync utility. But when master server fails, I have
> to manually change some settings on slave server (like ip address) to be
> able to perform as master.
> I was wondering if SunCluster can make a better solutions of it (clustered
> applications would be: postfix, apache, ftp, squid as proxy, pop3/imap etc).
> I'm looking forward for someone to clear things to me.

Hi Jura,

Sun Cluster should be able to do this (you can configure a logical hostname
resource that is a IP address that get assigned to whatever node in cluster
is active), but there are some HW requirements that it needs:

1. you need disks which are dual-hosted i.e. shared between nodes

2. you need private NICs that are used for private cluster connections.

Typical cluster examples are NFS (as failover application) and Apache (as
scalable application). Most of your application mentioned above would be
failover applications.

As for the hardware, even 2 Ultra 10s are enough, but you need dual-homed
disks (like D1000 or better).

HTH, Dragan

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

 
 
 

Wannabe SunCluster question

Post by UT » Thu, 27 Feb 2003 14:59:01


I would like to emphasis Dragan's comment.  Clustering is fairly easy
once you do it a couple of times.  3.0 is easy since it has a GUI but
has a lot more command line utils that are far more effective.  The key
here is to have the dual private nics and a dual homed disk pack.  I did
not use a D1000 or such but an IBM diskpack with 1.4TB shared on a 24
node cluster.  That was a challenge but, again, the key is the shared
NIC's and diskpack.


>>Hi I'm new to clustered solutions, especially on Solaris. Recently I tried
>>to download SunCluster 3.0 and I saw that it is for developpers building
>>cluster aware applications.
>>I have 2 Sun Netra servers and I would like to have some sort of high
>>availability mail/proxy server. Right now I'm mirroring disk content from
>>master to a slave with rsync utility. But when master server fails, I have
>>to manually change some settings on slave server (like ip address) to be
>>able to perform as master.
>>I was wondering if SunCluster can make a better solutions of it (clustered
>>applications would be: postfix, apache, ftp, squid as proxy, pop3/imap etc).
>>I'm looking forward for someone to clear things to me.

> Hi Jura,

> Sun Cluster should be able to do this (you can configure a logical hostname
> resource that is a IP address that get assigned to whatever node in cluster
> is active), but there are some HW requirements that it needs:

> 1. you need disks which are dual-hosted i.e. shared between nodes

> 2. you need private NICs that are used for private cluster connections.

> Typical cluster examples are NFS (as failover application) and Apache (as
> scalable application). Most of your application mentioned above would be
> failover applications.

> As for the hardware, even 2 Ultra 10s are enough, but you need dual-homed
> disks (like D1000 or better).

> HTH, Dragan

 
 
 

Wannabe SunCluster question

Post by jmarkoti » Thu, 27 Feb 2003 17:51:08


Hi Dragan,
Hm, that' what I thought about shared disks, but don't have any interface
cards on Netra (i.e FC-AL cards od diffreentiated scsci - that's what
Windows guys told me they use on Windows clusters). I'm not even sure if I
cun purchase FC-AL card for Netra V.120. I'll check it.
I know there is not much sense in clusters without shared disks, but as I
said it is primarily for me to learn something about clusters and HA. I can
still synchronize disk content with rsync but maybe use Suncluster for
failover of applications (and ip addresses). Is that scenario without shared
disks possible with Suncluster (I know it not meaningful in real world) ?

thanks
Jura



> > Hi I'm new to clustered solutions, especially on Solaris. Recently I
tried
> > to download SunCluster 3.0 and I saw that it is for developpers building
> > cluster aware applications.
> > I have 2 Sun Netra servers and I would like to have some sort of high
> > availability mail/proxy server. Right now I'm mirroring disk content
from
> > master to a slave with rsync utility. But when master server fails, I
have
> > to manually change some settings on slave server (like ip address) to be
> > able to perform as master.
> > I was wondering if SunCluster can make a better solutions of it
(clustered
> > applications would be: postfix, apache, ftp, squid as proxy, pop3/imap
etc).
> > I'm looking forward for someone to clear things to me.

> Hi Jura,

> Sun Cluster should be able to do this (you can configure a logical
hostname
> resource that is a IP address that get assigned to whatever node in
cluster
> is active), but there are some HW requirements that it needs:

> 1. you need disks which are dual-hosted i.e. shared between nodes

> 2. you need private NICs that are used for private cluster connections.

> Typical cluster examples are NFS (as failover application) and Apache (as
> scalable application). Most of your application mentioned above would be
> failover applications.

> As for the hardware, even 2 Ultra 10s are enough, but you need dual-homed
> disks (like D1000 or better).

> HTH, Dragan

> --
> Dragan Cvetkovic,

> To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

 
 
 

Wannabe SunCluster question

Post by Ben Taylo » Thu, 27 Feb 2003 21:55:34



> Hi Dragan,
> Hm, that' what I thought about shared disks, but don't have any interface
> cards on Netra (i.e FC-AL cards od diffreentiated scsci - that's what
> Windows guys told me they use on Windows clusters). I'm not even sure if I
> cun purchase FC-AL card for Netra V.120. I'll check it.
> I know there is not much sense in clusters without shared disks, but as I
> said it is primarily for me to learn something about clusters and HA. I can
> still synchronize disk content with rsync but maybe use Suncluster for
> failover of applications (and ip addresses). Is that scenario without shared
> disks possible with Suncluster (I know it not meaningful in real world) ?

You can have a cluster which uses a scalable architecture, where at
least 2 of the nodes have direct attached storage, and the rest of
the cluster nodes access the data through the global interconnect.

In the case you provide, SunCluster cannot work.  You have to have
shared mirrored storage (software or provided by an HDS or other
HW Raid) so that the cluster can migrate the storage to the other
node.  And it is an illegal configuration to use something like
NFS as a dependency for the cluster.  The cluster must be self contained
and not rely on any outside services.

HTH,

Ben

> thanks
> Jura




>>>Hi I'm new to clustered solutions, especially on Solaris. Recently I

> tried

>>>to download SunCluster 3.0 and I saw that it is for developpers building
>>>cluster aware applications.
>>>I have 2 Sun Netra servers and I would like to have some sort of high
>>>availability mail/proxy server. Right now I'm mirroring disk content

> from

>>>master to a slave with rsync utility. But when master server fails, I

> have

>>>to manually change some settings on slave server (like ip address) to be
>>>able to perform as master.
>>>I was wondering if SunCluster can make a better solutions of it

> (clustered

>>>applications would be: postfix, apache, ftp, squid as proxy, pop3/imap

> etc).

>>>I'm looking forward for someone to clear things to me.

>>Hi Jura,

>>Sun Cluster should be able to do this (you can configure a logical

> hostname

>>resource that is a IP address that get assigned to whatever node in

> cluster

>>is active), but there are some HW requirements that it needs:

>>1. you need disks which are dual-hosted i.e. shared between nodes

>>2. you need private NICs that are used for private cluster connections.

>>Typical cluster examples are NFS (as failover application) and Apache (as
>>scalable application). Most of your application mentioned above would be
>>failover applications.

>>As for the hardware, even 2 Ultra 10s are enough, but you need dual-homed
>>disks (like D1000 or better).

>>HTH, Dragan

>>--
>>Dragan Cvetkovic,

>>To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

 
 
 

Wannabe SunCluster question

Post by Marc » Fri, 28 Feb 2003 01:03:38



> Hi I'm new to clustered solutions, especially on Solaris. Recently I tried
> to download SunCluster 3.0 and I saw that it is for developpers building
> cluster aware applications.
> I have 2 Sun Netra servers and I would like to have some sort of high
> availability mail/proxy server. Right now I'm mirroring disk content from
> master to a slave with rsync utility. But when master server fails, I have
> to manually change some settings on slave server (like ip address) to be
> able to perform as master.
> I was wondering if SunCluster can make a better solutions of it (clustered
> applications would be: postfix, apache, ftp, squid as proxy, pop3/imap etc).
> I'm looking forward for someone to clear things to me.

> thanks,
> jura

Sorry for this stupid question, but is then Sun Clust 3.0 free ???

Regards

 
 
 

Wannabe SunCluster question

Post by Dragan Cvetkovi » Fri, 28 Feb 2003 05:15:47



> Hi Dragan,
> I know there is not much sense in clusters without shared disks, but as I
> said it is primarily for me to learn something about clusters and HA. I can
> still synchronize disk content with rsync but maybe use Suncluster for
> failover of applications (and ip addresses). Is that scenario without shared
> disks possible with Suncluster (I know it not meaningful in real world) ?

> thanks
> Jura

Jura, you might also want to check FreeHA by Philip Brownm available at
http://www.bolthole.com/freeha/. I have no experience with it but it is
free and much simpler than SC so it can at least be your starting point if
you want to roll your own.

Hey, I know this is comp.unix.solaris and one shall push Sun Cluster
solution here, but you are probably not going to be a big customer anyway
:-)

Bye, Dragan

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

 
 
 

1. suncluster question

Is there a "sanctioned" place to incorporate script additions into
SunCluster 2.2?

I need to perform more actions when the ha monitor moves my oracle
instance (I want to shutdown a non-production instance if the production
one moves to the same node.  Non-production instance is not registered
with the cluster, for reasons out of my control.)

the obvious place to make these changes would be to amend scripts for
the appropriate methods that are registered with hareg:

hareg -q oracle
hareg -r oracle -b "/opt/SUNWcluster/ha/oracle/" -m
START="/opt/SUNWcluster/ha/o
racle/oracle_svc_start" -t START=60 -m
STOP="/opt/SUNWcluster/ha/oracle/oracle_s
vc_stop" -m ABORT="/opt/SUNWcluster/ha/oracle/oracle_svc_abort" -m
START_NET="/o
pt/SUNWcluster/ha/oracle/oracle_svc_start_net" -m
STOP_NET="/opt/SUNWcluster/ha/
oracle/oracle_svc_stop_net" -m
ABORT_NET="/opt/SUNWcluster/ha/oracle/oracle_svc_
abort_net" -m FM_INIT="/opt/SUNWcluster/ha/oracle/oracle_fm_init" -m
FM_START="/
opt/SUNWcluster/ha/oracle/oracle_fm_start" -m
FM_STOP="/opt/SUNWcluster/ha/oracl
e/oracle_fm_stop" -m
FM_CHECK="/opt/SUNWcluster/ha/oracle/oracle_fm_check" -h "p
roddb" -a 1

Of course if I do that, I lose them all on the next cluster patch
application.

Is there a "sanctioned" place or way to extend the actions that occur on
the invocation of the methods?

TIA

2. Forth-syntax shell for unix?

3. Newbie / Wannabe question about getting into linux

4. FTP Shutdown

5. Linux Wannabe Questions

6. Kernel Reconfiguration

7. Question from a Linux wannabe

8. Help installing a modem!!!

9. Questions from a Linux Wannabe??

10. netfmd[32498]: Starting up errors (Suncluster 2.2 - Solaris 2.6) (possible re-post)

11. Increasing a volume under VxVM + SunCluster

12. iplanet webserver & suncluster?

13. suncluster: is shared address failover supported?