Tech Snippets | scolard.com

CAT | Servers

With HyperV beginning to make a dent into the small/medium business world as a solid virtualization solution some of us will need to migrate servers across from VMware to HyperV. There are naturally many many ways to achieve this goal. Personally i have tried Backup Exec Intelligent Disaster Recovery, Acronis True Image with Universal Restore & Windows Backup to name a few.

The release of Microsoft System Center Essentials encouraged me to try SCVMM to conver 3 vmware machines.
All 3 conversions failed from an oobe setup of SCVMM due to issues with NIC, disk drives and a SQL Server timeout (bad switch). These turned out to be because of Trend Micro AntiVirus so make sure you disable AV before trying it. The servers that failed the conversion ran Server 2003/2008 Operating systems. This lead me to search for other options when converting.

I followed an old guide here on technet from 2008.

Converting my Server 2008 server worked ok. For this i went from step 6 onwards.
Converting the Server 2003 servers went a little differently. Both of them had vdmk’s split over 2GB so i had to resolve that first, see http://scolard.com/wordpress/?p=376
Once done i used the same method as the guide with 1 change, rather than adding a virtual HDD on an IDE controller i simply added a CD/DVD-ROM drive on IDE 0-1, which has less messing with vmdk files.
Converting them after this went the same as my server 2008 conversion above.

All 3 VM’s are now running as HyperV Guests with only 1 minor issue. When i assigned the old IP addresses to the new NIC’s windows gave me an error that they were already in use. This meant the old NIC’s weren’t removed. To do this simply open command prompt with elevated rights and type “SET DEVMGR_SHOW_NONPRESENT_DEVICES=1″. Then open Device Manager and go to View-> Show Hidden Devices. Then Uninstall the old VMware NIC’s.

· · · · ·

Aug/10

12

Merge 2GB vmdk files

At some point you may have noticed the option to create your VMware disk with the option of splitting it over 2GB files.
This feature is handy when run on a FAT32 drive, NAS, or bespoke drive storage. However it brings an unnecessary untidiness to the folder structure especially when dealing with multiple disks over 40 GB and will become obsolete as we move away from these basic drive storage types.

So like me you may want/need to merge these 2GB splits into a single file. To do this you need to use the VMware supplied tool called “vmware-vdiskmanager.exe“. This can be found in the VMware installation path “C:\Program Files (x86)\VMware\VMware Server” (or “C:\Program Files\VMware\VMware Server” if using a 32bit Operating System).

To merge the files we actually want to convert them to another disk then mount that as the new drive. With vmware-vdiskmanager.exe use the -r flag followed by the the current main .vdmk file (this is used to convert the selected disk) then -t and chose the type of disk you want:

  Disk types:
      0                   : single growable virtual disk
      1                   : growable virtual disk split in 2GB files
      2                   : preallocated virtual disk
      3                   : preallocated virtual disk split in 2GB files
      4                   : preallocated ESX-type virtual disk
      5                   : compressed disk optimized for streaming

Then finally the newly converted disk location.

String all this together and you will get:
vmware-vdiskmanager.exe -r “D:\server1\Disk1.vmdk” -t 0 “D:\server1\Disk1-Merged.vmdk”

So run command prompt using elevated rights,
cd to “C:\Program Files (x86)\VMware\VMware Server”
type vmware-vdiskmanager.exe -r “D:\server1\Disk1.vmdk” -t 0 “D:\server1\Disk1-Merged.vmdk”
and wait.

· · · ·

To date when a user receives an email from another user the Message Headers are used to identify the remote server and ip.
Usually this would only show the helo (ehlo) response and the External IP address with a Reverse DNS Query result.
Naturally this is what one would expect in order to trace the origin of the email.  However with Exchange 2007 and 2010 Microsoft has decided to publish the internal servername and ip when delivering the Message Headers. This can cause complications with Anti-Spam solutions which check the origin mail server and find it has an Internal IP which can lead to false positives.
Since the IP and servername is also published this leaves your security in question as anyone who receives an email (even a bounce message) can obtain this information.

So if you want to fill this glaring secuirty hole and have mail delivered properly then follow this guide.

1. Go to Exchange Management Console
2. Under “Organization Configuration” select Hub Transport
3. Select Transport Rules then “New Transport Rule”.

Give the Rule a name then set the following:

Sent to Users Outside the organization
Remove Header “Received”
Except: None

Now you should find that all Internal info is missing from the Message Headers.

· · ·

Apr/10

10

New Server for Home

