JEAZ The bump and grind of daily SysAdmin life

23Jan/110

Cannot create a quiesced snapshot because the create snapshot operation exceeded the time limit for holding off I/O in the frozen virtual machine.

I experienced this problem in my environment because we use Backup Exec. When I deployed VMWare Data Recovery, it uses VSS to quiesce the file system before taking a backup snapshot.

Well, as it it turns out... Backup Exec's Remote Agent also includes a VSS component, and they break each other when a VSS request comes in.

Here is the VMWare article I found, which was MOST useful. It includes links to Symantec's articles on the same issue, and even resolution steps with all caveats documented. Read carefully at the bottom of the Symantec articles, there is good info there.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009558

Tagged as: No Comments
23Jan/113

Set all user’s home directories with PowerShell

Get-ADUser -SearchBase "OU=Users,DC=test,DC=ad" | % { Set-ADUser $_ -HomeDrive "H:" -HomeDirectory ('\\fileserver\home\' + $_.SamAccountName) }

Let me explain how this works briefly:

Get-ADUser = Get users from AD
-SearchBase "ldap" = Root of the tree in AD to get users from
| = Pipe, provide input of query to...
% = ForEach item piped from query
Set-ADUser = Write changes to AD
$_ = item piped from query
-HomeDrive "X:" = Sets home drive letter, requires colon and quotes!!
-HomeDirectory = Home drive path
$_.SamAccountName = item piped from query's property "SamAccountName" aka username.

We chose to use the username for the folders in the home directory storage, you don't necessarily have to.

Notice the (paranthesis) which tell Powershell to take my string \\fileserver\home\ and variable $_.SamAccountName and mush them together, passing both as the final string to -HomeDirectory

Thanks #powershell on Freenode and MS documentation examples

Technet on Set-ADUser:

http://technet.microsoft.com/en-us/library/ee617215.aspx

Tagged as: 3 Comments
13Jan/110

Hello world!

JEAZ! Do they even use this stuff before they start selling it?

I've asked myself this question about 300 million times so far in my career as an IT guy.

I  run into weird problems every day. It's my job. "Contact your System Administrator" is my least favorite error, because I don't fancy talking to myself.

I can't even count the number of times I have the found solutions to bizarre technical troubles on blogs and forums. Google is pretty much the best thing that ever happened to me. Not only did I learn my trade from it, but it still continues to allow me to improve and be a valuable member of the IS team I work on.

I sometimes fail to find solutions out there in the Interworld, and there have been bizzare technical troubles for which I've found my own workarounds. This blog is my outlet. I am, finally, contributing back into the ether.

I don't expect to be hyperactively posting, but anybody with a bizzare techno solution can e-mail me to have it posted up 🙂

Filed under: Site News No Comments