Welcome to the blog of mechanised.com

This blog is mainly a technical repository of information on Virtualisation tools and management for our hosting service.

Also for HP's Bladesystem that we use at both our datacentres.

Other articles are also included on .Net development and MS SQL Server as well as other interesting things we come across.

Monday 7 November 2011

Export a backup copy of your IIS 7.0 configuration

To export a backup copy of your IIS 7.0 configuration on a Windows 2008 Server:

Open Server Manager

Expand Roles – Web Server (IIS) – Internet Information Services (IIS) Manager

Highlight the web server name

From the Management category, double click Shared Configuration

Under Actions, select Export Configuration. Accept or change the default export path of C:\Windows\system32\inetsrv\config\export

Click the Connect As button, and enter administrative credentials. If the server is a domain member, you may need to enter your credentials in the format domain\username or username@domain.com

Enter the encryption keys password twice and press OK

You should now have three files in the C:\Windows\system32\inetsrv\config\export directory: administration.config, applicationHost.config, and configEncKey.key. Save the files in a safe place.

Saturday 1 October 2011

Watch that VG rename

Little reminder to myself, never rename a volume group that a system boots from and forget to change grub.conf and fstab, kernel panic made me panic till I realised what I'd forgotten!

Tuesday 29 March 2011

Moving FT catalogs from SQL 2005 to SQL 2008

Ok, so you want to migrate your FT catalogs from the SQL 2005 folders to new ones in SQL 2008.

When you detach DB from 2005 make sure you select the option to save the FT catalogs.

Move the physical catalog files to the new path for SQL 2008, to see where they currently are try this:

select * from sys.master_files where type = 4

When reattaching SQL 2008 will complain the files are not found so then point to the new locations and it should all work fine!