vCloud Usage Meter 3.6 Tips

I’ll be updating this post with things I learn about 3.6 as time progresses.

Change IP / Gateway / Hostname / DNS / Proxy Server

  1. This *could* be done within your standard Linux commands, however, Tomcat is running in the background and does require manipulations also.
  2. The recommended process is using a bash shell script named “vami_config_net” – this is under /opt/vmware/share/vami/
  3. Run the script from your console to get the menu:
  4. Pretty self-explanatory on what it requires after you select a sub-menu.

SSH and Root Logins

  1. SSHD is not started by default nor can you log in with the root credentials. IF it is required (by VMware Support), this is the process on enabling access.
  2. To enable root, edit /etc/ssh/sshd_config and look for line “PermitRootLogin” – change this from no to yes
  3. Then start (or restart) the sshd service – “service sshd restart/start”
  4. NOTE – This should be a TEMPORARY solution if you need to access the shell via root. Follow all security practices when possible!

Root account locked

  1. Yeah, don’t ask how I did this – but had to figure out the procedure on unlocking the root account.
  2. Simple instructions here on getting into the bash shell from GRUB – https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2147190
  3. From there, you’ll need to use the “pam_tally2” command to reset the lock on the root account.
  4. So… “pam_tally2 –user=root –reset”
  5. Ensure your path is set if it errors out: “export PATH=”/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin”

Migrating from vCloud Usage Meter 3.5 to 3.6

With our new release of vCloud Usage Meter 3.6, I have several SP’s requesting the work effort for migrating from 3.5 to 3.6 Usage Meter. I am doing this in my lab environment and showing the steps required for the data migration.

Official Instructions: https://docs.vmware.com/en/vCloud-Usage-Meter/3.6/com.vmware.vcum.usersguide.doc/GUID-88DD4D6B-B357-46D5-A6B7-AC1EDB7F423E.html

Pre-requisites:

  1. Usage Meter 3.6 appliance stood up and IP’d – you do not need to point it to your Products (migration tool will take care of that)
  2. Snapshot BOTH UM appliances
  3. SSH turned on both 3.5 and 3.6 appliances. NOTE: 3.6 requires you to change the /etc/ssh/sshd_config to allow root logins. Change “PermitRootLogin” to yes and restart sshd
  4. Timezone is the SAME on both appliances
  5. Under Manage -> Provider, ensure the Contract, Phone, Partner ID, Contract Number, and Site ID MATCH

Steps:

  1. SSH to both appliances as “usgmtr” – NOT root
  2. Run “migrateum <hostname-of-UM3.5>
  3. And if you forgot to SSH as the usgmtr account, you’ll get this!! 🙂
  4. OK, SSH now as usgmtr on the 3.6 appliance – running “migrateum usage35.corp.local”
  5. IF you met the pre-reqs above, you should get a confirmation screen like this:
  6. After confirming, you should see the copy operation start. I didn’t have much data on my UM instance, so this was pretty quick.
  7. Let’s log into the 3.6 instance….
  8. You’ll get the confirmation page again to accept the terms:
  9. Accept the certificate for any product (I had vROps pop up):
  10. vCD was not showing up for me also – I had to check the box “Show inactive” and Activate:
  11. What’s great is all of my Customers and Rules moved over…
  12. And previous Report data is there!

Once you verify everything looks good, DON’T FORGET TO REMOVE YOUR SNAPSHOTS!!!

Not a very tough migration – just ensure your 3.6 UM is configured exactly the same way as the 3.5 instance or the migration tool will error out.

Happy migrating!

vSphere Central – Go-To Bible for core functions!

Hot off the presses here – VMware has released a new content page for go-to information for install, configuration, and management guidance.

https://vspherecentral.vmware.com

Things to point out:

  1. vCenter High Availability Overview – https://vspherecentral.vmware.com/#!/vcenter-server/configuration-and-day-2-operations/vcenter-high-availability-overview
  2. vROps Performance and Health Monitoring Guidance – https://vspherecentral.vmware.com/#!/operations-management/performance-and-health-monitoring
  3. Command-Line Interfaces – https://vspherecentral.vmware.com/#!/developer-and-automation-interfaces/command-line-interfaces