My latest project involves a Dell Poweredge 1800 Tower.
It has an Intel Xeon 3.0 Ghz Processor with 4GB of RAM. It came with a SATA RAID controller with 3 x 250GB 10k SATA drives in a RAID 5 configuration. Now like most people playing with old hardware i wanted to run Server 2008 R2 with some room for expansion to include Exchange 2010 and maybe OCS 2010. However the OS would not install on the Array. I added the RAID controller drivers but the O/S Installation would not show the array as a possible location to install the O/S.

So i removed 1 HDD from the array and connected it to the SATA on board controller. I installed Server 2008 R2 successfully and installed the Dell Open-Manage software. This told me that my SATA RAID controller was in need of a firmware upgrade which i applied using the Rev 02 as the initial one failed to work. Once the O/S was online i installed the SATA RAID controller drivers and added 3 x 1TB SATA Drives in RAID 5.

The process of creating this array is taking forever. Even now, 3 hours later, the percentage is at 3. 3% complete and any attempts to copy data to this array mean slowing that down and a crippling 3MB/s transfer rate.

*Update* the raid build took a total of 4 days.This was made worse by the fact that when i try transfer files to the array i get a minuscule 5MB/s. This combined with the fact that i have no other SATA Raid card to use other than the on board one in my PC means i am retiring this project as a file server/central storage.

Instead i installed AD on the server and exchange 2010 which was surprisingly fast. In my attempts to install Sharepoint 2010 i ran into errors that are due to low server specs, lack of RAM and CPU and most likely slow HDD. While the server takes DDR2 it will not boot with standard desktop ram. I’m going to keep looking for an alternative setup, perhaps another desktop PC second hand with a SATA Intel Raid controller on the motherboard, should be simple enough with a dual/quad core to keep it quiet which is after all the main reason for not leaving the array in my desktop since that is water cooled and I’m not happy leaving it on 24/7.

· · · · · · ·

Mar/10

30

Server Move / Wipe / Issues

So this website has been gone for about…. 2 months i reckon. Firstly it was running on a BSD server hosted by Leaseweb which went a bit wonky. When it came time to renew my contract i threw my money into a shared server with higher specs that could run virtual machines, especially for a Server 2008 R2 install that i want to run solely off the web to have hosted exchange, sharepoint, ocs etc.

However the nice people at leaseweb offered me a severe discount on the existing server so I’m going to keep it for the sake of it.
Expect more good things from me as I’m focusing my attention on projects and migrations these days.

· ·

Feb/10

4

New Server for Testing

Today i became the proud owner of a Dell 2850.
I purchased it on adverts.ie for a whopping 250 Euro.
The server is a Dual Xeon 3.0 GhZ with 8GB RAM and 5 x 76GB 15K SCSI disks.
This will make a welcome addition to ”my ever expanding “cave”.

So far i have created the Raid as Raid 5 and installed ESXi 4.0.
I did all this through the DRAC interface which is seriously impressive.
Being able to view the console through a https interface as the machine boots gave me the giggles, being able to mount my ESXi 4 image from an ISO file across the same DRAC that made me damn proud to have helped my company achieve its EA Dell Certification only months ago. The server itself is loud, sure it’s a server, but its not too loud. I will leave it here beside me for a while to see how it handles.

*Update*

This post was sitting in my Drafts for far too long.
I’ll summarise what happened next.

Tried to install Server 2008 R2 but the Dell Perc 4 controller is “not supported”. This was a bummer so i retired the idea of using this for future proof concept testing. The server went into work to our LAB setup as it was far too loud at home. I’ve used it so far for in house Disaster Recovery testing, more on that later.

· · ·

Dec/09

14

Civic Duty

603px-Oglaigh_na_heireann

I’ve been called to serve my country as a juror in a case. Today i attended and was selected for a juror panel so there won’t be anything juicy here for a bit. However if you are interested in the SSD’s the new HP server arrived on Friday along with the additional 2 SSD’s.

The server itself is a DL380G6 with the Xeon 5550 Processor. I purchased 4 SSD’d in total for a RAID 5 configuration with 1 Spare (just in case of failure, i’m wary of the reliability of the SSD’s). The HP 2.5″ SAS/SATA front bay caddy’s won’t be delivered until tomorrow/Wednesday. At that point we are installing Server 2003 Enterprise as the server has to run a legacy Borland Interbase 7.x database.

In other tech news i purchased myself a Nokia N85 and i have to say the prelimiary findings are that this phone is superb.
I’m also looking into setting up a test OCS 2007 R2, this may take some time however and will most likely be next year.

I hope to get more onto this in the coming days but its all trial dependant, so stay tuned.

·

outlook_2007_logo

