Re: [Samba] Samba4: fileserver on a box other than a DC

2012-06-28 Thread steve

On 27/06/12 21:16, Chris Weiss wrote:

dfs can do a sort of share cluster too, where multiple server have the
same share and the clients can connect to any one of the servers using
the same name.  My understanding is that samba supports this mode, but
you have to do the file share sync and locking some other way.  gfs or
ocfs on top of drdb are possible options for this



Hi
Just trying to get all the options before we go much further.

We already have 2 replicating DC's with the file server on DC1. Would it 
be possible to use drdb here by putting the fileserver data on a 
separate partition and syncing that to DC2? Or how about a third box 
drbd'd to DC1 mirroring the data partition and setting up that as a 
fileserver too?

Cheers,
Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4: fileserver on a box other than a DC

2012-06-28 Thread Daniel Müller
It would do with drbd in multi master mode. But what about, you need a third
and so on DC then you should choose glusterfs.
DRBD only can do 2 bricks. Gluster as you like.

Greetings
Daniel 

---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von steve
Gesendet: Donnerstag, 28. Juni 2012 08:51
An: Chris Weiss
Cc: samba@lists.samba.org
Betreff: Re: [Samba] Samba4: fileserver on a box other than a DC

On 27/06/12 21:16, Chris Weiss wrote:
 dfs can do a sort of share cluster too, where multiple server have the 
 same share and the clients can connect to any one of the servers using 
 the same name.  My understanding is that samba supports this mode, but 
 you have to do the file share sync and locking some other way.  gfs or 
 ocfs on top of drdb are possible options for this


Hi
Just trying to get all the options before we go much further.

We already have 2 replicating DC's with the file server on DC1. Would it be
possible to use drdb here by putting the fileserver data on a separate
partition and syncing that to DC2? Or how about a third box drbd'd to DC1
mirroring the data partition and setting up that as a fileserver too?
Cheers,
Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4: fileserver on a box other than a DC

2012-06-27 Thread Bjoern Baumbach
In this case I suggest a normal samba3 member server.
Alternatively you can use member server-role with samba4.

But I didn't try a join as a member with samba4 so far.

Björn

On 06/27/2012 12:12 PM, steve wrote:
 Hi
 Our fileserver is currently on DC1 in a 2DC domain. We are running out
 of space on that box.
 
 Is there any possibility of being able to run smbd on another box (not
 necessarily a domain controller) by syncing the data over to it from
 DC1? We also run NFS on some of the same data. I can already see this
 turning into a naming, IP and Kerberos nightmare.
 
 What would be the provision server-role= parameter for a machine that
 was going to be a fileserver but not a DC? Is that even possible? If it
 is going to be a domain member, maybe I should not provision?
 
 What command would I use to join the machine to the domain so it becomes
 just an ordinary member?
 
 Cheers,
 Steve
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4: fileserver on a box other than a DC

2012-06-27 Thread steve

On 27/06/12 16:07, Bjoern Baumbach wrote:

In this case I suggest a normal samba3 member server.
Alternatively you can use member server-role with samba4.

But I didn't try a join as a member with samba4 so far.


Hi
Thanks. The server-role=member sounds good.

How do I then tell the clients (I have both Linux and xp and 7 in the 
domain) to look at the new fileserver?


Currently, the Linux boxes are automounting cifs and nfs. Presumably I 
will have to change all the /etc/auto. files on the clients. will there 
be any Kerberos probelm with the machine keys do you think? This would 
also mean changing profile, home and unixhome attributes in LDAP.


Cheers,
Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4: fileserver on a box other than a DC

2012-06-27 Thread Bjoern Baumbach
Hi Steve,

On 06/27/2012 04:59 PM, steve wrote:
 How do I then tell the clients (I have both Linux and xp and 7 in the
 domain) to look at the new fileserver?

DFS could be a solution:

msdfs proxy (S)

   This parameter indicates that the share is a stand-in for another
   CIFS share whose location is specified by the value of the
   parameter. When clients attempt to connect to this share, they are
   redirected to the proxied share using the SMB-Dfs protocol.

   Only Dfs roots can act as proxy shares. Take a look at the msdfs
   root and host msdfs options to find out how to set up a Dfs root
   share.

   Example: msdfs proxy = \otherserver\someshare
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4: fileserver on a box other than a DC

2012-06-27 Thread steve

On 27/06/12 17:34, Bjoern Baumbach wrote:

Hi Steve,

On 06/27/2012 04:59 PM, steve wrote:

How do I then tell the clients (I have both Linux and xp and 7 in the
domain) to look at the new fileserver?


DFS could be a solution:

msdfs proxy (S)

This parameter indicates that the share is a stand-in for another
CIFS share whose location is specified by the value of the
parameter. When clients attempt to connect to this share, they are
redirected to the proxied share using the SMB-Dfs protocol.

Only Dfs roots can act as proxy shares. Take a look at the msdfs
root and host msdfs options to find out how to set up a Dfs root
share.

Example: msdfs proxy = \otherserver\someshare



Thanks.
I wonder if DRDB would do it too?
Cheers,
Steve


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4: fileserver on a box other than a DC

2012-06-27 Thread Bjoern Baumbach
On 06/27/2012 07:09 PM, steve wrote:
 I wonder if DRDB would do it too?

AFAIK DRDB is something like a mirror. So no, DFS is a kind of
redirection/link.

Björn

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4: fileserver on a box other than a DC

2012-06-27 Thread Chris Weiss
dfs can do a sort of share cluster too, where multiple server have the
same share and the clients can connect to any one of the servers using
the same name.  My understanding is that samba supports this mode, but
you have to do the file share sync and locking some other way.  gfs or
ocfs on top of drdb are possible options for this
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba