Monday, November 15, 2021

NSX Controller Disk Check

 Many times I have seen that NSX controllers disk get full due to logs. We cannot performed this log cleanup without VMware support.

Below are the steps which can be performed after login into NSX controllers


show status
(This command will show us the status of disk utilization)


#cd /var/log/core

#df -h

# cd /var/log

# ls -ltr


(Below commands can be performed only when you are with VMware support)

st en

IAmOnThePhoneWithTechSupport


(Below command can will give you password for root account)

/home/secureall/secureall/sem/WEB-INF/classes/GetNvpApiPassword.sh controller-2

: debug os-shell

(Remmeber the : is part of command)

and type passwrod from above sh command 

restart the syslog service

/usr/bin/systemctl restart rsyslog.service 

Tuesday, October 19, 2021

Fix vRealize log insight admin password reset

To Reset the passwor you can use the SSH to box with root account and run the password below.

Establish an SSH connection to the vRealize Log Insight virtual appliance and log in as the root user.

Run the script that resets the Admin user password:

li-reset-admin-passwd.sh


If your account is getting locked then you will have to update the DATABASE to unlock the admin account.


The script resets the Admin user password, generates a new password, and displays it on the screen. 

Look up cassandra creds

/usr/lib/loginsight/application/lib/apache-cassandra-*/bin/credentials-look-up

log in to cassandra
/usr/lib/loginsight/application/lib/apache-cassandra-*/bin/cqlsh -u lisuper -p <password_from_first_step> --cqlshrc=/storage/core/loginsight/cidata/cassandra/config/cqlshrc




turn on vertical query results
expand on;

use vRLI DB
use logdb;

find admin user status and id
select id,status from user where user_name='admin' allow filtering;

if status is 2, change it back to 1
update user set status=1 where id=<id_from_previous_step>;

verify change
select id,status from user where user_name='admin' allow filtering;





Friday, February 5, 2021

2021 Flash End of Life & End of Support - vSphare Client Workaround

 As flash is end of life and end of support in 2021 many of you are not able to use the vSphere web client flash-based.

I still have some of my vCenter servers on 6.5 which support the VMware HTML5 web client however to manage some of my NSX 6.3.x task is not supported on it.

I have manged to run vSphere client on my chrome and internet explorer as workaround and below are the steps you need to perform.

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

Tuesday, October 20, 2020

List of All vCenter Services and their functions

We all perform vCenter validation and troubleshooting based on issues or checks; there are many important and optional services which I want to document though my blog post so we can review them if required.

please feel free to add your comments if you want to discuss more in details.

Below KB article from VMware is very importent for starting / stopping VMware vCenter services.

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

 

Friday, September 4, 2020

Newly Cloned VM Getting Disconected From Network

Toady I cloned one Virtual Machine to create another VM but those two new VM's which I cloned were getting disconnected again and again. 

Both VM's were running on diffrent ESXi hosts, everything was good from NSX and DV Switch side.

Both were having different IP address and correct porgroup configure. 

Wednesday, May 8, 2019

AWS Certified Solution Architect - Passed!!!

Good News ! Last week I manage to pass AWS Architect Exam and I would like to share my experience which may help you to pass the exam.

Exam is challenging and easy too, if you know all products and features from AWS console it will be very easy for you if not you know the answer.

Preparation - 
I used Pluralsight training to learn and practice all lab practicals, though I have also completed professional training from AWS you will have to perform each and every lab form AWS.




I will recommend to read and understand Cheat Sheets by 
TutorialsDojo

Make sure you open AWS account perform all possible labs in your account. DONT FORGET TO DELETE THE RESOURCES AFTER USER OR YOU WILL END UP WITH BIG INVOICE FROM AWS. USE FEATURE CALLED AWS Budget to make sure you are using limited resources.


You can use practice questions and answers to be aware about questions types or test your skills. You will not find single question from dumps in real exam.

Say BIG NO to dumps. AWS exam is something which you can not pass with dumps so please dont believe on anyone who says that just use brain dumps and pass the exam. Its simply not possible.


I will try to create some videos on this if time permits. 
Finally reach out to me if you have any questions.
 

Friday, February 22, 2019