From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 115a6f,c924a82c08f248cb,start X-Google-Attributes: gid115a6f,public X-Google-Thread: 1164f8,c924a82c08f248cb,start X-Google-Attributes: gid1164f8,public From: andrewg@no.spam.please.za.didata.com (Andrew Gaylard) Subject: Samba and Tru64 + ASE Date: 2000/11/08 Message-ID: <3a093976$0$232@hades.is.co.za>#1/1 X-Deja-AN: 691160900 X-Trace: hades.is.co.za 973683062 232 196.38.213.1 Newsgroups: comp.sys.dec,comp.protocols.smb 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 ", 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 " 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