In most businesses there is a request for a Director/Manager to be able to check his email remotely. More times than not he wants it on his PC @ home, mobile phone and the ability to access it anywhere in the world. Those with a Small Business Server operating system have this luxury from day 1. However in Exchange 2010 its not an “out of the box” solution. However since OWA is, half the work is already done for you. So i set about enabling my “users” to access email from their domain laptops in Outlook using a single sign-on.

Step 1: Install and SSL Cert for your remote site.
Step 2: Enable Outlook Anywhere in Exchange.

Enable-OutlookAnywhere -Server ‘SERVERNAME’ -ExternalHostname ‘mail.externaldomain.com’-DefaultAuthenticationMethod ‘Basic’ -SSLOffloading $false
For the GUI method click here

Step 3: Install the Windows RPC Over HTTP Proxy Component

For Outlook Anywhere to work correctly, the Windows RPC over HTTP Proxy component must be installed on your Microsoft Exchange Server 2010 server that’s running Windows Server 2008 (R2). So i install this new role, quick reboot and hey presto outlook works. At this point you can stop and continue to use Basic mode. However for NTLM you need to change the setting in Part 3.

Step 4: Set Outlook Anywhere to NTLM Authentication

Disable-OutlookAnywhere -Server ‘SERVERNAME’(then press Y to confirm)
Enable-OutlookAnywhere -Server ‘SERVERNAME’ -ExternalHostname ‘mail.externaldomain.com” -DefaultAuthenticationMethod ‘NTLM’ -SSLOffloading $false

 

Wait the required 15 Min’s and it will work. This is extremely beneficial as the user does not have to authenticate with his/her user name and password each time. Given that it also requires the user to type the domain name as a prefix “DOMAIN\Username” NTLM allows you to rule out that horrible explanation into “why you have to type the domain name” where the answer is inevitably, “you just do”.

Resources: Outlook Anywhere Howto http://technet.microsoft.com/en-us/library/bb123542(EXCHG.140).aspx
Enable NTLM Authentication http://technet.microsoft.com/en-us/library/dd776122(EXCHG.140).aspx

· · · · ·

Corsair SSD x64 Extreme

Finally, they arrived, 2 Corsair X64 SSD’s with my name on them. As all new SSD drives are 2.5″ i will need to locate some 3.5″ to 2.5″ adaptors and will post a link when i get it. However the SATA II Raid controller never showed up so I’m going to make do for now with my Desktop, in order to begin the tests i must first explain the rig i am using and the reasons.

My Home PC is water-cooled and quite the effort filled task to undo drives and try not have my ICH9 Raid array decide to Rebuild itself, or worse run a check and repair which last time i ran it took over 24 hours. So without the RAID SATA 2 card (Adaptec) i had to run some tests using my Work PC.

Dell Optiplex 755
Windows Server 2008 R2
Intel Core 2 Duo E7500
8GB DDR2
ATI HD 2400 Pro 256MB

In order to run a benchmark i installed server 2008 R2 (trial) on a 250GB SATA 2 Drive as a 34.47 GB Partition.
I added the Hyper V Role, updated windows and ran a backup to a second drive.
This backup took a minor 2 minutes for a complete File and System Image backup. I then installed a single SSD and restored the image onto this drive.

A Table of Comparisons:

  SATA2 250GB HDD  SATA2 64GB SSD
Boot Time (to Login Screen) 45 18
Login (locally) 9 5
Idle after login & open SRV MGR 26 6
Open Internet Explorer 8 1
Chkdsk (0 Errors) 16 6
Defrag (0% Fragmentation) 22 22
Backup 2 mins < 2 mins
Restore 2 2
Shutdown 12 10

 

Some simple Disk Benching software showed the SSD’s to be over 600% more efficient at Random Disk Seeks on a simulated busy database server.
However i am not continuing these tests as the Adaptec SATA Raid Card arrived on Friday and on Monday i should have a new test server (HP ML350 G4) with SCSI 320 disks for comparison in RAID 0/1/10.

*Update*

2 of these SSD’s have failed. Corsair have replaced both but this failure rate has knocked a hole in my belief that they can do the job.
I had put 4 of them in a production server and now i’ve gone back to SAS drives.

· ·

Nov/09

24

COD: MW2

It stole my day

It stole my evening!

No server work or nothing done just COD:MW2. Although i have been trying unsuccessfully to fix my XBOX 360 while attempting to watercool it. I guess i should do 1 at a time. Also my new mouse finally arrived in Komplett and was shipped yesterday so i’m hoping to get in tomorrow, if not it will be Thursday. Expect a glowing review. SSD’s wont be in until Thursday so midweek is a cracking failure so far.

· · · ·

Older posts >>

Theme Design by devolux and Ammended by Conor