Sunday, 15 March 2020

STEP BY STEP PRACTICALS - VMWARE - VRA 7.4 HF11 PATCH UPGRADE ERROR - ERROR OCURRED DURING THE UPLOAD. PLEASE TRY AGAIN

VMWARE - VRA 7.4 HF9 TO HF11 PATCH  UPGRADE ERROR - ERROR OCURRED DURING THE UPLOAD. PLEASE TRY AGAIN

 

Few days back I faced an error while upgrading VRA 7.4 HF9 to VRA 7.4 HF11 where I faced an error during the upload of *.patch file to the VRA primary node appliance. Durding the end of the upload the *.patch file was having issues in getting extracted on the VRA primary node. 

We contacted the support and were told to change the *.patch file which we had with us and were given a different patch file which we will be testing in some days to see if the issue gets resolved.

I tested the upload with the patch file which was provided by the vendor and it worked. I was able to successfully upload the file on the VRA master node.

 I will be performing the upgrade in the comming days and will keep you posted.

STEP BY STEP PRACTICALS - LINUX - HOW TO ENABLE ENGLISH KEYBOARD IN CENT OS 7

HOW TO ENABLE ENGLISH KEYBOARD IN CENT OS 7

 

Please find the command to enable English US keyboard in linux:-

 Command :- loadkeys us 

 

STEP BY STEP PRACTICALS - HOW TO DELETE A CHANNEL ON YOUTUBE

HOW TO DELETE A CHANNEL ON YOUTUBE

 

 

STEP BY STEP PRACTICALS - HOW TO FIND CONTACTS IN GMAIL

HOW TO FIND CONTACTS IN GMAIL

 

 

STEP BY STEP PRACTICALS - WINDOWS - HOW TO INSTALL WINDOWS SERVER R2 STANDARD EDITION

HOW TO INSTALL WINDOWS SERVER R2 STANDARD EDITION

 

 

STEP BY STEP PRACTICALS - WINDOWS - HOW TO CREATE A HOST RECORD IN DNS

HOW TO CREATE A HOST RECORD IN DNS

 

 

STEP BY STEP PRACTICALS - WINDOWS - HOW TO INSTALL WINDOWS SERVER 2012 RE CORE

HOW TO INSTALL WINDOWS SERVER 2012 RE CORE



STEP BY STEP PRACTICALS - WINDOWS - HOW TO DOWNLOAD WINDOWS SERVER 2012 EVALUATION VERSION

HOW TO DOWNLOAD WINDOWS SERVER 2012 EVALUATION VERSION

 

 

STEP BY STEP PRACTICALS - WINDOWS - HOW TO DO TELNET ON A PORT IN WINDOWS

HOW TO DO TELNET ON A PORT IN WINDOWS



STEP BY STEP PRACTICALS - WINDOWS - HOW TO MAC ADDRESS IN WINDOWS

HOW TO MAC ADDRESS IN WINDOWS

 

 

STEP BY STEP PRACTICALS - WINDOWS - HOW TO FIND OUT IP ADDRESS IN WINDOWS

HOW TO FIND OUT IP ADDRESS IN WINDOWS



STEP BY STEP PRACTICALS - LINUX - HOW TO INSTALL VIM IN LINUX

HOW TO INSTALL VIM IN LINUX



 

STEP BY STEP PRACTICALS - LINUX - HOW TO MOUNT A PARTITION IN LINUX

HOW TO MOUNT A PARTITION IN LINUX

 

 

STEP BY STEP PRACTICALS - LINUX - HOW TO CREATE A PARTITION IN LINUX

HOW TO CREATE A PARTITION IN LINUX





STEP BY STEP PRACTICALS - AZURE - HOW TO CREATE A LINUX SERVER IN AZURE

HOW TO CREATE A LINUX SERVER IN AZURE

 

 

STEP BY STEP PRACTICALS - AZURE - HOW TO CREATE A RESOURCE GROUP,WINDOWS SERVER AND LINUX SERVER IN AZURE

HOW TO CREATE A RESOURCE GROUP,WINDOWS SERVER AND LINUX SERVER IN AZURE

 

 

STEP BY STEP PRACTICALS - AZURE - HOW TO LOGIN INTO AZURE DEVOPS

HOW TO LOGIN INTO AZURE DEVOPS

 

 

STEP BY STEP PRACTICALS - AZURE - HOW TO CREATE A VNET TO VNET PEERING IN AZURE

HOW TO CREATE A VNET TO VNET PEERING IN AZURE

 

 

STEP BY STEP PRACTICALS - AZURE - HOW TO CREATE A WINDOWS SERVER IN AZURE

HOW TO CREATE A WINDOWS SERVER IN AZURE

 

 

STEP BY STEP PRACTICALS - AZURE - HOW TO CREATE A VNET IN AZURE

HOW TO CREATE A VNET IN AZURE

 

 

STEP BY STEP PRACTICALS - AZURE - HOW TO DELETE A SERVER IN AZURE

HOW TO DELETE A SERVER IN AZURE

 

 

STEP BY STEP PRACTICALS - AZURE - HOW TO DELETE A RESOURCE GROUP IN AZURE

HOW TO DELETE A RESOURCE GROUP IN AZURE

 

 

STEP BY STEP PRACTICALS - AZURE - HOW TO CREATE RESOURCE GROUP IN AZURE

HOW TO CREATE RESOURCE GROUP IN AZURE

 

 

Tuesday, 10 March 2020

STEP BY STEP PRACTICALS - ANSIBLE - HOW TO USE COMMAND AND DEBUG MODULE IN ANSIBLE

HOW TO USE COMMAND AND DEBUG MODULE IN ANSIBLE

 

 

