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”

Leave a Reply

Your email address will not be published. Required fields are marked *