I’m running WSUS on a 2012R2 server and the drive where the updates are tends to grow a lot. On this VM, I increased the provisioned size of the c:\ drive and not the drive where the updates reside. I didn’t notice I’d touched the wrong disk until I’d rescanned the disks on the VM and saw what I’d done.
As panic set in, I changed the provisioned size back to 60GB (I know, I know) and well, you know the rest. This article saved me today. I didn’t want to restore the VM unless I really had no choice, this did the trick.
Power off the VM and identify the host & datastore that the VM resided on, I enabled SSH and browsed to the VM location.
Cat out the descriptor file (vmname.vmdk) that outlines the data layout on the virtual disk. In the Extend Description section, you’ll see the extent(s) info. Next to RW (if it’s read/write) a number. That number represents the size of the vmdk in sectors, with the additional 200GB included.
To change the sector size to reflect the value I’m shrinking the drive back down to, 60GB, calculate it:
Windows server administration is not without those DOH! moments. How is it that I, the administrator cannot change the permissions on a folder?
The easiest way to fix this is to take ownership of the folder using the TAKEOWN command. Takeown is a tool that will allow an administrator to recover access to a file or folder that was denied by reassigning ownership. Open the command prompt and run as administrator.
takeown /f F:\FolderName /r /d y
/f Specify the file name or directory
/r Recurse through all directories and sub directories
I have a newly installed Windows 2012 R2 server and I just added the Windows Server Update Service role. After the install completed, I launched the post-installation task.
The post install configuration failed. I reviewed the .tmp file to see what actually caused the task to fail.
CreateDefaultSubscription failed. Exception: System.Data.SqlClient.SqlException (0x80131904): Login failed for user USERID
The user is the computer name of the WSUS server.
I launched SQL Management Studio and located the user referenced in the log file.
After looking at the roles assigned to that database user, I then checked the SYSADMIN server role members and noticed the user mentioned is not listed.
I added the computer name as a member and re-ran the post-installation task.
That did the trick and the post deployment configuration completed without error.
I’m still testing to see if I can assign the computer a more restricted role other than sysadmin, and I haven’t found any documentation on it, but I’ll keep searching. Maybe I’ll tweet Lawrence Garvin.
I’m running ESXi version 6.1 U1 and Dell Virtual Storage Manager (VSM)version 18.104.22.1684. I added a datastore to the cluster using VSM and on 2 of my hosts I got the following alert:
Enables SSH on the host and check out the logs.
In /var/log/hostd.log , I found the error:
warning hostd[xXxXxX] [Originator@6876 sub=Hostsvc.DatastoreSystem opID=123456-789-abc-def user=vpxuser] UpdateConfigIssues: Deprecated VMFS filesystems detected. These volumes should be upgraded to the latest version.
When I created the datastore, I did select VMFS 5, so I wasn’t sure why this error appeared.
According to vmware KB2109735, this is a known issue in version 6.0 and there is no resolution. Just restart the management services and the message goes away.
# /etc/init.d/hostd restart
# /etc/init.d/vpxa restart
Then the message goes away.
This only happens to me when I create a datastore with VSM. If I present a disk from my array, set up the iSCSI connections and rescan, I don’t get this message. Your mileage may vary.
You get a helpdesk ticket that a user needs to be added to an AD group. A quick command in PowerShell is all you need. By the time Active Directory Users and Computers opens, you’re closing the ticket.
Open a PowerShell prompt:
Add-ADGroupMember NameOfADGroup userID09
To confirm the account is there, run this: Get-ADGroupMember NameOfADGroup | select SamAccountName | sort-object SamAccountName -descending
Sometimes you need to test to make sure you’re entering the correct the right password. Be it a service account while installing a app or testing a password reset.
The start-process cmdlet is used to start one or more processes on a local computer. Get-Credential gets an object based on username and password. Use it to open an application and test the credentials.
Someone in the application group said that they wanted .NET downgraded from 4.5.2 to 4.51. I did as I was asked and then in the next few days, I got another call telling me that 4.5.2 was back. The application they are running is not supported in 4.5.2.
This system isn’t managed by WSUS so Windows update did what it was designed to do.
Here is a link to block the update of .NET to 4.5.2:
We are running VDP 5.8 on vSphere 5.5. One of the appliances failed to backup a VM last night. Checking the VM in the client, there is a message to consolidate the disks. I attempt to consolidate by right-clicking on the VM > Snapshot > Consolidate and it failed with this error:
I checked the vmware.log file for the VM and saw this error: 2015-09-15T03:00:29.146Z| vcpu-0| I120: DISK: Failed to open disk for consolidate '/vmfs/volumes/5490a09a-eb6682ee-affb-bc305bef5520/mobxxxxxx/mobxxxxxx-000002.vmdk' : Failed to lock the file (16392) 8162
I check the settings on the VDP appliance and notice that the VMDK that belongs to the vm is attached.
Shut down the VDP appliance and remove the disk. Making sure to only remove from virtual machine and NOT remove from virtual machine and delete files from disk.
Run the consolidation and if it succeeds, re-run the VDP backup on out of date sources to remediate your failed backup.
I’m coming off another vmworld and this one was pretty good. This year, we were back in San Fransisco at the Moscone Center. There were plenty great sessions, engaging speakers, opportunities to meet up with folks from past vmworld’s, networking, vendor parties and the party in AT&T park was the icing on the cake. The VWoman session was really enlightening as usual, but it was the same time as the hall crawl and it was not easy to blow that off. I really don’t like that they put both up against each other. It’s like they wanted the men to have the hall crawl all to themselves. #fail
One key highlight was seeing a woman I met at VMworld 2 years ago present a session this year. Sonya Ryherd from Cox Automotive did a session with her colleague, Chris Nakagaki, called, Introduction to Monitoring the Public Cloud with vRealize Operations Manager. They did a great job. It was one of those sessions where you walked away knowing something you didn’t know before. I was very intrigued and learned even more about what vRealize Operations could do. I’m installing it ASAP!
It’s very invigorating to walk away from the conferences with a renewed sense of direction and passion in what I do. Along with finding out about the new technologies and direction they’re headed, you discover features, flings, tips and tools that you’ve never knew existed. That’s like finding the prize in the cracker jack box. You knew it was there, but you didn’t know what that little gem would be.
The 1st things I’ll do when I get back to the office.
Plan for the upgrade to vSphere 6.0.
Upgrade tools to v10 before the sphere upgrade.
Deploy my ESXi lab in the cloud using Ravello & get ready for the VCP6 exam in 2016.
Install our newly purchased vRealize Operations
All in all, a really good time this year, dare I say the best VMworld yet for me. I ate at a number of wonderful restaurants:
Flour + Water
Brenda’s Soul Food
Green Papaya (not wonderful, but I got my sushi fix)
Chipotle (like, who doesn’t eat here when at VMworld?)
I won some cool swag:
Signed Tour de France jersey
$40 VMworld store gift card
2 Starbuck’s gift cards
And got plenty of t-shirts and swag to drag back to the east coast.
I have a ton of photos, but I’ll post just one.
One sad note about the conference….I’m sad that It’ll be in Las Vegas next year, but I’ll try to be there. I’m not a woman that likes Hades very much.