01/31/2006

Spoolsv.exe causing high CPU usage

If spoolsv.exe is causing 99% cpu usage then it may have a corrupted print file stuck in the system32 folder. To fix it do the following
Go to Control Panel, Administrative Tools, Services and stop the Print Spooler services
Turn off the printer.
Now go to C:\WINDOWS\system32\spool\PRINTERS and delete the files there. You may find some '00002.SHD' and '00020.SPL'. or something similar.
Now turn your printer back on and restart the print spool service.
Spoolsv.exe should be at 2% or less.

01/03/2006

Virtual Server 2003 Backup Script

There are not that very many options when it comes to backing up Virtual Servers. Here is a script I came across from the guys at Win32 Scripting that will backup the VMC and VSV. It does require vshadow.exe from the VSS SDK.
Basically it will save state running virtual machines, create a shadow copy , then restore the Virtual Servers.

You can download the script here.


Script:


Script:

On Error Resume Next

Set objShell = CreateObject ("WScript.Shell")
set objFSO=CreateObject("Scripting.FileSystemObject")
Set virtualServer = CreateObject("VirtualServer.Application")
DestBackupDir = "your backup path"
sExCmd = "CreateVSS.cmd"
Set oFileSys = CreateObject("Scripting.FileSystemObject")
if oFileSys.FileExists(sExCmd) then oFileSys.DeleteFile(sExCmd)
set oExCmd = oFileSys.CreateTextFile(sExCmd, CopyOverwrite)

