Flappy Shoot

Tuesday, February 24, 2009

Troubleshooting WSUS with WSUSDEBUG Tool

Download:

http://download.microsoft.com/download/7/7/4/7745a34e-f563-443b-b4f8-3a289e995255/WSUS%20Server%20Debug%20Tool.EXE

Usage:
WsusDebugTool [/OutputCab:<value>] /Tool:<value>
Parameter List:
OutputCab Path to the output CAB file
Tool Tools to run(Comma seperated)

Available Tools...
ResetAnchors
PurgeUnneededFiles
ResetForegroundDownload
GetBitsStatus
GetConfiguration
GetLogs
SetForegroundDownload

For getting help on a tool please use: WsusDebugTool.exe /Tool:<tool-name> /?

Example: WsusDebugTool.exe /Tool:SetForegroundDownload /OutputCab:c:\Data.cab

E:\Tools>WsusDebugTool.exe /Tool:getconfiguration /outputcab:c:\data.cab


Example Case:

Event Type: Error
Event Source: Windows Server Update Services
Event Category: Synchronization
Event ID: 364
Date: 24/02/2009
Time: 4:09:30 PM
User: N/A

Computer: FPXXXD01

Description:

Content file download failed. Reason: The server does not
support the necessary HTTP protocol. Background Intelligent Transfer Service
(BITS) requires that the server support the Range protocol header.
Source File:
/msdownload/update/software/svpk/2008/04/windowsxp-kb936929-sp3-x86-kor_8ca7e862bfc2742ad9c4c58df0b0cd5ad4b700ae.exe
Destination File: e:\WSUS\WsusContent\AE\8CA7E86BFC2742AD9C4C58DF0B0CD5AD4B700AE.exe

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Resolution / Work Around:

Reset foreground content download in WSUS server

WsusDebugTool.exe /Tool:SetForegroundDownload

Sunday, February 22, 2009

Installing application templates for Windows SharePoint Services 3.0

I have made some additions to the existing Microsoft Document found at the below URL. My additions have been marked in Italics.

http://www.microsoft.com/downloads/details.aspx?FamilyId=04FDA604-BAB0-4E43-8B88-38101DFE121A&displaylang=en

Instructions

Note: To install or remove a server admin template, you must have Administrator rights to both the Windows SharePoint Services site and to the root of the server on which it is to be installed or removed. Installation and removal are done via the Stsadm.exe command-line utility located at the following path: %PROGRAMFILES%\common files\microsoft shared\web server extensions\12\bin.Installing a template:

1. Before installing a server admin template, you must first install the Application Template Core solution, ApplicationTemplateCore.wsp. (Click here to download). If you have already installed this solution, proceed to Step 2.

Make sure “Windows SharePoint Services Administration” service is running. Otherwise you will get the following error.

The timer job for this operation has been created, but it will fail because the administrative service for this server is not enabled. If the timer job is scheduled to run at a later time, you can run the jobs all at once using stsadm.exe -o execadmsvcjobs. To avoid this problem in the future, enable the Windows SharePoint Services administrative service, or run your operation through the STSADM.exe command line utility.

After this it does not allow me to deploy ApplicationTemplateCore.wsp without –override and remove it, unless I use the force command.

A. Pull the core file, ApplicationTemplateCore.wsp, from the extracted distribution. The core solution file will be added to the solution store, a table in the Windows SharePoint Services configuration store that holds solution files.

B. Via command line, run stsadm -o addsolution -filename ApplicationTemplateCore.wsp

