Hello I need a description how to move painlessly samba from one system to another without re-adding to the domain windows clients. Currently, I have samba Version 3.0.28a-1.fc7 on Fedora 7 and I want to move it on CentOS 5.5 As far as the server hardware remains the same. In addition to changing the system i would like to change new disks and add a new 3ware 9650SE Raid controller (samba will operate in RAID 5 ) My questions: - How to move a painless system that do not add clients to the domain again - Domain must have the same SID - Which file system will be more efficient for the samba (3TB partition), ext3, ext4, xfs? - Whether the version of samba in Centos 5.5 is compatible with windows 7 (standard centos 5.5 repos) - If I make raid volumes(3ware controller) with installed centos 5.5 on the another motherboard (gigabyte EG41MF-US2h) and configure samba and bring it along with the disks to intel server motherboard linux will start ?? Installation and configuration on the test machine will shorten the time necessary to migrate. Please help
You may have two general options - Have the new machine appear to be the old machine. Run "testparm -v" to verify the location of the private directory, locks directory etc and other files that you need to move over. - Setup the new machine as a BDC in the domain, migrate your data over, then promote the new machine to a PDC and demote and remove the old machine. This is probably easier if you have an LDAP backend. Otherwise you can probably copy the samba private directory over from one machine to another. About the other questions - If you want Windows 7 support you need Samba 3.4 or Samba 3.5. I would go with Fedora Core 12 since it already has Samba 3.4. Of course you can always compile from source. You may therefore want to consider having the server move as one project, and then a samba upgrade as another project. You could also setup a new machine as a BDC (as described above) with Samba 3.4.x. As you may have seen from other posts, there are changes to may need to make when you move from Samba 3.0.x to 3.4.x. -FC11 doesn't seem to like ext4 for the /boot file system. I would google ext4. Some people have an issue with the changes in journaling from ext3. I personally would stick with ext3. And about raid- - The 3ware 9650SE raid controller is a true hardware raid (I am using a few.) This means that you should be able to configure disks in a hardware raid set and move it to another server that also has a 3ware raid card. - The intel ICH7 and ICH9 raid controller built into some mother boards is "firmware raid" (aka "fake raid.") This means that the OS has to have drivers for the controller and that the PC OS and CPU is doing the RAID processing. I found out the hardway that Fedora Core 11 did not include the appropriate drivers for it, even tho RedHat Enterprise Linux 5.x did. With Linux, you should either use true hardware raid or true software raid. The upside of software raid is that you can then move the disks from one machine to another. - Don't use RAID5 for your /boot or OS slices. If your raid configuration gets messed up the system can't boot. A messed up mirror is easier to recover from. RAID5 for your data is OK- since at that point the OS is up and running. Some of my colleagues argue you shouldn't even use a mirror for your /boot partition, but instead should just back it up to another disk. On 06/15/2010 05:56 AM, Hubert Choma wrote:> Hello > I need a description how to move painlessly samba from one system to > another without re-adding to the domain windows clients. Currently, I > have samba Version 3.0.28a-1.fc7 > on Fedora 7 and I want to move it on CentOS 5.5 As far as the server > hardware remains the same. In addition to changing the system i would > like to change new disks and add a new 3ware 9650SE Raid controller > (samba will operate in RAID 5 ) > > My questions: > - How to move a painless system that do not add clients to the domain > again > - Domain must have the same SID > - Which file system will be more efficient for the samba (3TB > partition), ext3, ext4, xfs? > - Whether the version of samba in Centos 5.5 is compatible with windows > 7 (standard centos 5.5 repos) > - If I make raid volumes(3ware controller) with installed centos 5.5 on > the another motherboard (gigabyte EG41MF-US2h) and configure samba and > bring it along with the disks to intel server motherboard linux will > start ?? > > Installation and configuration on the test machine will shorten the time > necessary to migrate. > > Please help > > >
Gaiseric Vandal <gaiseric.vandal <at> gmail.com> writes: Hello Thanks for help Gaiseric Probably you misunderstood me Gaiseric. I put 3 ware controller with new disks to test machine (gigabyte mobo). I have installed Cenots with samba on raid 5 on this controller and I want to move this discs with controller to server machine (Intel Server Board SE7320SP2) Will linux (centos ) boot ??? I know that is 2 different motherboards so Anaconda will have to detect new hardware and install appropriate drivers. Another questions are: - what filesystem will be most efficient ext2,ext3,ext4 or xfs ? - what partition scheme use: - sda - 3xWDC RE3 1GB -RAID5 / /boot /var/ /home (on home partition will be data of samba users store) - sdb - 3xWDC RE3 1GB /mnt/scans (on this partition will be stored scans (.tif) the data for a large increase in) So I do not understand your sentences: "Don't use RAID5 for your /boot or OS slices. If your raid> configuration gets messed up the system can't boot."Can you explain it ?? How to install boot when I have 6 disc (3 disc per raid5 unit?) I dont' want to compile samba. I would like to use .rpm from centos or epel repos and update samba via yum. Is there any version compatibile with Win 7 in this repos ??? - Where can I find changes beetwen samba Version 3.0.28a-1.fc7 and this from centos 5.5 repo ? - How to set test machine to BDC (to copy user tdbsam and policies from PDC and migrate to PDC ???) I understand that the domain SID will remain the same and do not have to re-add clients to domain ? There is my config form fedora 7 # Global parameters [global] workgroup = geodezja server string = Samba Server %v interfaces = 10.10.10.0/255.255.255.0 127.0.0.1 bind interfaces only = Yes ; encrypt passwords = yes update encrypted = Yes client ntlmv2 auth = yes log level = 2 vfs:3 auth:2 passdb:3 log file = /var/log/samba/%U.%m.log ; max log size = 5000 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 # DRUKOWANIE ; load printers = yes ; printing = cups printcap name = cups # cups options = raw logon script = %G.CMD logon path logon home domain logons = yes os level = 128 preferred master = yes domain master = yes local master = yes remote browse sync = none remote announce = none dns proxy = No wins support = yes name resolve order = wins bcast host hosts allow = 10.10.10.0/255.255.255.0 127.0.0.1 hosts deny = ALL ; unix password sync = no security = user ; password level = 0 ; null passwords = no deadtime = 0 map to guest = never create mask = 0777 nt acl support = no time server = yes enable privileges = yes passdb backend = tdbsam username map = /etc/samba/smbusers hide dot files = yes guest ok = no name cache timeout = 60 [homes] comment = Home Directories public = yes ; available = yes browseable = no writable = yes force create mode = 0775 [printers] comment = drukarki path = /var/spool/samba browseable = no ; guest ok = no ; writable = Yes printable = yes [print$] comment = Printer Drivers path = /etc/samba/drivers ; browseable = yes ; guest ok = no writable = yes write list = @domadm, root, hubert, admin users = hubert [tmp$] comment = Smietnik ; browseable = yes writeable = yes invalid users = geo1$,geo21$, at geodeta, at ewidencja, at zud path = /home/samba/tmp force create mode = 0777 valid users = @geo, at rastry, at praktykanci, at inspektor, at praktykanci_bez_zapisu, at skanery vfs object = full_audit full_audit:prefix = %u|%m|%I|%S full_audit:success = open pwrite write rename unlink rmdir mkdir full_audit:failure = read # nt acl support = yes # acl map full control = yes # admin users = @"GEODEZJA\Domain Admins" [geo$] comment = Mapa Numeryczna # level2oplocks = no ; locking = yes invalid users = @geodeta, at ewidencja, write list = @geo path = /home/samba/geo force group = geo force create mode = 0777 vfs object = recycle full_audit recycle:repository = .recycle/%U recycle:touch = true recycle:keeptree = true recycle:versions = false recycle:exclude = *.TMP *.STP recycle:directory_mode = 773 full_audit:prefix = %u|%m|%I|%S full_audit:success = read pwrite write rename unlink rmdir mkdir lock pread full_audit:failure = read write [rastry$] comment = Rastry public = yes !!! invalid users = @geodeta, at ewidencja, path = /home/samba/rastry write list = cheng, at rastry force create mode = 0777 vfs object = full_audit recycle recycle:repository = .recycle/%U recycle:touch = true recycle:keeptree = true recycle:versions = false recycle:exclude = *.TMP recycle:directory_mode = 773 full_audit:prefix = %u|%m|%I full_audit:failure = read full_audit:success = pwrite rename unlink rmdir mkdir [osrodek$] ## public = yes !!! invalid users = geo1$,geo21$, at geodeta, at ewidencja, at zud, path = /home/samba/geobid write list = @rastry,jankowski, at skanery read list = @praktykanci_bez_zapisu deny hosts = korytarz1, korytarz2, geo1, geo21, veto oplock files = /*.mdb/*.mdx/*.dbf/*.MDB/*.MDX/*.DBF/ force create mode = 0777 vfs object = recycle recycle:repository = .recycle/%U recycle:touch = true recycle:keeptree = true recycle:versions = false recycle:exclude = *.TMP recycle:directory_mode = 773 [netlogon] browseable = no ; available = yes path = /home/samba/netlogon write list = hubert [profiles] browseable = no path = /home/samba/profile writable = yes create mask = 0777 [wykonawcy$] create mode = 0777 hosts deny = korytarz1, korytarz2, g1, g2, g3, g4 ; browseable = yes writable = yes invalid users = @geodeta, at ewidencja, at zud, path = /home/samba/wykonawcy directory mask = 0777 [skany] comment = Skany ; browseable = yes path = /mnt/skany/skany/ write list = @skanery,jankowski force group = skanery valid users = @geo, at rastry, at skanery, at inspektor, at praktykanci, at praktykanci_bez_zapisu deny hosts = korytarz1, korytarz2 invalid users = geo1,geo1$,geo21$, at geodeta, at ewidencja, at zud vfs objects = recycle full_audit recycle:repository = .recycle/%U recycle:touch = true recycle:keeptree = true recycle:versions = false recycle:exclude = *.TMP recycle:directory_mode = 773 full_audit:success = write pwrite rename unlink rmdir mkdir connect read pread full_audit:prefix = %u|%m|%I|%S full_audit:failure = read write force create mode = 0775 force directory mode = 0775 Please Help
Götz Reinicke - IT-Koordinator
2010-Jun-16 09:04 UTC
[Samba] samba migration to another llinux distro
Hi, Am 15.06.10 11:56, schrieb Hubert Choma:> Hello<...>> - Whether the version of samba in Centos 5.5 is compatible with windows > 7 (standard centos 5.5 repos)http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Release_Notes/ar01s08.html Topic Samba: The Samba3x package set was originally introduced in the x86_64 Supplementary for the 5.4 release. In Red Hat Enterprise Linux 5.5, Samba3x has been updated and is now supported on all architectures. Samba3x includes support for Microsoft? Windows? 7 interoperability. /G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia H?bner Gesch?ftsf?hrer: Prof. Thomas Schadt
Götz Reinicke - IT-Koordinator
2010-Jun-16 09:07 UTC
[Samba] samba migration to another llinux distro
Am 16.06.10 10:33, schrieb Hubert Choma:> Gaiseric Vandal <gaiseric.vandal <at> gmail.com> writes:<...>> - Where can I find changes beetwen samba Version 3.0.28a-1.fc7 and this > from centos 5.5 repo ?e.g. Download the rpm and do a rpm -qp --changelog PackageName.rpm |more /G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia H?bner Gesch?ftsf?hrer: Prof. Thomas Schadt