This is a GREAT go-to page for core functions from a lifecycle perspective. Get this out to your teams!

vROps Management Pack for vCloud Director

This is a nice little jewel available in the VMware Solution Exchange – ability to monitor vCD objects and provide potential tenant integration for monitoring their org.

More info here: https://marketplace.vmware.com/vsx/solutions/management-pack-for-vcloud-director

To install it – it’s pretty easy:

  1. Download the PAK file
  2. Toggle to Administration -> Solutions in vROps
  3. Hit the + Button on Solution
  4. Select your PAK file and click Upload
  5.  
  6. Accept the EULA
  7. Let vROps do it’s thing – installing…
  8. Click Finish once it’s complete.
  9. Now find the Management Pack for vCloud Director under Solutions. Go ahead and click on the gear icon to configure your connection.
  10. Add your instance along with the Display Name, org you want to connect to, and credentials. Pretty similar to other connections. Note – ensure Auto Discovery is set to “True” if you want new objects to propagate to vROps!
  11. Test your connection – if successful, you should start seeing Data Receiving under the Collection Status
  12. Toggle over to Dashboards -> you will see several new vCD dashboard available from All Metrics, vApp Utilization, Alerts, etc.
  13. From here, one could provide tenant access to a specific dashboard and/or org from vROps that provides a vCD view.

Yet another great addition for vROps 6.6 – definitely check it out if you are a vCD user!

Installation Guide is here.

vROps 6.6 Upgrade – Easiest. Upgrade. Ever.

I just upgraded my current vROps 6.4 instance to 6.6 – didn’t really know what it would take to do this.

Well, I can say this was one of the easiest updates I’ve ever done. I can summarize this in five steps.

  1. Download the appropriate PAK update file from vmware.com – there’s a few versions you can download. I’m running the vApp, so downloaded that.
  2. Log into the admin console – so https://<vrops-ui>/admin
  3. Click on Software Update -> Install a Software Update
  4. Upload the PAK file – agree to the terms
  5. Sit back and let it do its thing.

There’s 9 steps during the upgrade process. The admin page will time out during the appliance reboot. Once it comes up, the new GUI is evident.

Once it hits 9 of 9 – click on System Status on the left. You’ll see your applicable nodes and the current state.

I love the new interface, but also the immediate usability of 6.6. On the left side, I can see immediate recommended actions and workload balance.

Just incredible for a “minor” release.

New SBR Build with Geissele MK8 Rail

So new SBR build has been completed and tested at the range.

Here’s my build specs:

  • PSA Stripped Lower (engraved for SBR Form 1)
  • Aero Precision Upper
  • Aero Precision 10.5″ Barrel
  • Magpul SLK stock and grip
  • Trijicon MRO with LaRue QD Mount
  • Geissele MK8 Rail 9″
  • AAC 51T Mount
  • Using a AAC 7.62SDN can currently
  • Streamlight Rail-Mount HLX

So function was great, even suppressed. Things I noticed however:

  1. Wow, the rail gets HOT after 20 to 30 rounds. Hot enough I could not hold it. After researching it, it seems these slim-lined rails are known for that. Plus, I wasn’t using gloves on a 95+ degree day.
    1. I’ll probably install the larger plastic MLOK guards to help with this heat issue.
  2. This was to be expected, but was getting some gas blowback after heavy sustained fire. I’ll need to install an adjustable gas block to contain this. Moreover, I noticed ejection at 2 o’clock when running suppressed. I want this down slightly to 3 o’clock.

Love SBR’s and after some slight tweaks, this will be my go-to rifle!

VCP6-NV – Unlocked

I took the new 2v0-642 NSX certification on Tuesday and lo and behold, I passed!

I am going to very careful so I do not violate any NDA, but I wanted to provide an updated perspective on the 2v0-642 test. As many of you know, 2v0-641 test has been around for several years and has been recently retired.

