Unable to register the agent: Invalid username/password in vROPS 6.x and 7.x

Recently a customer of mine experienced a problem registering Windows servers into their vROPS environment with the End Point Operations Adapter. They had initially registered a large number of VMs a couple of years ago with no issue. Recently they needed to add many more and thought the process was going fine as the agent appeared to install fine and start the services on the Windows VM.

However, the new VMs did not appear in the vROPS console. After doing some digging in the log files, we found the agents were reporting the following error during installation:

“unable to register the agent: Invalid username/password”

We checked the username on a working machine by looking at “C:\ep-ops\conf\agent.properties” we compared it to the vROPS console. They had both a local and domain account with the same name configured on the vROPS system.

What we discovered is the agent was trying to register by leveraging a domain username versus a local user account on the vROPS server. vROPS currently (6.x and 7.0) does not support using domain accounts for agent registration. You can find a knowledgebase article here:

https://kb.vmware.com/s/article/2146280

Hopefully, this will help if you experience this issue.

Backing up your VCSA!

For this post, I wanted to talk about something stimulating, so I chose backups! Who doesn’t love talking about backups? Specifically, I wanted to give you guidance on how to back up your vCenter Server Appliance (VCSA) using the native file-based backup built into the VCSA.

I’ll be the first to admit that I haven’t been diligent in backing up my VCSA and Platform Service Controller (PSC) in my home lab. However, when it came time to upgrade the software it was aggressive in making sure I backed it up. So I figured now was the time to set it up. I’m a bit embarrassed to admit that it was so simple and I was just that lazy.

You’ll need a repository to act as a target for your backups that the VCSA/PSC can access. I use a small Linux box as the target for my backups. You’ll have the option to backup using either FTPS, HTTPS, SCP, FTP or HTTP.

Without further ado here are the steps required to configure backups for your VCSA. Note for this post I’m using vCenter 6.7. The same steps apply to both the VCSA and PSC if you’re using an external PSC.

Step 1 – You’ll need to log in to the vSphere Appliance Management Interface (VAMI). You typically access it by going to https://vCenter-url:5480

Step 2 – Select Backup.

Step 3 – Click on Configure.

Step 4 – Fill out the backup location. In this example, I’m using the SCP protocol.

Step 5 – Enter the username and password you’ll use to access the target location.

Step 6 – Choose the backup schedule you would like to implement.

Step 7 – If you wish to encrypt (AES 256) your backups enter a password here.

Step 8 – Select an option for the number of backups to retain.

Step 9 – You can choose to backup the Stats, Events, and Tasks.

Step 10 – You have the option of creating a description.

Step 11 – Click Create

Step 12 – Now it’s time to test your backup. Select ‘Backup Now.’

Step 13 – Select ‘Use backup location and user name from backup schedule.’ Enter your password, any encryption password, select the stats and an optional description then click ‘Start.’

At this point, it will verify that it can connect with the target location and begin the backup. If all goes well the status will show ‘Complete’ when finished.

Should your backup error out you can SSH into your VCSA (assuming you have it enabled) and view the backup.log file at this path ‘/var/log/vmware/applmgmt/backup.log’.

Remember you’ll need to repeat these steps for any external PSC appliances.

VMware Feature Walkthroughs

 

 

Have you found yourself curious about some of VMware’s newer technologies, or have questions about how to complete some tasks but haven’t had the time to sit down and take a hands-on lab course?

Let me introduce you to VMware’s Feature Walkthrough page (https://featurewalkthrough.vmware.com). This site is designed to give you exposure to the interfaces of many of VMware’s products. It’s an interactive site where you can follow a guided click-through of many technologies to get an overview. There are also options to see how to perform specific tasks inside these technologies.

It isn’t designed to replace the VMware Hands-On Labs (labs.hol.vmware.com) but supplements them. At the Features Walkthrough site, you can quickly click your way through some scenarios to get an understanding of how to complete specific tasks without the need to spin up an entire lab environment. You are limited in that you cannot deviate from the script, but if you have the desire to dig deeper you can always switch over to the HOL site and have the freedom to poke around at your leisure.

One quick note when going through a module make sure you expand the notes for each screen to get an understanding of what each step is doing. The red arrow indicates what you need to click. See the image below.

Catch up on VMware’s public webinars

Have you ever found yourself receiving an email from VMware with an excellent looking webinar to attend, only to find out you couldn’t make it? To make matters worse, you couldn’t figure out how to watch it after the fact.

Let me guide you to the solution. This link will take you to a list of upcoming webinars to register for, and as they become on-demand, you’ll be able to click right through to view the ones you missed.

https://portal.inxpo.com/ID/VMWare/12/

Enjoy!

VMware blog on how to assess impacts of CPU patches.

My first choice isn’t to just republish blog content by other authors, but I thought this was the most effective means of getting the word out. Sunny Dua is one of the resident experts at VMware on vRealize Operations Manager. He has published a fantastic blog on how to assess the performance impact of Spectre & Meltdown patches using vRealize Operations Manager.

Here is the link:

Assess performance impact of Spectre & Meltdown patches using vRealize Operations Manager

Coming soon!

Welcome! It has been a long time since I’ve blogged about VMware and the surrounding ecosystem.  This time I have the luxury of telling the story from the other side of the fence. I hope to bring educational and entertaining content of things that interest me.

I’m busy at VMworld 2017 right now but I hope to start with a conversation around Virtual Volumes (VVOLs) 101. In my time working at VMworld it has become apparent that there is still a lot of misinformation surrounding VVOLs.

Stay tuned!