C. Next, run stsadm -o deploysolution -name ApplicationTemplateCore.wsp -allowgacdeployment(Additional attributes may be required based on your Windows SharePoint Services configuration.
For example:Single Server: [ -local -time

Wednesday, February 11, 2009

Spam Issues

I was recently having a chat with our mail hosting company as some of our outgoing mails are rejected because of unacceptable content.
The support personal gave me a listed of words that we need to avoid in mails and the list made me wonder whether I would be able to safely send emails to Inbox anymore.

Few words are not to be used:
Word: Group+wins (0.990)
Word: GCC+states (0.990)
Word: properties+city (0.990)
Word: unit+bank (0.990)
Word: Foreign+banks (0.990)
Word: gas+ovens (0.990)
Word: composite+href (0.990)
Word: slump+new (0.990)
Word: moves+set (0.990)
Word: package+government (0.990)
Word: General+Mohammed (0.990)
Word: points+Nasdaq (0.990)
Word: F2F2F2+EN-US (0.990)
Word: Bin+Zayed (0.990)

Thursday, February 5, 2009

Creating New Virtual Machine from a Template.

When you start the New Virtual Machine Wizard and select a template from the library, the virtual machine settings will be set to those specified in the template. You can override the settings if you choose.

If you create a new virtual machine from a template, you cannot store the virtual machine in the library but must place it on a host. That is because the customization step cannot be completed offline.

1. Launch the VMM Console --> Library --> Right Click the Template from which you want to create New Virtual Machine


2. Enter the Virtual Machine Name and the Owner.


3. You have the option to change the existing settings with some limitation.


4. Configure Guest OS profile to specify the General Information, Network Settings and Scripts.


5. You can only place the virtual machine on a host that is created from a template.


6. Select a host for the virtual machine depending on the rating. In my case I have only one host.


7. Select the path for the new virtual machine.


8. Specify the network adapter to use for the virtual machine.


9. Configure Additional Properties here.


10. At the summary page you have the option to start the virtual machine after deploying it.


11. You can see the deployment status from the Jobs window.


Wednesday, February 4, 2009

Working with Virtual Machine Templates

You can use templates to create new virtual machines repeatedly with standardized hardware and software settings. Self-service users must use assigned templates to create their virtual machines.

A virtual machine template is a library resource consisting of the following parts:
Hardware profile
Virtual hard disk
Guest operating system profile

1. Launch the VMM Console --> Library --> Right Click the Virtual Hard Disk from which you want to create the Template --> New Template


2. You have the option of creating New Template from an existing template or a virtual hard disk or from a virtual machine. In this case we will create a New Template from an existing virtual hard disk.


3. Select the virtual hard disk from the list.


4. You can enter the Template Name, Owner and Description in the Template Identity window.


5. Configure the hardware settings for the New Template. You can select the Guest Operating System in the next window.


6. Review the summary screen. You get the Powershell script for this Template in the summary page.


More Reading:
http://technet.microsoft.com/en-us/library/cc764266.aspx
http://technet.microsoft.com/en-us/library/cc764248.aspx

Tuesday, February 3, 2009

SCVMM - Convert Physical Computer to Virtual Machine

Overview:
System Center Virtual Machine Manager (VMM) allows you to convert an existing physical computer into a virtual machine, which is known as a physical-to-virtual machine conversion (P2V conversion). During a P2V conversion, disk images of the hard disks on the physical computer are created and formatted as virtual hard disks for use in the new virtual machine. The new virtual machine has the same computer identity as the physical computer on which it is based. VMM provides a conversion wizard which automates much of the conversion process.

P2V: Requirements for Physical Source Computers
The requirements for the physical source computer depend on whether you are performing an online or offline P2V conversion. In either case, VMM temporarily installs an agent on the physical source computer that you want to convert. With online P2V, VMM uses Volume Shadow Copy Service to copy data while the server continues to service user requests. The source computer is not restarted during the conversion. With offline P2V, the source computer restarts into the Windows Preinstallation Environment (Windows PE) before VMM converts the physical disks to Virtual Hard Disks (VHDs).

To perform an offline P2V conversion, your source computer:

Must have at least 512 MB of RAM.

Must be in a workgroup environment, in the same domain as the VMM server, or a member of a domain that has a full two-way trust with the domain of the VMM server.

Supported Operating Systems
To perform a P2V conversion, your source computer should contain one of the following supported operating systems:

Windows Server 2008
Windows Server 2003 (32-bit) SP1 or later
Windows Server 2003 (64-bit) SP1 or later
Windows 2000 Server SP4 or later (Offline P2V only)
Windows 2000 Advanced Server SP4 or later (Offline P2V only)
Windows XP Professional (32-bit) SP2 or later
Windows XP Professional (64-bit) SP2 or later
Windows Vista Service Pack 1 (32-bit)
Windows Vista SP1 or later (64-bit)

Note
VMM does not support P2V on source computers running Windows NT Server 4.0. However, you can use the Microsoft Virtual Server 2005 Migration Toolkit (VSMT) or third-party solutions for converting computers running Windows NT Server 4.0.

Procedure:

1. In the Virtual Machine Manager Administrator Console, in the Actions pane in any view, click Convert physical server to open the Convert Physical Server Wizard.


2. On the Select Source page, configure the following options:
Computer name or IP address.
User name.
Password.
Domain or computer name.


3. On the Virtual Machine Identity page, configure the following options:
Virtual machine name.
Owner.
Description (optional).


4. On the System Information page, click Scan System to begin a survey of the source machine that lists its hardware and software and identifies any missing components that are required for the P2V conversion. The wizard installs software on the source machine to gather the information but removes this software when the conversion is complete.


5. On the Volume Configuration page, review the lists of all volumes that the wizard lists and determine whether you want to make any changes. (No Screen Shot provided)

6. On the Virtual Machine Configuration page, select the number of processors and amount of memory for the converted virtual machine.


7. On the Select Host page, review the number of stars under Rating for each host listed under Host Name to determine the most suitable host on which to deploy this virtual machine. (In my case I have only one Host Machine)


8. On the Select Path page, accept the default path on the host to which to save files associated with this virtual machine, or click Browse to specify a different path. The default path is as follows:
:\Documents and Settings\All Users\Documents\Shared Virtual Machines\


9. On the Select Networks page, modify the networks and attach them to Not Connected or to any of the virtual networks that are found on the selected host.


10. On the Additional Properties page, accept the default settings or modify these settings


11. On the Conversion Information page, do one of the following:
Confirm that the message No issues detected appears.
Review any issues reported by the wizard that must be resolved before the conversion can continue.
Each issue in the list explains how to resolve the issue. After resolving all issues, click Check Again to check for additional issues.


12. When no more issues are detected, click Next to continue.


13. In Jobs view, monitor the progress of the new virtual machine creation job and confirm that the virtual machine is created successfully. If the job fails, read the error message at the bottom of the Jobs window for information about the cause of the failure and the recommended action to resolve the issue.



Reference: Microsft Help - SCVMM




















Sunday, February 1, 2009

System Center Virtual Machine Manager 2008

Overview:
System Center Virtual Machine Manager 2008 is a solution for unified management of physical and virtual machines, Performance and Resource Optimization (PRO) for dynamic and responsive management of virtual infrastructure, consolidation of underutilized physical servers, and rapid provisioning of new virtual machines by leveraging the expertise and investments in Microsoft Windows Server technology.

Features:
Multi-vendor Virtualization Platform Support
Easy Identification of Consolidation Candidates
Fast and Reliable Physical-to-Virtual-Machine Conversion (P2V)
Fast and Reliable Virtual-to-Virtual-Machine Conversion (V2V)
Intelligent Placement
Centralized Resource Optimization
Rapid Provisioning of New Machines
Performance and Resource Optimization (PRO)
Host Cluster Support for “High Availability” Virtual Machines
Library
Rapid Deployment of Virtual Machine Templates
Automate Test Lab Operations on Virtual Infrastructure
Leverage and Extend Existing Storage Infrastructure to Provision Quickly
Familiar Interface, Common Foundation
Fully Scriptable Using Windows PowerShell
Active Directory Domain Services Integration


System Requirement:
http://www.microsoft.com/systemcenter/virtualmachinemanager/en/us/system-requirements.aspx

Downloads:
System Center Virtual Machine Manager 2008 Configuration Analyzer
http://www.microsoft.com/downloads/details.aspx?FamilyID=02d83950-c03d-454e-803b-96d1c1d5be24&displaylang=en

System Center Virtual Machine Manager 2008
http://www.microsoft.com/systemcenter/virtualmachinemanager/en/us/trial-software.aspx

Installing System Center Virtual Machine Manager

1. Run VMM Configuration Analyzer to see whether you meet all the pre-requisite.

2. Installing VMM Server. It is a straight forward process.

3. It is recommended to check for Microsoft Update.
4. You have the option whether to Join the Customer Experience Improvement Program.

5. Enter the User Name and Company details.


6. System perform the hardware and software requirements.


7. Select the location for SCVMM Program.


8. Database configuration. You can either go for SQL Express Edition built into SCVMM or can use an existing SQL in your environment.

9. Specify the location for storing VM Library.


10. You can specify different ports to manage VMM Administrative Console, Library Servers and FTP Transfers to agents.


11. Summary
12. Status of installation.


13. After completing the VMM Server installation, you can install VMM Administrative Console and Self Service Portal on the same or different machine as per your requirements.
Installing the VMM Administrator Console
http://technet.microsoft.com/en-us/library/cc764341.aspx
Installing the VMM Self-Service Portal
http://technet.microsoft.com/en-us/library/cc764235.aspx
Installing a VMM Agent Locally on a Host