Moreover, many of the study guides available are on 641 – my understanding is 642 was quite different.

642 focuses on NSX 6.2x feature-set – one of the biggest changes is the addition of cross-vCenter vMotion.

So what did I do to prepare for this?

Preparation Steps:

  1. I took the VMware NSX for Internetworking Experts Fast Track [V6.1] Class. Yes, that’s right – I took the older class. Why? Well, I wanted to take a remote class and this was the closest thing available. I also don’t believe the Fast Track class is updated to 6.2, but I could be wrong.
    1. However, this was a VERY good class that laid out many of the fundamentals I needed.
    2. My instructor was good and even went over cross-vCenter vMotion and some of the changes for 6.2, which was not in the curriculum but very valuable.
    3. Moreover, when I take any kind of class, I screenshot EVERY slide and write notes the instructor states. I reviewed ALL of this material for my exam preparation.
  2. Labs, labs, labs. I can’t stress this enough – PLUS IT’S FREE!!!
    1. A few labs I did over and over again – mostly focused on the 1725 labs:
      1. HOL-1725-SDC-1 – VMware NSX Advanced Consumption
      2. HOL-1725-USE-2 – VMware NSX Multi-Site DR with SRM
      3. HOL-1703-SDC-1 – VMware NSX: Introduction and Feature Tour (while I did this in my class, it was a good refresher)
      4. HOL-1703-USE-2 – VMware NSX: Distributed Firewall with Micro-Segmentation
    2. VMware Hands on Lab Link: http://labs.hol.vmware.com/HOL/catalogs/catalog/681
    3. Since I deal with vCloud Director, I had a prebuilt vCD/NSX environment so I tested several scenarios also. However, the HOL give great guidance
  3. I used Gregg Robertson’s blog as an addition to my overview – I went through the podcasts but did not read the book he referenced. Many thanks to Gregg for this insight.
    1. Link: Gregg Robertson’s Blog on VCP-NV Test
  4. READ THE DANG PRODUCT DOCUMENTATION! 
    1. This can’t be stressed enough. Even though it is long, some parts boring, there was some VERY VALUABLE insight, especially on the cross-vCenter vMotion setup and considerations.
    2. Docs I really focused on:
      1. VMware NSX Network Virtualization Design Guide – VERY IMPORTANT
      2. NSX Installation Guide
      3. NSX Administration Guide
      4. Cross-vCenter NSX Installation Guide
    3. Furthermore, with the admin guides – I took the labs and went through the basic administrative functions so I’m aware of steps.
  5. VMware VCP6-NV (2v0-642) 6.2 Practice Exam
    1. This was good – but obviously take it with a grain of salt. You can’t just take this expect to pass the test.
    2. Link to VMware myLearn VCP6-NV 6.2 Practice Exam
  6. I’m someone that needs to write/type things out and make a mental map of the technology and components. Therefore, I created this note sheet that I typed up a few days before the test: 2v0-642-UNOFFICIAL-StudyNotes
    1. PLEASE take these notes as they are – it’s my (weird) way of studying for a test and how I interpret NSX.

The Test:

  1. I went through the test and flagged questions I was not entirely sure.
  2. First pass took me maybe 35 minutes to complete – then I went to the beginning and went through the test again, focusing on the flagged questions I wasn’t too sure of.
  3. Read each question CAREFULLY and eliminate the ones you know aren’t true.
  4. Overall, I think I finished up with 45 to 50 minutes to spare.

Overall, I thought the test was challenging and asked very fair questions. It also made me kick myself on things I should have reviewed further – but that’s what a test is!

Next Steps:

I’ll be working on my VCAP next – TBD if I’ll switch over to DCV or stay on NV. But I truly enjoyed the experience and look forward to the next test preparation.

-DCP

Welcome!

Thank you for visiting my new fangled blog. I’ll be discussing quite a few things in the tech and firearms industry.

Stay posted for a vCloud Availability for vCloud Director post soon – getting quite a bit of exciting feedback. I also recently passed my VCP6-NV so I’d like to discuss my study curriculum and what I believe it took to pass the test.

-DCP