STEP BY STEP PRACTICALS - ANSIBLE - HOW TO SET UP HOSTS AND PING MODULE IN ANSIBLE

HOW TO SET UP HOSTS AND PING MODULE IN ANSIBLE

 

 

STEP BY STEP PRACTICALS - LINUX - HOW TO INSTALL AND REMOVE VIM IN LINUX

HOW TO INSTALL AND REMOVE VIM IN LINUX

 

 

STEP BY STEP PRACTICALS - ANSIBLE - HOW TO INSTALL ANSIBLE IN CENT OS 7

HOW TO INSTALL ANSIBLE IN CENT OS 7

 

 

STEP BY STEP PRACTICALS - AWS - HOW TO UPLOAD A FILE IN S3 IN AWS

HOW TO UPLOAD A FILE IN S3 IN AWS

 

 

STEP BY STEP PRACTICALS - AWS - HOW TO CREATE A S3 BUCKET IN AWS

HOW TO CREATE A S3 BUCKET IN AWS

 

 

STEP BY STEP PRACTICALS - AWS - HOW TO REBOOT A SERVER IN AWS

HOW TO REBOOT A SERVER IN AWS

 

 

 

STEP BY STEP PRACTICALS - AWS - HOW TO CREATE A LINUX SERVER IN AWS

HOW TO CREATE A LINUX SERVER IN AWS

 

 

 

STEP BY STEP PRACTICALS - AWS - HOW TO CREATE A WINDOWS SERVER 2016 IN AWS

HOW TO CREATE A WINDOWS SERVER 2016 IN AWS

 

 

STEP BY STEP PRACTICALS - AWS - HOW TO STOP A SERVER IN AWS


HOW TO STOP A SERVER IN AWS

 

 






STEP BY STEP PRACTICALS - AWS - HOW TO START A SERVER IN AWS

HOW TO START A SERVER IN AWS

 

 

STEP BY STEP PRACTICALS - AWS - HOW TO DELETE A VPC IN AWS

HOW TO DELETE A VPC IN AWS

 

 

 

STEP BY STEP PRACTICALS - AWS - HOW TO CREATE A VPC IN AWS

HOW TO CREATE A VPC IN AWS

 

 

Wednesday, 4 March 2020

STEP BY STEP PRACTICALS - ANSIBLE - HOW TO TEST CONNECTIVITY FROM ANSIBLE SERVER TO ANOTHER LINUX SERVER

HOW TO TEST CONNECTIVITY FROM ANSIBLE SERVER TO ANOTHER LINUX SERVER

  

1)  Login to the Ansible Login Server. In my example I have taken a Cent OS 7 Server on which I have installed ansible.

 

 

 

2) Generate the SSH keys on the ansible server by running the below command:-

 

 ssh-keygen -t rsa



3) Now copy the keys to the remote server by running the below command

ssh-copy-id <IP Address>

In my example, I have taken the IP - 192.168.181.13 which is my another linux server.



4) Now I created a host file named linux and in that I have create a group - linux.

I have defined, 1 linux server under that group.

 


5) Now we will check the connection between the Ansible Master Server (192.168.181.12) and Client Server (192.168.181.13). We can test it, by running the below command:-

ansible linux -m ping -i /etc/ansible/Scripts/linux

 

Here in the command:- 

a) ansible linux - It is the name of the group defined in the host file.

b) ping - It is the ping module

c) -m - It is the syntax to use the ping module.

d) -i /etc/ansible/Scripts/linux - It defines the path of the host file named - linux.






Tuesday, 3 March 2020

STEP BY STEP PRACTICALS - ANSIBLE - HOW TO TEST CONNECTIVITY TO ESXI VIA ANSIBLE

Today we will see, how we can connect to ESXi via Ansible and test the ping-pong connectivity.

 

1) Ensble SSH on the ESXi host.

 This can be done by going to the below path:-

Click on Home and select the datacenter - select cluster and then select host.

Now go to configuration on the right hand pane and select Security Profile under - Software.

Select the Security Profile and click on Properties.

In the properties section, run the SSH service (Status to start).

 2) Copy your SSH public key to the ESXi Host.

Run the below command:-

 cat ~/.ssh/id_rsa.pub | ssh root@192.168.181.20 'cat >> /etc/ssh/keys-root/authorized_keys'

Note:- Here the command ssh-copy-id won't work as we are copying it on the ESXi.

 3) Create an host file. In my example, I have created a host file with the name esxi

 4) Run the below command from the server:-

 cat ~/.ssh/id_rsa.pub | ssh root@192.168.181.20 'cat >> /etc/ssh/keys-root/authorized_keys' 

 5) Check the connection by running the below command:-

 

STEP BY STEP PRACTICALS - LINUX - HOW TO EXTEND A LVM IN LINUX

Prerequisists:- Please refer to my earlier blog:- How to create a LVM in Linux

 

 1) Add a disk on the server. In my example, I have added a 2 GB disk on the server.

 

 2) After adding the hard drive on the server, I ran  the below command:-

 echo "- - -" > /sys/class/scsi_host/host0/scan

echo "- - -" > /sys/class/scsi_host/host1/scan

echo "- - -" > /sys/class/scsi_host/host2/scan 

 Then I was able to see the drive on the server:-  

 

3) Now we will create the physical volume.

pvcreate /dev/sdd 


4) We can check the status by running the below command:-

pvs



5) Now we will extend the volume group.

 

6) Now we will extend the logical volume.

 lvextend -L +1.98GB volume1/logicalvolume1 /dev/sdd


7) The last step is to re-size the volume group.

resize2fs /dev/mapper/volume1-logicalvolume1

8) We can check the new size by running the command:-

df -h