Saturday, 26 May 2007

Large File Copy

Got this from a friends blog, mention of using esutil to copy large files;

The full article is here;

It mentions that eseutil is a better option for moving large files, yet someone on the above mentioned they tried to copy a 2GB file and it was slower. On the grand scheme of things I would not consider a 2GB file a large file, anything over 50GB is a large file. Migrating data from an old server to a new server generally means min file size of 10GB and normal 'Drive' backup files of 40 to 80GB at time.

I've never seen Exchange fail to move its database file from one drive to another, so I'm hopeful that tomorrow I'll try out using eseutil to move a 40GB file off a NAS onto a server and see what happens.

Swing Migration

I've been busy between different jobs recently and I keep misplacing my notes, so hopefully if I put all these things in the one blog, with some sort of standard tag I'll find them all the time.

Several issues that I had on today's swing are new, some are old, and some are just plain odd.

I had to start the w32time service
I had to start the Ismserv service

I was getting several errors in the event logs, 1722, 1815, and a few more, my notes are on site so hopefully tomorrow I'll edit this better.

The Windows Firewall started on both servers at several occasions, even though I had stopped the service.

I had to kick start several services in an attempt to get replication to start, the ones that had the biggest effect were as follows
net stop netlogon
net start netlogon
net stop ntfrs
net start ntfrs
repadmin /kcc this will get the KCC to try to start a connection and hopefully start replication

Even though I tried rebooting the swing server several times, the GC still would not start replicating for me. I went back to my notes and did the following;
Removed the GC option from the swing server, reboot the server, turn on the GC option, and then depending on if your a belt and braces person, reboot the server.
Hopefully the Directory Services event log will give you event ID 1110, which means that you may well see event 1119 5 minutes later.

Odd little bits

All stuff that you know, but all handy.

Shutting down a server or pc from another pc;
Use Computer management, either your own machines 'manage' or a mmc and computer management, choosing a remote server or pc.

Right click on the computer, advanced, startup and recovery, shutdown and REMEMBER to use restart, especially if your remote.

Sometimes, a server is locked, or otherwise madly locked up, and the above option won't work try the following;

open a command line, and type the following
shutdown /f /m \\swing (your server or pc name) /r
/f force
/m this is a remote machine, followed by \\ and then the machine name
/r shutdown and re-start.

Tuesday, 22 May 2007

Enabling remote access on a server, when you forgot.

I found this on another web site and will give all credit to the people on;

You've left the site, to finish a job remotely from the comfort of your house, office, bar or car except you've forgotten to enable remote desktop on the server!

As long as you have access to the network and a pc or server on the network your good to go.

Log onto the pc or server and follow the instructions.

Run REGEDIT on your XP workstation or on your Windows 2000/2003 Server. Click on File, then choose "Connect Network Registry". In the Select Computer search box either browse Active Directory to locate the remote server, or type its name in the dialog box.

Click Ok.

In the remote machine's registry browse to the following key: HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

Under the Terminal Server key find the value named fDenyTSConnection (REG_DWORD). Change the value data from 1 (Remote Desktop disabled) to 0 (Remote Desktop enabled).
Click Ok.

Close Regedit.
Reboot the remote machine for the change to take effect.
You can easily do so by opening a command prompt and typing the following command: shutdown -m \\srv1 -r

After the remote machine reboots, Remote Desktop will be enabled on it. To test this from your workstation, open Start -> All Programs -> Accessories -> Communications -> Remote Desktop Connection. You can also type mstsc in the Run command.

Enter the name of the remote server in the Remote Desktop Connection logon box, supply your administrator password when prompted, and press Enter or click Ok.

Magic. Now if you have a firewall in place, you can redirect a few ports to different pc's and servers on the network and use those to gain access. A good port range to use is 22XXX


HP G5 Servers

I've configured at least 3 HP G5 servers over the last few weeks and I've discovered that they do not like their network cards to be manually set. We generally set the NIC's to 100/ Full but when this is done, they generally refuse to talk efficiently on the LAN.

I've had this with a Allied Telison, a 3Com and a Cisco Switch, so it definitely ain't switch related.

Further on from this....this thing is breaking my heart. I rebooted the server and it was all OK, but a few hours later its back to 55 minutes to copy over 200MB of data, that's about 1Mb transfer rate. Going to check HP site and see if there is a patch or similar.

Random Ranting

Hotels.......I've been staying in hotels on and off with different jobs over the last few years and something has always struck me as odd.

You have fancy key locks on the bedroom door, quite possibly key or door locks on the accommodation section of the hotel; some mad security device on the door to help recognise strangers selling objects door to door within the hotel;

So my question is, why do you have a door lock on the bathroom...surely at this stage I've got a night porter and the day staff, the accommodation area and the bedroom door to challenge before I get to the bathroom. Is it because the carpenters are so programed that when they get to a door they automatically put a door lock on it?

Software - Antivirus


A way to delete Norton/ Symantec Antivirus. To date I haven't tried this product yet, but tomorrow will see it in use.

On previous occasions I've used MSIZap.exe ;;en-us;290301

I've generally used this in conjunction with the registry cleaning instructions from Symantec to remove their product;

I have found on occasions thought that unfortunately sometimes the best thing to do is copy out the user data and re-install the OS, if you spend more than 3 hours trying to fix a client machine, you better have a good reason to want to keep it.


Monday, 21 May 2007

Whiskey; Irish Blended

Kilbeggan Irish Whiskey.
40% Vol. blended whiskey from Kilbeggan close to the middle of Ireland.
700ml bottle € 23.00 in Superquinn.

I've been to several Kilbeggan tastings of the higher Whiskeys and am decided to get in some more practice for the Celtic Whiskey Shops annual Whiskey Tasting competition.

Like all Irish Whiskeys this is a lot smoother than both Scottish and American Spirits. It is a pleasant whiskey but there is a harshness in the length of the drink that does not really suit it. This may well be due to the Whiskeys young age, probably 8 years old.

Its a nice whiskey, but not one I'd spend money on in a pub.

Their older versions are excellent and well worth the money but for a few yo-yo's more go for the Jameson.


The start.

After an amazing trip to Virginia Beach to the Minasi Forum meeting and seeing what these other people do I suppose it was inevitable that I started somewhere.

The point of this, I'm not sure, maybe just the ability to ramble on a website on the Internet and not have to have someone else moderate on my behalf...

So to all of the people who were at the meeting, thanks, you were all inspirations to me in such a big way. I definitely benefited from going to it.

I even got a few quid from work to pay for the registration, which was pleasant.

I have a few things in the pipeline following on from the meeting all directly responsive from the forum meeting. Got more RAM for my laptop, got VMWare installed onto it. Got a few server and client os's images installed and copied, so I can break them safe in the knowledge that I can re-do them all over again. Oh and VMware tools, the error message that appears in VMware is installed from the tools menu of the VMware console.

I'll drift off now and debate tasting notes on a Kilbeggan Whiskey I'm drinking.