Microsoft Windows Cluster Services For Windows 2003 & Windows 2008
Posted by themsguru on Jun 8, 2008
I thought its highly desirable to assemble a list of interesting links on the Microsoft Clustering services and often seek information regarding MS Clustering Services as they tend to hide when you need them the most.I hope these links will help you find out all the info you need about Microsoft Clustering Services. These links point to papers covering all versions of the MS Cluster Server (MSCS) Services.
For those who do not know what I am talking about, Cluster, is a service that offers “High Availability” to services. Ooops, not to be confused with Fault Tolerant, that is another entirely different concept. Raid 1array is a good example of Fault Tolerant, if a harddisk in Raid one Configuration break the system keep operating on the other one without any interruption. High Availability instead is a service that is responsible for giving the highest uptime of an application or service. In case the first node fail there will be a court of service but is minimal since it is the time it takes to initiate such application or service in a second server. Below is my Magical MS Cluster Services Information Links list
Server Clusters: Architecture Overview (Windows 2003)
Server Clusters: Rolling Upgrades (Windows 2003)
Server Clusters: Storage Area Networks (Windows 2000 and 2003)
MSCS Troubleshooting and Maintenance Guide (NT 4.0)
Troubleshooting Windows Server Clusters (Windows 2003)
Server Cluster Frequently Asked Questions (Windows 2003)
Server Clusters: Majority Node Set Quorum (Windows 2003)
Server Clusters: Geographically Dispersed Clusters (Windows 2003)
Quorums in Microsoft Windows Server 2003 Clusters
Server Clusters: Cluster Configuration Best Practices (Windows 2003)
Server Clusters: Network Configuration Best Practices (Windows 2003)
Server Clusters: Storage Best Practices (Windows 2003)
Server Clusters: Backup and Recovery Best Practices (Windows 2003)
Server Clusters: Security Best Practices (Windows 2003)
Server Clusters: Quorum Options (Windows 2003)
How to turn on cluster logging in Microsoft Cluster Server
What’s New in Failover Clusters in Windows Server 2008 (Windows 2008)
Validating Hardware for a Failover Cluster in Windows Server 2008: Step-by-Step (Windows 2008)
Step-by-Step Guide for Configuring a Two-Node File Server Failover Cluster in Windows Server 2008 (Windows 2008)
Step-by-Step Guide for Configuring a Two-Node Print Server Failover Cluster in Windows Server 2008 (Windows 2008)
Failover Cluster Quorum Configuration Step-by-Step Guide (Windows 2008)
Failover Clustering and Active Directory Configuration Step-by-Step Guide (Windows 2008)
Network Load Balancing Deployment Guide (Windows 2008)
Microsoft High Availability Strategy White Paper (Windows 2008)
Overview of Failover Clustering with Windows Server 2008 (Windows 2008)
Quick Migration with Hyper-V (Windows 2008)
Windows Server 2008 Failover Clustering Architecture Overview (Windows 2008)
WS2008 Failover Clustering Datasheet (Windows 2008)
WS2008 Multi Site Clustering (Windows 2008) Step-by-Step Guide for Testing Hyper-V and Failover Clustering
Those links were based on documents and links to Technet with relevant information about the service or Cluster Failover Cluster depending on the version of Windows. Now I would like to make some links with tools or utilities that may serve to work with Microsoft Cluster service.
Cluster Server Recovery Utility (ClusterRecovery.exe) Cluster Diagnostics and Verification Tool (ClusDiag.exe)
Microsoft Cluster Configuration Validation Wizard (ClusPrep) Microsoft Product Support’s Reporting Tools (MPSReport) for Cluster
If a link does not work please leave me a comment so that I can solve the problem. I hope these links will be helpful for someone who wants to set up a Cluster or supporting it. I was served a lot by these links and would like to share it. If you have another good link and would like to share it please post it in the comment as well. Thanks
How to Move Microsoft WSUS services to another server
Posted by themsblogger on Jun 2, 2008
Hi,
Most companies who use Microsoft WSUS Services will hit the time when they will need to move the WSUS service to a new server due to capacity constrain on the old one or just to decomission an old hardware that is out of warrenty & avoid the high maintenance cost. no matter what is the reason is all will need to look for the easiest and most reliable approach to do so. As I just have been through this last week and I had to cut and paste procedure from many places I decided to compile my own and share it on here.
Moving Microsoft WSUS Services to a new one server consist of five major steps as below:
- Step 1: Install WSUS on the new Server just as you would in a new Vanilla Installation check here for reference
- Step 2: Matching Advanced Options on the old WSUS Server & the new WSUS Server
- Step 3: Copying Updates from File System of the old WSUS Server to the new WSUS server
- Step 4: Copying Metadata from Database on the old WSUS Server to the new WSUS Server
- Step 5: Point your Clients to the new WSUS Server.
Below is the details of each step:
Step 1: Install WSUS on the new Server just as you would in Vanilla new Installation check here for reference
Step 2: Matching Advanced Options on the old WSUS Server & the new WSUS Server
Ensure that the advanced synchronization options for express installation files and languages on the old Microsoft Windows Server Update Services server match the settings on the new Windows Server Update Services server following the below steps.
To ensure that advanced synchronization options on the old WSUS server match settings on new WSUS server.
1. In the WSUS console of the old WSUS server, click the Options tab, and then click Advanced in the Update Files and Languages section.
2. In the Advanced Synchronization Settings dialog box, check the status of the settings for Download express installation files and Languages options.
3. In the WSUS console of the new server, click the Options tab, and then click Advanced in the Update Files and Languages section.
4. In the Advanced Synchronization Settings dialog box, make sure the settings for Download express installation files and Languages options match the selections on the old server.
Step 3: Copying Updates from File System of the old WSUS Server to the new WSUS server
Copy updates from the file system of the old WSUS server to the file system of the new WSUS server. These procedures use the Windows Backup or Restore Wizard, but you can use any utility you like. The object is to copy updates from the file system on the old WSUS server to the files system of the new WSUS server.
***Important:
The initial settings for access control lists differ between Windows 2000 Server and Windows Server 2003. If you are copying content from Windows 2000 Server to Windows Server 2003, you have to manually add the Network Service group to the access control list for the folder where updates are stored. Give the Network Service group Full Control.
To back up updates from file system of old WSUS server to a file:
1. On your old WSUS server, click Start, and then click Run
2. In the Run dialog box, type ntbackup. The Backup or Restore Wizard starts by default, unless it is disabled. You can use this wizard or click the link to work in Advanced Mode and use the following steps.
3. Click the Backup tab, and then specify the folder where updates are stored on the old WSUS server. By default, WSUS stores updates at WSUSInstallationDrive:\WSUS\WSUSContent\.
4. In Backup media or file name, type a path and file name for the backup (.bkf) file.
5. Click Start Backup. The Backup Job Information dialog box appears.
6. Click Advanced. Under Backup Type, click Incremental.
7. From the Backup Job Information dialog box, click Start Backup to start the backup operation.
8. Move the backup file you just created to the new WSUS server.
To restore updates from a file to the file system of the new server
1. On your new WSUS server, click Start, and then click Run.
2. In the Run dialog box, type ntbackup. The Backup or Restore Wizard starts by default, unless it is disabled. You can use this wizard or click the link to work in Advanced Mode and use the following steps.
3. Click the Restore and Manage Media tab, and select the backup file you created on the old WSUS server. If the file does not appear, right-click File, and then click Catalog File to add the location of the file.
4. In Restore files to, click Alternate location. This option preserves the folder structure of the updates; all folders and subfolders will appear in the folder you designate. You must maintain the directory structure for all folders under \WSUSContent.
5. Under Alternate location, specify the folder where updates are stored on the new WSUS server. By default, WSUS stores updates at WSUSInstallationDrive:\WSUS\WSUSContent\. Updates must appear in the folder on the new WSUS server designated to hold updates; this is typically done during installation.
6. Click Start Restore. When the Confirm Restore dialog box appears, click OK to start the restore operation.
Step 4: Copying Metadata from Database on the old WSUS Server to the new WSUS Server
Export update metadata from the database on the old WSUS server, and import it into the database on the new WSUS server. The WSUS Setup program copies WSUSutil.exe to the file system of the WSUS server during installation. You must be a member of the local Administrators group on the WSUS server to export or import metadata; both operations can only be run from the WSUS server itself.
Important:
Never import exported data from a source that you do not trust. Importing content from a source you do not trust might compromise the security of your WSUS server.
Note:
During the import or export process, the Update Service, the Windows NT service that underpins the WSUS application, is shut down.
To export metadata from the database of the old Microsoft Windows Server Update Services Server
1. At the command prompt on the old Microsoft Windows Server Update Services Server server, navigate to the folder that contains WSUSutil.exe.
2. Type the following:
wsusutil.exe export packagename logfile
For example:
wsusutil.exe export export.cab export.log
That is, WSUSutil.exe followed by the export command, the name of an export .cab file, a space, and the name of a log file.
The package (.cab file) and log file name must be unique. WSUSutil.exe creates these two files as it exports metadata from the WSUS database.
3. Move the export package you just created to the new Microsoft Windows Server Update Services Server.
To import metadata to the database of the new Microsoft Windows Server Update Services Server.
Note:
It can take from 3 to 4 hours for the database to validate content that has just been imported. Please be patient.
1. At the command prompt on the new WSUS server, navigate to the directory that contains WSUSutil.exe.
2. Type the following:
wsusutil.exe import packagename logfile
For example:
wsusutil.exe import export.cab import.log
That is, WSUSutil.exe followed by the import command, the name of export .cab file created during the export operation, a space, and the name of a log file.
WSUSutil.exe imports the metadata from the old WSUS server and creates a log file of the operation.
Step 5: Point your Clients to the new WSUS Server.
Are not you glad its over??? I was when I finished mine
I bet its about time to GO HOME !!!!!
Install SUSE Linux Enterprise 10 SP1 & Component Integration for Linux on Hyper-V
Posted by whatavm on May 20, 2008
In this article, I am planning to cover how to Install SUSE Linux Enterprise 10 on Hyper-V, but what make it different than other articles that I will try to cover how to install the Hyper-V Component Integration for Linux as well Inject the Xen Hyper-Visor into the SUSE Linux Enterprise 10 which is running as a guest OS to try to show how to unleash the claimed performance of Linux on Hyper-V. The reason behind me writing this article is that I came across many articles who show you how to install Hyper-V. Then many others which show how to install Linux as a guest OS on hyper-V, but I have not seen any that show you how to do the full install of Linux on hyper-V to include the Linux Component Integration for Hyper-V and Xen Hypervisor. In addition, I have came across many other articles which mention that being not easy such as Fedore Core 8 on Hyper-V not so easy as it seems and MS Hyper-V vs VMware VI3 , but they still have not mention how to do it to let us figure out how hard its. So I decided to try it out and post my experience and try to prove the opposite if possible, but If you want to head to the last few lines to find out the conclusion before going over the full article “yes, its not as easy as I thought Microsoft product would run.” At start I decided to install SUSE Linux Enterprise 10 in a child partition of Hyper-V Beta1 (found in RC1 of Windows Server 2008) and then to try Linux Integration Components for Microsoft Windows Server 2008 Hyper-V (Beta1) - now IC. Then try to inject Xen kernel trying to meet the planned MS installation path for acceptable performance of a Linux Virtual machine on Hyper-V. For this excersize I decided to use a small server that my company had at its lab (shhhhhhh!!!):
· Intel Xeon 2 Core
· 4GB RAM
· HD 1TB
· Ethernet 2X1GB network cards
This seemed to be a good testing to install Windows Server 2008 RC1 with Hyper-V and try to run some virtual machines on it. For my testing I had to suffer with the x64 version of SUSE as that the only DVD I had, and did not have the time neither the bandwidth needed to get the 32-bit version of SUSE (Though most of the steps illustrated held the same for 32-bit version of SUSE). In Hyper-V manager, I created a virtual machine with 512 MB RAM, 1 CPU with the only special setting is that I used a network adapter type emulated (Legacy Network Adapter) and not to assign SCSI controller. I have assigned the ISO of SUSE Linux Enterprise 10 SP1 to the DVD virtual and initiated the virtual machine. The installation was spun smooth: the installation program has correctly recognized the network card emulated (DEC 21140), the graphics card emulated (S3 Trio 64) and the rest of the hardware. I only had to move the switch linux vga = 0×314 “auitare” during Setup to set the proper video mode (this is a preventive technique). After that I had available a SUSE server fully functional, capable of accessing the network and also with its beautiful graphical user interface: although GNOME is Not brilliant when it come to performance, it still acceptable. And here I had felt the first signs of satisfaction. At this point I have moved to install the IC (downloadable from here) to have greater integration between the Linux machine and Hyper-V and to verify the improvement of performance. The IC mainly provide two things: · Support for synthetic devices and in particular for network cards and SCSI controller. In this way Hyper-V can exploit the vmbus for dialogue with the parent partition and thus increase performance · Hypercall adapter. This is a thin layer software that position “under” the Xen amended kernel that translates Xen Virtualization calls to functions that understandable to Hyper-V (hypercall) Warning: Linux Integration Components for Microsoft Windows Server 2008 Hyper-V At the current versions only support the following Linux verisons:
· SUSE Linux Enterprise Server 10 SP1 (x86)
· SUSE Linux Enterprise Server 10 SP1 (x64)
The support is provided only through this newsgroup: microsoft.bet.windowsserver.hyper-v.linux Before installing the IC for Linux we exported (special menu item in Hyper-V Manager) VM in order to have a “rescue copy” in case something goes wrong and also to have two virtual machines that diverge “only” the presence or absence of IC.
(Menu Export in Hyper-V Manager)
The first step of the IC is to … read the attached document (Integration Components for Linux Read Me.docx) that contains a description of all the steps to be done. I know, I know … most systems administrators prefers starting by inserting the CD directly - virtual or not - and see how everything crashes, but I decided to save my self the headache and read : the first read me. I assure you that in this case a prior reading of readme helps …
Choosing the X64 version operating system has been proven to be the most problematic: In fact, the Xen Kernel included in x64-based version of SUSE LE 10 SP1 does not start after the installation of the hypercall adapter x2v (the component that translates Xen calls into into Hyper-V calls).
Then you must run patching for the kernel. The special patches are available on the ISO containing the IC.
The seceret behind the Xen kernel with hyper-V is that one of the main objectives of Hyper-V is to be a virtualization platform that is “open” as much as possible, and able to perform at best for the different operating systems.
You can run Linux on Hyper-V without any modification (the list of versions of Linux supported by Microsoft in production will be made public with the RTM of Hyper-V). This will however use the device emulated (basically the same as Virtual Server 2005 R2) and performances are not particularly bright. This method is what unfortunetly most documented on the web for being so easy and most administrators being not aware of the required modification to boast the performance which is the aim of this article. To improve the performance of virtual machines run in Linux partitions child of Hyper-V, Microsoft and XenSource (now Citrix) are working together to develop device drivers synthetic the vmbus and a hypercall adapter for use with Linux kernel Xen-enabled (child) . In particular hypercall adapter is a thin layer of software that arises under the Xen kernel (child) and translates calls to Xen virtualization subsystem into calls understandable by Hyper-V.
(Architecture of Integration Component for Linux with Hypercall Adapter)
Let me briefly cover the procedure that I followed to install the IC in SUSE LE 10 SP1 x64 (For full descriptions look at the documentation included with the IC):
1. Copying the contents of the ISO file with the IC for Linux into a directory on your system. Using Hyper-V Manager assign the ISO file to a virtual DVD. Then run the following on your SUSE virtual machine to mount the virtual DVD to SUSE (eg: mount /dev/cdrom /mnt/cdrom). Copy at this point the content of ISO file in the /opt/linux_ic (which you have to create)
$ mkdir /opt/linux_ic
$cp /mnt/cdrom/* /opt/linux_ic –R
2. Find the development tools and kernel sources in your SUSE packages which have the rpm format and then you can install these development tools and kernel sources using the command rpm or if you prefer Yast2
3. To Instal the Xen kernel using command line. For the x64 platform use the following command (assuming that the ISO for your SUSE is mounted in /mnt/cdrom):
$ rpm -ivh /mnt/cdrom/suse/x86_64/kernel-xen-2.6.16.46-0.12.x86_64.rpm
4. To apply the required patches to the Xen kernel which for Xen X64 are present in the IC ISO and at this point we already had copied to the file system of SUSE. Run the following commands.
$ cd /usr/src/linux-2.6.16.46-0.12
$ cp /opt/linux_ic/patch/x2v-x64-sles.patch .
$ patch -l -p1 < x2v-x64-sles.patch
5. Rebuilding the Xen kernel and “install” it in place of the existing kernel
$ cp /boot/config-2.6.16.46-0.12-xen ./.config
$ make oldconfig
$ make vmlinuz
6. Install the hypercall adapter
At this point, you can install the hypercall adapter with the following commands
$ cd /opt/linux_ic
$ perl setup.pl x2v /boot/grub/menu.lst
It is necessary at this point to restart the virtual machine and SUSE will load the amended Xen kernel
7. Installing the device driver synthetic (VSC) and the vmbus
The last operation is the installation of synthetic device drivers (VSC):
During the installation of VSC I received three warnings and two errors in the script startup vmbus(/etc/init.d/vmbus). You can safely ignore both the warning and the errors showing on the startup of vmbus which are the “problems of youth” script (it’s still a Beta1), but not in any way it jeopardize the success of the installation. A final restart to the SUSE VM close the phase of the IC Installation.
(Warning and error messages)
I believe error messages caused by vmbus are linked to the fact that the startup script is written for RedHat and not for SUSE.
Indeed in the script the row /etc/init.d/functions for SUSE should be /etc/rc.status. Similarly, instead of calling success, as fixed in RedHat, should be called, SUSE, rc_status -v.
If someone wants to try to make these changes to the script before you run it and put in a comment to this post the results, that would be grateful.
8. Reconfiguration of Graphics:
The installation of IC causes the loss of Server X configuration that can be restored by running SaX2.
At this point we shut down the virtual machine SUSE, and then from the Hyper-V Manager:
I removed the VM network adapter emulated (Legacy Network Adapter) from the hardware configuration and we added a network card-type synthetic (Network Adapter) instead of it
As well, I added a SCSI controller and connected it to the virtual hard disk
Re-starting the virtual machine with SUSE we found the new hardware (based on synthetic devices) to be fully functional.
(Output of ifconfig: seth0 is the card which based on device synthetic)
(SCSI Devices summary: Note the vendor MSFT)
The configuration of the Integration Component for Linux is “all here,” and remember that we are only at Beta.
After the test we had run few load stress tests on both virtual machines the one with IC & Xen Kernel installed & the unmodified VM. The Performance of the one with IC & Xen Kernel seemed to perform 25 - 35% better than the non modified one. Its a great improvement. Though the stress tool that we had are too basic to conclude the result. Though you really can feel the difference. If hyper-V end up to be your choice it worth considering IC & Xen Kernel injection if you are using Linux VMs.
Yes As I said in the begining getting IC & Xen Kernel correctly working inside the Virtual Machines on Hyper-V is not as easy as I expected. Though if Hyper-V is going to be your virtualization platform & you plan for Linux VMs you better be ready to put up with it.
I hope this article was helpfull for everyone and people will leave comment on things I missed or things they would like to add to it. Share the knowledge!!!!!!!!
WhataVM,
Highly inspired by
Giorgio e Article





