Recently a Backup Admin from a client had an issue with DPM  the error read: “DPM encountered error from VMware while trying to get ChangeTracking information. Server – vcenter.mydomain.com ErrorCode – FileFaultFault (ID 33621 Details: Internal error code: 0x80990EF3)”

DPM-_ID_33621

I researched the error and found a solution by:  Josh Gulick, Support Engineer, Microsoft  Change Block Tracking needs to be reset if another backup product has protected a VMWare VM prior to DPM

After implementing consistency check was running, after 5 minutes a error pops-up

“DPM is out of disk space for the replica. (ID 58 Details: There is not enough space on the disk (0x80070070))”

DPM-OutOfDisk

I modified the disk allocation and re-ran the job; Completely Successful.

ConsistencyCheck-OK

Thank you very much: “Josh Gulick” for this contribution.

Advertisements

During a training session with Microsoft Hyper-V  trainees were asked to create and delete checkpoints a particular trainee found herself unable to delete the checkpoint from GUI.

CHKPOINT

As I’ve seen this before many times, I instructed the trainee to open PowerShell and execute the following command: “Get-VMSnapShot -vmname test1”

get-vmshapshot

and there we see the snapshot VMNAME: Test1 – Backup – ( 07/27/2017 – 6:03:10 PM).

Now we must delete the snapshot executing the previous command: “Get-VMSnapShot -vmname test1” and adding “| remove-vmsnapshot”.

Get-VMSnapShot -vmname|remove-vmsnapshot

Once the snapshot is removed Hyper-V will begin to merge the data and reconcile the changes.

snapshotMerge

No snapshots left, and I was able to continue the Hyper-V training.

NoSnapShotsLeft

Good Day to All, I was asked to create Contact Cards in Microsoft Exchange 2010, now this seems like an easy task in the EMC (Exchange Management Console) but when you have 2,000 contacts to create, EMC doesn’t seem much fun after all. Scripting power! I went to Microsoft Website and got some information on how to do it.

Contact-Card.csv

Contact-Card-csv

 

“New-MailContact -ExternalEmailAddress -Name [-Alias ] [-ArbitrationMailbox ] [-Confirm []] [-DisplayName ] [-DomainController ] [-ExternalDirectoryObjectId ] [-FirstName ] [-Initials ] [-LastName ] [-MacAttachmentFormat ] [-MessageBodyFormat ] [-MessageFormat ] [-ModeratedBy ] [-ModerationEnabled <$true | $false>] [-Organization ] [-OrganizationalUnit ] [-OverrideRecipientQuotas ] [-PrimarySmtpAddress ] [-SendModerationNotifications ] [-UsePreferMessageFormat <$true | $false>] [-WhatIf []]”

after a little fine tuning it ended up like this: “Import-CSV Contact-Card.csv | ForEach-Object {New-MailContact -Name $_.Name -ExternalEmailAddress $_.ExternalEmailAddress -OrganizationalUnit $_.OrganizationalUnit -WhatIf}

Let’s break it down:

  1. Import-CSV Contact-Card.csv (where contact-card.csv is the file where we have the information we want to import.
  2. | ForEach-Object {                        (Since we’re doing batch it’s going to execute the command for each record)
  3. New-MailContact                          (Power Shell command to create a mail contact)
  4. -Name $_.Name                            (Exchange Field and Colum name match on csv)
  5. -ExternalEmailAddress $_.ExternalEmailAddress         (Exchange Filed and Column name match on csv)
  6. -OrganizationalUnit $_.OrganizationalUnit               (Exchange Filed and column name match on csv)

-WhatIf

Now the “-WhatIf” at the end of the command will show us a preview of the outcome, once were are ready to execute the command in Production, remove the -WhatIF

After a while, all 2000 contact cards were created…. Next o the Agenda… Script to Forward emails to the created contact cards…

 

 

 

I’ve recently found myself dealing with GPT protected partitions on HP Proliant Servers on which I’ve created Arrays using “Intelligent Provisioning App” to manage Storage. As with any Array configuration:

  1. Add the discs to the enclosure
  2. Create and array
  3. select the discs in the array
  4. Commit changes

and you are done, but recently after running that same procedure when I boot to Windows or VMware I am unable to use the provisioned array. On Windows when I go to the “Disk Manager” it appears as “GPT Protective Partition”

gpt-offline

gpt-online

I tried a couple of things on the GUI but nothing seemed to work, either because the control were grayed or would get errors. I decide to try it “Old school” and use “Diskpart”

gpt-diskpart

  1. Open “Command Prompt” as Administrator
  2. Enter command “Diskpart”
  3. Then command “List Disk”gpt-list-disk
  4. Then command “Select Disk” and the disk number, in this case I will select disk 2gpt-select-disk
  5. Now command “Clean” this command will wipe the partition on the disk.gpt-clean

The disk has been cleared of any “Protectiveness” and is ready to be configured. I executed command “List Disk” to show that the disc is free.gpt-unknown-disc

gpt-unknown-disc2

gpt-unkown-disc3

Now you can configure the disc to you hearts content. I hope this information was useful. Enjoy!

Automatic Upgrade of VMware Tools

Posted: February 28, 2017 in VMWARE

Have you ever tried to upgrade the VMware Tools on a VM and shown:

automaticupgradevmtools

  • Interactive Tools Upgrade
  • Automatic Tools Upgrade

I have stumbled upon this screen many times and most of the time chose the “Interactive Tools Upgrade” option where you login to the VM and install manually. After some research I found the commands on the VMware web page Enjoy!

Ever since System Center 2012 R2 Data Protection Manager started to support VMWare I’ve been trying to get it to work, I would end up getting stuck on the Certificate issue. A couple of days ago I saw this post:

implementingmicrosoftdpmhostlevelprotectionvmwarevms

To my benefit they solved the certificate issue, and I was able to implement the solution perfectly. A very special thanks  J.C. Hornbeck [MSFT] to for this Post.

Ever since System Center 2012 R2 Data Protection Manager started to support VMWare I’ve been trying to get it to work, I would end up getting stuck on the Certificate issue. A couple of days ago I saw this post:

implementingmicrosoftdpmhostlevelprotectionvmwarevms

To my benefit they solved the certificate issue, and I was able to implement the solution perfectly. A very special thanks  J.C. Hornbeck [MSFT] to for this Post.