I have a server running CentOS 4.2 that works as a web/email with very heavy load. It runs Directadmin web gui which is like Cpanel. It runs on a cheapy mATX motherboard(ECS 741GX-M) with socket A 2800+ CPU and 2Gbyte DDR. The OS and data are on a 300Gbyte PATA maxtor drive and data backups are run weekly to another PATA drive. The server is overwelmed and data backups take over 5 hours to complete. I have a Tyan(K8E) server board now that is socket 939 with SATA support. Maxtor makes a utillity that will copy there drives so I bought a second identical PATA drive and plan on copying it so if I screw something up it will be a backup copy and not the critical original.>My first question is can I simply plug this drive into the new fastermotherboard and have it just boot up and run?>Next, should I get a dual core CPU or just a fast single core? Mostof the load on this server is due to Spamassassin dealing with about 2000 email accounts. Although it also serves up websites that is pretty minor load I beleive since they do not get all that many hits.>I was told up2date will update this server too 4.4. Problem is thatthe Directadmin GUI is a bit touchy. Any modifications to the services its married to could be bad. I really need to talk to there tech support on this.>My new server motherboard is socket 939 and supports DDR 400. It wasa bargin off ebay but appears to work fine. Would I be better off getting a socket AM2 that supports DDR2 or will that make much difference in performance? The 939 motherboard supports a max of 4Gbyte DDR too.>I also purchased a Seagate SATA 500Gbyte drive. The 300G PATA driveis just under half full. I imagine mostly email. Mailboxes for the most part have 50M cap but there alot of them and still adding more. Is there anyway to copy the OS installed on the PATA to a larger and faster SATA drive? I am doubting this since the drives place/mnt in /dev will change. I know the best solution is to install CentOS 4.4 on new box, install Directadmin, and then backup and restore to new server but that will result in substantial downtime that I am trying to get out off. Plus a lot of work. The Directadmin install has been heavilly customized and I will need to remember what I all did to it. Actually I may still do that but I would like to move to a faster motherboard first so just maybe the backups run faster. Thanks for any help or advice. Matthew
On Monday 18 December 2006 09:11, Matt wrote:> Next, should I get a dual core CPU or just a fast single core? ?Most > of the load on this server is due to Spamassassin dealing with about > 2000 email accounts. ?Although it also serves up websites that is > pretty minor load I beleive since they do not get all that many hits.If you have the extra physical space, have you considered running the new server as a dedicated spamassassin server? Ideally, you would probably want the faster and larger drive handling the mail storage, but if downtime is really a problem, offloading the process causing the most load might give you the time to design and implement a more elegant solution. -- - Kevan Benson - A-1 Networks
>> My first question is can I simply plug this drive into the new faster > motherboard and have it just boot up and run?Depends on your power supply. You will need a EPS12V power supply and you will want to get a good one that provides clean power signals if you want stability.> >> Next, should I get a dual core CPU or just a fast single core? Most > of the load on this server is due to Spamassassin dealing with about > 2000 email accounts. Although it also serves up websites that is > pretty minor load I beleive since they do not get all that many hits.Get a dual core cpu with 1MB of cache. spamassassin is not a single threaded process so a fast single core will not benefit it. How do you run spamassassin?> >> I was told up2date will update this server too 4.4. Problem is that > the Directadmin GUI is a bit touchy. Any modifications to the > services its married to could be bad. I really need to talk to there > tech support on this. > >> My new server motherboard is socket 939 and supports DDR 400. It was > a bargin off ebay but appears to work fine. Would I be better off > getting a socket AM2 that supports DDR2 or will that make much > difference in performance? The 939 motherboard supports a max of > 4Gbyte DDR too.DDR2 does not give any notable increase in performance. In fact, it adds latency which is why it took some time for AM2 to come out. You will probably be much more happy with a DDR RAM system.> >> I also purchased a Seagate SATA 500Gbyte drive. The 300G PATA drive > is just under half full. I imagine mostly email. Mailboxes for the > most part have 50M cap but there alot of them and still adding more. > Is there anyway to copy the OS installed on the PATA to a larger and > faster SATA drive? I am doubting this since the drives place/mnt in > /dev will change.You plan to run this on a single drive? I guess you don't have any problems with downtime. A SATA drive will appear as /dev/sdx while the PATA drive will appear as /dev/hdx. I don't think you will have any problems with drive order/device names.> > I know the best solution is to install CentOS 4.4 on new box, install > Directadmin, and then backup and restore to new server but that will > result in substantial downtime that I am trying to get out off. Plus > a lot of work. The Directadmin install has been heavilly customized > and I will need to remember what I all did to it. Actually I may > still do that but I would like to move to a faster motherboard first > so just maybe the backups run faster.If downtime is important to you, consider adding an extra drive and running software raid mirrors at the very least for the future. You will get downtime no matter what if you are not going to do a live transfer of data from the old box to the new one. You might as well do a good one like perhaps getting yourself a mirrored drive to install on. If not, you should be able to create identically sized partitions on the SATA drive and use dd to transfer your filesystems across and attempt to boot up with the SATA drive.
On Monday 18 December 2006 09:11 am, Matt wrote:> It runs Directadmin web gui which is like Cpanel.I resent that statement <smile>. It's nowhere near as complex as CPanel.> >Next, should I get a dual core CPU or just a fast single core?Dual core.> >I was told up2date will update this server too 4.4. Problem is that > the Directadmin GUI is a bit touchy. Any modifications to the > services its married to could be bad. I really need to talk to there > tech support on this.We use yum update to update our CentOS DirectAdmin servers. Works fine for us after we mark certain excludes in yum.conf. Search the DirectAdmin forums at "http://directadmin.com/forum" for the phrase "yum exclude" (without the quotes) for a list of excludes that works for us.>I also purchased a Seagate SATA 500Gbyte drive. The 300G PATA drive > is just under half full. I imagine mostly email. Mailboxes for the > most part have 50M cap but there alot of them and still adding more. > Is there anyway to copy the OS installed on the PATA to a larger and > faster SATA drive? I am doubting this since the drives place/mnt in > /dev will change.Even worse that will probably fail to load the drivers you need for your new sata drive.> I know the best solution is to install CentOS 4.4 on new box, install > Directadmin, and then backup and restore to new server but that will > result in substantial downtime that I am trying to get out off. Plus > a lot of work.I'd do the backup and restore. If you're going between servers with the same level of CentOS and the same level of DA, then you can use their system backup (sysbk). It doesn't have an automated restore but you can get away with untarring the directories it makes in place as long as there's no changes.> The Directadmin install has been heavilly customized > and I will need to remember what I all did to it.It's possible that sysbk doesn't copy every directory/file you've modified but making sure of that shouldn't be too hard if you have any idea at all of what kind of customizations you made. I know that I write on the DA forums that restoring a sysbk backup takes a lot of "smarts" on the part of the admin, but it's actually as simple as above if nothing (but drivers) have changed between the versions.> Actually I may still do that but I would like to move to a faster > motherboard first so just maybe the backups run faster.If you've got IP# space you can get a one month license from DA and have both systems working at the same time (that's how I do it). Jeff -- Jeff Lasman, Nobaloney Internet Services 1254 So Waterman Ave., Suite 50, San Bernardino, CA 92408 Our blists address used on lists is for list email only Phone +1 909 266-9209, or see: "http://www.nobaloney.net/contactus.html"