Blog

When you have a duplex mismatch between a server and  a switch or a workstation and a switch you will only see problems in either the upload or the download, but not both. This table shows where you will see the extreme network latency when there is a duplex mismatch.

PCSwitch-PCSwitch-ServerServer       UploadDownload
Full Full Full Full   Fast Fast
Full Full Half Full   Slow Fast
Full Full Full Half   Fast Slow
Full Half Full Full   Fast Slow
Half Full Full Full   Slow Fast
Full Full Half Half   Fast Fast

 


 

I was trying to copy a VMware folder to the server's VMware share and I went offline.  After I finally rebooted to get things straightened out, I couldn't determine why my synchronization was taking a long time - well over 30 minutes.  I finally paid enough attention to see that it was trying to sync an offline copy of the main VMware disk image (about 4GB in size).  The problem is offline files was trying to keep a temporary copy of the file synched up until I deleted the temporary offline files.  When I deleted temporary offline files, it told me it deleted one file of 167MB but it freed up about 4GB on my C drive.


 

To clean out SMTP queues in Exchange, set the SMTP connector (or create one) with a non-existent smarthost (use brackets around the IP address to prevent DNS lookups).  Then restart the SMTP Virtual Server and all messages will get put into a single queue.  This may take a while.  Then you can delete them all (at least 10000) at a time.


 

When working with HP Ultrium tape drives, it is sometimes a challenge to get them to run at speeds even close to the advertised maximum. Sometimes there are questions as to how to troubleshoot and how know you are getting the most out of the drive. Here are some tips: [more]

  • Most HP modern Ultrium drives have a hardware compression feature. In order to get even close to the advertised speed of the drive, you must ensure that the hardware compression is enabled on the drive. You can do this with the HP Library and Tape Tools utility. Without it, you will get approximately half of the advertised speed.
  • If you are using Backup Exec with an Ultrium drive, use the Symantec drivers that are provided on their website and make sure the drive you are using is on the HCL for the version of BE you are using. Only switch to the HP/OEM driver if you experience issues with media robotics when moving/inventorying media.
  • If you are using a tape library or autoloader, use the HP/OEM driver for the media changer/robotics and the Symantec driver for the drive. Symantec does not make drivers for the robotics.
  • Make sure that you are not using a SCSI channel that is connected to a RAID card. This can seriously impact performance of the drive. Best possible scenario is an Ultra320 SCSI card on a dedicated 64-bit PCI bus. Make sure the SCSI card drivers are up to date.
  • There are two types of autoloaders/libraries: LUN based and SCSI ID based. The difference is the way the device presents itself to the OS. LUN based devices share a SCSI ID and present different LUNs to the OS for the media changer and the drive. SCSI ID devices present two different SCSI IDs . Backup Exec works best on SCSI ID devices, but either will work. If the device you are working on allows you to choose LUN based or SCSI based, choose SCSI based.
  • Make sure the SCSI bus of your device chain is properly terminated. If using LVD SCSI, make sure you are using an LVD/SE terminator. Do not put more than two SCSI devices on the same SCSI chain as the tape device.
  • When testing performance, do a backup to local disk to test performance. If speeds are significantly faster, you should further troubleshoot the tape device because data CAN be backed up faster; the bottleneck is the tape device. If speeds are about the same, the bottleneck is the BE remote agent. Data cannot be presented to the device fast enough to keep it busy. In this scenario, troubleshoot the hosts for performance increases.
  • On the Backup Exec media server, disable the "Removable Storage" service. It has been known to cause issues with Backup Exec since version 8 and up.

 


 

Writing scripts in Visual Basis for Applications (VBA) is convenient for automating tasks within Word, Excel, etc.  However, if you then want to be able to run any of those scripts as VBScript there are functions of VBA that are not supported in VBScript that you will have to modify before the script will compile.  A list of VBA functions that are not supported in VBScript can be found here.  The Control Flow functions (e.g. GoTo command) got me recently.


 

Shared folders can be used in a VMware Virtual Machine (VM) to map a VM folder to a Host folder. However, this capability is a "special feature" and not installed by default. If you try to use it and it is NOT installed, it just doesn’t work… no error and there is no reason given for not working.


 

There is an order of operations to defragment the disks of a (VMware Workstation) VM.

  1. First, use the defragmentation utility in the operating system running on the VM to defrag… just like a real machine.
  2. Use the Utility provided by the VM software to defragment(machine must be powered down). VM->Settings->Hardware->Hard Disk->Utilities(Button).
  3. Use the defragmentation utility in the HOST operating system to defrag the disk files of the virtual machine.

 

I guess this is annoying to some and not a big deal to others.  (“this” being the fact that Windows Vista IE/WE and file browser dialogs do not have an “up directory” button).  Besides just being weird it can be a hassle when you still work a lot on WinXP/Win2003 and are use to the convention of having an up button.  Of course MS allows you to use the “directory tree buttons” to easily navigate to a higher directory – which is pretty good, but not a complete solution in some cases.  If you click in the location area and start to type a new directory, there’s not an obvious way to restore the buttons (because now it’s just a text box containing the file path).  By the way, pressing Esc twice with focus on this text box does restore the buttons.  However, the thing I was interested in sharing was the ability to press Alt-Up Arrow and just go up a directory like normal.  So, the next time you notice the up button is missing just remember that Alt-Up Arrow in Vista does the same thing.


 

If you are running out of space on the "C" drive on a system, one way to avoid the hassles of rebuilding the system just to gain space is to use the junction point feature of Windows. This will allow you to move entire folders from the C drive to another drive, thus freeing physical space.

There is a Microsoft KB article on how to create and manipulate NTFS junction points and another article with the best practices for Sysvol maintenance.

Windows does not come with a tool for creating junctions.  The Win2K Resource kit includes the linkd program for creating junctions, but if you don't want to purchase that there is a free Sysinternals tool called Junction that can be used to create junction points in Windows.


 

I recently ran into an issue whre I connected to an XP machine with remote desktop and the background would not repaint when windows were closed or moved.  I found that the Windows Security Center and the system tray notification about the Antivirus not working were running (wscpui.cpl and wscntfy.exe) under another user's account.  When I stopped those processes, then the background would repaint again.  So, if you see this behavior, you might check for processes running under another user's session.