For each objVM in virtualServer.VirtualMachines
'See if vm machine is running. If so then do backup
If objVM.State = 5 then
'Save state the virtual machine
set saveTask = objVM.Save
'Loop waiting for task completion - and display status
while not saveTask.isComplete
WScript.Sleep 1000
wend
'Copy .VMC and .VSV files
MyArray = Split(objVM.File,"\")
Filename = MyArray(Ubound(MyArray))
objFSO.CopyFile objVM.File,DestBackupDir & Filename
MyArray = Split(objVM.SavedStateFilePath,"\")
Filename = MyArray(Ubound(MyArray))
objFSO.CopyFile objVM.SavedStateFilePath,DestBackupDir & Filename
End If
Next
Set objVM = Nothing

' Create Shadow copy of VM drive
oExCmd.WriteLine "vshadow.exe -script=setvar1.cmd -p d:"
oExCmd.WriteLine "call setvar1.cmd"
oExCmd.WriteLine "vshadow.exe -el=%SHADOW_ID_1%,x:"
oExCmd.Close
Result = objShell.run(sExCmd,vbMinimized, TRUE)

' Start VM machine up from saved state
For each objVM in virtualServer.VirtualMachines
'See if vm machine is Saved. If so then resume
If objVM.State = 2 then
'Start virtual machine
objVM.Startup
End If
Next
Set objVM = Nothing
WScript.Sleep 10000


If Result = 0 then
'Loop through all vm machines
For each objVM in virtualServer.VirtualMachines
'See if vm machine is running. If so copy shadow backup of vm disk drives
If objVM.State = 5 then

'Copy virtual hard disks and undo disks
For each vhd in objVM.HardDiskConnections
MyArray = Split(vhd.undoHardDisk.file,"\")
Filename = MyArray(Ubound(MyArray))
SourceName = "x" & Right(vhd.undoHardDisk.file,Len(vhd.undoHardDisk.file)-1)
wscript.echo vhd.undoHardDisk.file
wscript.echo SourceName
objFSO.CopyFile SourceName,DestBackupDir & Filename
MyArray = Split(vhd.HardDisk.file,"\")
Filename = MyArray(Ubound(MyArray))
SourceName = "x" & Right(vhd.HardDisk.file,Len(vhd.HardDisk.file)-1)
objFSO.CopyFile SourceName,DestBackupDir & Filename
Next

End If
Next
End If

' Shutdown all shadow copy instances
if oFileSys.FileExists(sExCmd) then oFileSys.DeleteFile(sExCmd)
set oExCmd = oFileSys.CreateTextFile(sExCmd, CopyOverwrite)
oExCmd.WriteLine "Echo y | vshadow.exe -da"
oExCmd.Close
Result = objShell.run(sExCmd,vbMinimized, TRUE)

'Script ends
wscript.echo "done"

Keep in mind that you still need to copy the VMD file. Also don't forget to add a \ at the end of your backup path ( It will support UNC ).

Having your Cisco CallManager Publisher Failover to a Subscriber

Cisco doesn't have very good documentation when it comes to publisher to subscriber failover. If you're looking to have your VoiceGateway failover to a subscriber with the ability not only to dial out but continue to recieve incoming calls your Gateway config should have a preference value, example.

dial-peer voice 20 voip
incoming called-number .
destination-pattern 3...
preference 1 <---Add
progress_ind setup enable 3
session target ipv4:10.1.24.24 <-----assumimg this is the Publisher's ip address
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad


!
dial-peer voice 21 voip
incoming called-number .
destination-pattern 3...
preference 2 <---Add, higher value than that of the PUB
progress_ind setup enable 3
session target ipv4:10.1.24.25 <----assuming this is the Subscriber's s ip addess
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad

08/19/2005

UltraVNC

Alex Scoble did a great write up on ComputerWorld on the many features of UltraVNC - another opensource VNC application. I have been using it in a test environment and it does include many features that you wish the original VNC had. Like Alex, I highly recommend it over RDC.

Windows OneCare Live - Beta

I received my OneCare Live beta in the mail over the weekend and have been running it on my production notebook - DELL Inspiron 700m with Windows XP. So far so good. The installation was a bit awkward but seemed to be successful. Microsoft was also generous enough to include 2 blank CDRWs for Backup purposes.

Windows OneCare is comprised of 3 major features - Protection Plus, Performance Plus and Backup/Restore.

Protection Plus consists of the Antivirus monitoring and Firewall. Unsure if its possible to see the virus definitions, only the last time it was updated. The Firewall is integrated into the Windows Firewall.

The Performane Plus does a few things when clicked. It checks for viruses, files that need to be backed up (optional) , Defrags the Hard Drive and does a disk cleanup, which removes old and unneeded files.

The Backup and Restore, althought I haven't run through all its steps seem to be different than the usual NT Backup. I haven't found an option to choose files or folders other than those stored on the profile, like My Documents, Favorites , Outlook data and such.

Its been a few days and no errors or performance issues, but we'll see as time go back. DO NOTE I also have my Blackice firewall, and my McAfee Antivirus 8.x software running on this notebook, but so far no conflicts has risen.

Anyone else played with it yet ?

03/21/2005

DELL 1855 Trial

The wonderful team at DELL Inc. ( thanks Monte ) has offered me an opportunity to try out their 1855 Blade Server. I will be getting the chassis with 1 blade in a day or two will gladly send pics, and have daily reports as I test it out with Windows 2003, Linux, and VMware over the next 3 months. My intent , if the blade suffices to my expectation, is to make it a Microsoft Operations Manager server or something along that line. I also send in a request for a new DELL Power Edge 2850, with external Raid Array, which I will be moving over our Exchange Services too, from an old Power Edge 8450.

Just a summary of some new projects coming down the pipe, that I will gladly share with readers. If you have any questions with the above technology, send them to me via a comment.

01/12/2005

MSN Search Engine

Check out the the MSN Search engine as posted by Nino on EHLO

http://beta.search.msn.com/

01/11/2005

Game Server anyone ?

So I'm about to unleash a first person shooter game server from my fellow techies and readers. Its a massive, 6GB memory, Quad Xeon 3.2GHz monster with Raided drives hosted over a nice fat throughput. Now here's my predicament, I don't know what game to host ?

Any suggestions ?

I would like to have it up and running by the end of the month...so send it your suggestions ASAP. The majority wins.

Mirror your site

Literally!!!

THE HUB

Last September, our colocation which is also my "downtown office" was the topic of an article at in carrierhotels.com. Here is an intro of the article.

On September 22, 2004 at 10:00 AM, Rudin Management Company, Inc.; one of New York City’s largest privately owned real estate companies, held their first ever Open House and Technology Forum at 32 Avenue of the Americas to promote and introduce the creation of The Hub at 32 Sixth . The Hub at 32 Sixth is a Rudin owned and managed co-location and data facility located on the 24th floor of the Avenue of the Americas building that boasts a growing number of communication providers and users ranging from telecommunications carriers, wireless providers, ISPs and entertainment, broadcasting and financial service firms. Rudin purchased the 1.15 million square foot building from ATT in 1999.

To read more, you can check out carrierhotels.com

HOTFIX AND PATCHES

IM me

Sponsors

Search

  • Google

My Online Status

Sponsor

.