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

Tuesday, July 31, 2018

Network ports for Site Recovery Manager 6.1

Hi All,

Toady I found good KB article about SRM ports which are required for successful implementation and site pairing.

Site Recovery Manager can experience problems if the required network ports are not open.
In a Site Recovery Manager deployment, both the protected site and the recovery site must be able to resolve the vCenter Server instance by name. The correct ports must be open on both sites for uninterrupted communication.

vCenter Server and ESXi Server network port requirements for Site Recovery Manager 6.1

Site Recovery Manager requires certain ports to be open on vCenter Server, Platform Services Controller, and on ESXi Server:

Default PortProtocol or DescriptionSourceTargetDescription
443HTTPSSite Recovery ManagervCenter ServerDefault SSL Web port
443HTTPSSite Recovery ManagerPlatform Services ControllerTraffic from Site Recovery Manager Server to local and remote Platform Services Controller.
902TCP and UDPSite Recovery Manager Server on the recovery siteRecovery site ESXi hostTraffic from the Site Recovery Manager Server on the recovery site to ESXi hosts when recovering or testing virtual machines with IP customization, with configured callout commands on recovered virtual machines, or that use raw disk mapping (RDM). All NFC traffic for updating or patching the VMX files of virtual machines that are replicated using vSphere Replication use this port.

Site Recovery Manager Server 6.1 network ports

The Site Recovery Manager Server instances on the protected and recovery sites require certain ports to be open.

Note: Site Recovery Manager Server at the recovery site must have NFC traffic access to the target ESXi servers.

Default PortProtocol or DescriptionSourceTargetEndpoints or Consumers
443HTTPSSite Recovery ManagervCenter ServerDefault SSL Web Port for incoming TCP traffic
443HTTPSSite Recovery ManagerPlatform Services ControllerTraffic from Site Recovery Manager Server to local and remote Platform Services Controller.
902TCP and UDPSite Recovery Manager Server on the recovery siteRecovery site ESXi hostTraffic from the Site Recovery Manager Server on the recovery site to ESXi hosts when recovering or testing virtual machines with IP customization, with configured callout commands on recovered virtual machines, or that use raw disk mapping (RDM). All NFC traffic for updating or patching the VMX files of virtual machines that are replicated using vSphere Replication use this port.
1433TCPSite Recovery ManagerMicrosoft SQL ServerSite Recovery Manager connectivity to Microsoft SQL Server (for Site Recovery Manager database)
1521TCPSite Recovery ManagerOracle Database ServerSite Recovery Manager database connectivity to Oracle
1526TCPSite Recovery ManagerOracle Database ServerSite Recovery Manager database connectivity to Oracle
9086HTTPSvSphere Web ClientSite Recovery ManagerAll management traffic to Site Recovery Manager Server goes to this port. This includes traffic by external API clients for task automation and HTTPS interface for downloading the UI plug-in and icons. This port must be accessible from the vCenter Server proxy system. Used by vSphere Web Client to download the Site Recovery Manager client plug-in.

Network ports that must be open on Site Recovery Manager and vSphere Replication Protected and Recovery sites

Site Recovery Manager and vSphere Replication require that the protected and recovery sites can communicate.

PortProtocol or DescriptionSourceTargetEndpoints or Consumers
31031Initial replication trafficESXi hostvSphere Replication appliance on the recovery siteFrom the ESXi host at the protected site to the vSphere Replication appliance at the recovery site.
44046Ongoing replication trafficESXi hostvSphere Replication appliance on the recovery siteFrom the ESXi host at the protected site to the vSphere Replication appliance at the recovery site.
8043HTTPSSite Recovery ManagervSphere Replication appliance on the recovery and protected sitesManagement traffic between Site Recovery Management instances and vSphere Replication appliances.
Note: Newly configured replication will use only 31031, existing replications will continue to use 44046 until reconfigured.

Site pairing port requirements

Port
Source
Target
Description
9086
vCenter Server
SRM server target site
vCenter and target SRM communication
9086
SRM server
SRM server on target site
SRM to SRM communication
443
SRM
PSC and vCenter
SRM to vCenter communication – local and remote