Esxcli command to Upgrade ESXI host to VMware ESXi, 7.0.3, 18644231

You can upgrade using VUM, ISO or ESXCLI

Here I am going to do this using ESXCLI

I am using HPE custom ISO, you can download an offline bundle from VMware.

Before upgrade

Steps to upgrade ESXi-7.0.3-18644231

Download offline bundle in .zip file from VMware portal

Open ESXI using web console

Login to ESXI using root credentials

Browse local Datastore

Upload this file in local datastore

Connect ESXI host using Putty

Run below command to see current Image profile

esxcli software sources profile list -d (Offline bundle path) like below

esxcli software sources profile list -d  /vmfs/volumes/5bafd178-826d6f1a-bfec-00fd4548fbe0/’

Output will be like below

Now run below command to update ESXI host

esxcli software profile update -d /vmfs/volumes/5bafd178-826d6f1a-bfec-00fd4548fbe0/ -p HPE-Custom-AddOn_703.

Once command will complete you will see Message: The update completed successfully like below

Reboot the host and post reboot you can see the host is updated.

After upgrade

Azure Public IP Address Associate and Dissociate# Create, Modify and Delete

Public IP Address -: Public IP addresses allow Internet resources to communicate inbound to Azure resources. Public IP addresses enable Azure resources to communicate to Internet and public-facing Azure services.

Public IP Address -> Login to Azure Portal -> Search for Public IP Address

Click Create

Public IP Address assignment criteria 

Virtual Machine -> We can assign Public IP in both way either Dynamic or Static

VPN Gateway -> Dynamic Public IP Address assignment is possible on Application Gateway.

Below chart for Public IP Address assignment on applications

Click Create Public IP Address 

Select IPv4

Select SKU Type Standard or Basic.

Note -: If you select Basic SKU then you can assign Static or Dynamic Public IP on VMs,  if you select Standard SKU then you can assign Static public IP address.

Below  chart for Basic and Standard SKU 

Select Tier for Regional and Global.

Give name for Public IP Configuration.

Here I am selecting Basic SKU - You will see both Static and Dynamic IP assignment is highlighted 

Give DNS name label -> Always in small letter

An "A record" that starts with the specified label and resolves to this public IP address will be registered with the Azure-provided DNS servers. Example:

Select Subscription

Select Resource Group

Select location

Click Create

New Public IP "PublicIP_Raju" has created.

How to assign Public IP address to Network interface or loadbalancer

Click on newly created Public IP -> PublicIP_Raju

Click Associate -> 

Select Load balancer or Network Interface from the drop down

Once you select Network Interface you will see a list of the network interface created in the location, select from one of them.

To delete Created  public IP in Azure

Login to Azure Portal

Search for Created public IP

Open created public IP

Click on Dissociate -> Select Yes

Now it is not Associated to any of the network or load balancer

Now it has successfully Deleted 


Virtual machine deployment in Azure Using Azure Portal

 Checklist before creating the VM.

1. Start with the network

2. Name the VM

3. Decide the location for the VM

4. Determine the size of the VM

5. Understanding the pricing model

6. Storage for the VM

7. Select an operating system

How to create Virtual machine in Azure using Azure Portal

Login to Azure Portal -> Click Virtual Machine

Click Create

Select Subscription

Resource Group

Virtual Machine Name


Select Operating system and Size -> Price will applicable as per the assigned size

Enter User Name and password

Create Inbound port rule -> If you want to enable RDP port select RDP 3389 port allow.

Click next Disk type -> 

Select the Disk type for OS and LUN for Data disk

Note-: If you are deploying VM using without any storage disk, one temp disk will add default and you can store your data in temp drive but when you will Power Off the VM data will wipe from temp disk

Click Networking

You will see a couple of Subnets inside the Virtual Network-> Select one of them from the list.

I am leaving other options default 

Click Review + Create

Click Create

VM Deployment is in progress.

Now VM Deployment has completed.

Click Connect -> Select RDP Or you can use MSTSC and enter public IP to connect

Download RDP file

Click Connect

Enter User ID and Password

Now you will see OS disk and Temporary Storage D drive

Azure Networking # Azure VNets Create

 Azure VNet

Virtual networks (VNets) are used in Azure to provide private connectivity between Azure Virtual Machines and other Azure services. VMs and services that are part of the same virtual network can access one another. By default, services outside the virtual network cannot connect to services within the virtual network. You can, however, configure the network to allow access to the external service, including your on-premises servers.

Create VNet in Azure using Azure Portal.

Login to Azure portal using your subscription ID

Click Virtual Network.

Click create

Click IP Addresses and Enter IP Address

Click Add Subnet -> Give the subnet Name and range.

Subnet range must be from same IP range

Click Security -> Here I am leaving default; you can change as per your requirement.

Click Tag -> Update the Tag that you want like owner, department

Click Review + Create

Click Create

Now go to Virtual network and you will see newly created VNet.

If you want to create more subnet in VNet_Raju, Open the VNet and click Subnets 

Click Add Subnet and assign CIDR range.

Note -: When you deploy a new VM, you need to select VNet_Raju Network and inside the network you will see multiple Subnets that you have created.

Select the correct required subnet from the list.

ARM Viz Tool # JSON Script Visualize

 ARM Viz Tool -> ARM Viz Tool we use to visualize JSON templates. JSON template is written in script and it’s not so much easy to read all those things before deployment and you are not sure what is going to deploy unless you don’t read all the scripts, for that you can use ARM Viz Tool to convert JSON code into GUI to check main parameters & Variables.

How to convert JSON script into ARM Viz Tool.

Download the JSON template and keep it in the local machine.

Open ARM Viz Tool using below URL.

Click on File -> Open Local Template

Browse the path and open the JSON template.

Once you will open the template in ARM Viz Tool -> you will see screen like below.

Click on MyVMName to see what is written in the JSON script.

Once you click on MyVMName you will see all the computer related parameters.

Similarly, once you click on myVMNIc you will see all the related Parameters.

So, you can review those parameters, Variables and change them. So, no need to read all the JSON script.

Featured Post

HPE MSA 2040 configuration step by step

HPE MSA 2040 configuration Default IP range for HP SAN storage MSA 2040 is You need to connect your laptop and storage with...