torsdag 20. september 2012

DPM: Tape Detailed Inventory

If you backup to tape and the tape detailed inventory job starts at the same time, it will probably fail. This is because the tape is in the tape drive. Therefore make shure the inventory job runs when no tape backup is running. To change when inventory runs you can use DPM Management Shell and type this command:
Set-MaintenanceJobStartTime -DPMServerName "srv-dpm-1" -MaintenanceJob LibraryInventory -StartTime 19:00

mandag 10. september 2012

Install OS to a Virtual Disk

In this example I have Windows 8 Enterprise installed. I will install Windows Server 2012 as a secondary OS. But I will use a virtual disk. This is how I did it:

PS! You must have Enterprise or Ultimate edition of Windows 7 or 8 for this to work (license issue).
  1. First I boot up with a Windows Server 2012 installation media.
  2. At Language prompt I press SHIFT+F10.
  3. Then I type: DISKPART
  4. To find my disks I type: LIST VOL
  5. I find that my C: drive (when in Windows 8) is listed as D: drive.
  6. To create a new virtual disk on D: with initial small size and max size 40GB I type:
    CREATE VDISK FILE=D:\Win2k8R2.vhd MAXIMUM=40000 TYPE=expandable
  7. I then select this disk and create a primary partition by typing:
    SELECT VDISK FILE=D:\Win2k8R2.vhd
  8. Now I verify my work by typing: LIST VOL
  9. Then I type EXIT two times and continue installing Windows Server 2012. I choose the new disk as installation target.

onsdag 5. september 2012

Activate Windows 8 Pro/Enterprise without KMS

So you installed Windows 8 Pro/Enterprise and signed in with a windows live account. Eager to customize your account you find that you can’t, Windows must be activated first. But how? The activation page offer no option to input the activation key.

This is because the Pro and Enterprise versions are for business use, it’s assumed that you are going to use KMS. So, if you don’t have that, use the the run dialog box, and type:
slui 3
You will then see the Activation wizard, and a product key can be entered.

lørdag 1. september 2012

Exchange 2010: Speed up large migration

By default Exchange 2010 CAS servers limits active moves like this:
MaxActiveMovesPerSourceMDB = 5
MaxActiveMovesPerTargetMDB = 2
MaxActiveMovesPerSourceServer = 50
MaxActiveMovesPerTargetServer = 5
MaxTotalMovesPerMRS = 100
This will allow 5 concurrent moves from the source database, 2 concurrent moves to the target database, 50 per sources server, 5 per target server and 100 per CAS server. If you use high-end disk with plenty of IOPS, you can change the settings gradually up to something like this (be aware of your hardware limitations):
MaxActiveMovesPerSourceMDB = 15
MaxActiveMovesPerTargetMDB = 15
MaxActiveMovesPerSourceServer = 50
MaxActiveMovesPerTargetServer = 40
MaxTotalMovesPerMRS = 250
This will require a restart of the MRS service on the CAS server(s). You can edit these settings in the file MSExchangeMailboxReplication.exe.config, wich would normally exist on the CAS server in C:\Program Files\Microsoft\Exchange Server\V14\Bin\. For more details read this TechNet article.

DPM: Sharepoint Protection

To protect a SharePoint farm, install DPM agent on your front-end Web server(s) and on your back-end SQL server(s). Then enable SharePoint VSS by running ConfigureSharePoint -EnableSharePointProtection on your front-end Web server(s). Read more...