Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: andrewg@no.spam.please.za.didata.com (Andrew Gaylard)
Subject: Samba and Tru64 + ASE
Date: 2000/11/08	[thread overview]
Message-ID: <3a093976$0$232@hades.is.co.za> (raw)


Hello all,

Here's a challenge to any Samba and/or Compaq Tru64 ASE cluster experts.

My setup consists of :
- two DEC 4100 AlphaSevers running Tru64 v4.0G with the latest patchset,
- Compaq TruCluster v1.6 available server environment (ASE),
- two NFS services configured and working in ASE.

Now that I have a highly-available NFS fileservice, I would like to make
the same files available via Samba 2.0.7, using NT PDC domain
authentication (that is, "security = DOMAIN" in my smb.conf file).
Unfortunately, this last requirement is important.  (Otherwise it would
be quite a bit easier...)

The one problem is, I want to add the service name/IP to the "server
manager for domains", and not the cluster member itself.  When I run
"smbpasswd -j <domain>", the cluster member name is added, and not the
service.

The other problem is, how can I get samba to serve the two services in
the case where one machine has died, and ASE has failed the service over
to the other?  In this case, the remaining cluster member must answer to
SMB requests for both service names / IPs.

I think that with a bit of fiddling, I can get this to work, as follows:

1. Set up two copies of Samba on each machine, in separate directories.
Actually, I would need only 2 copies of .../lib/smb.conf, .../private/*,
and .../var/* (for the log files).  That leaves the bin and man
directories, so it's probably worth using two completely separate
installation areas.

2. Set up each instance of Samba to use the service name as the NetBIOS
name, not the default hostname (which in this case is the cluster
member, and is subject to change).  I would use the "netbios name ="
directive in each smb.conf for this.

3. Set each instance of Samba to listen only on one IP address, which
will be the address of the service.  I would use the "socket address ="
directive in each smb.conf for this.

4. Set up each instance of Samba to serve only filesystems on the
mirrored disks which are part of this ASE service.

5. Run "smbpasswd -j <domain>" to join my NT domain twice, once in each
copy of Samba.

6. Set up ASE start and stop scripts to fire up Samba and shut it down
in accordance with ASE actions.

Is there a better way?
Am I missing something?
Even something unimportant?
Is this scheme likely to work?
Has *anyone* done this before and got it to work?

Lastly, what happens to SMB when Samba is rapidly shut down, and started
up another box within 10 seconds, and that new box responds to the same
NetBIOS name?  I understand that SMB is state-based, unlike NFS (which
is very simple to fail over, as I've seen).

I'd appreciate any feedback, even "you must be nuts to attempt this".
--
-- 
Andrew Gaylard
andrew.gaylard @ za . didata . com




             reply	other threads:[~2000-11-08  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-08  5:00 Andrew Gaylard [this message]
2000-11-08  5:00 ` Samba and Tru64 + ASE Andrew Gaylard
2000-11-11  5:00   ` Andrew Gaylard
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox