How to install windows cluster role step by step

 How to install cluster features 

Login to server -> Open server manager ->click on add Roles and features



Select Role-based or feature-based installation -> Next

Select server from the pool

Don't select anything click next

Select failover cluster -> check mark on include management tools -> click on Add features

Select restart the destination server automatically if required

Do the same on both nodes















How to connect iSCSI disk in client machines

 How to connect iSCSI disk in client machines

Login to client machine -> Open iSCSI initiator

















Enter iSCSI server IP -> click quick connect

Select the iqn that you want to connect and click connect

Do the same on other nodes as well

========================

Open disk management -> Right click and bring it online

Right Click and Initialise it-> Create new volume give Volume label

Now login to other node -> Right click and bring it online














How to create iSCSI disk and assign access to initiator step by step

 

How to create iSCSI disk and assign access to initiator

Login to server -> 


Open Server Manager and select iSCSI


Right click and select new iSCSI Virtual Disk


Check mark on Type a custom path -> Browse -> select path and create folder -> Select folder





Check mark on Type a custom path -> Browse -> select path and create folder -> Select folder




Click next -> Give name -> Next


Assign disk size -> select Dynamically expanding -> Next



Click New iSCSI target




Give Name





Click Add -> select enter a value for the selected type -> select IP Address from drop down -> enter iSCSI initiator IP.

Click create


All done !







How to create host record in DNS

 How to create host record in DNS

Login to server


Open DNS using command dnsmgmt.msc


Click on server name -> expend and click on domain Name -> Right click and select new host


Enter HostName and IP address and check mark on Update associated PTR record

Static host record have been created for both Hyper V nodes.


Ping both servers with Name to check reachability




 





How to install Hyper V roles in Server 2K16

 How to install Hyper V roles in Server 2K16

Login to server -> select Add roles and features


Click Next


Select Role-based or feature-based installation


Check mark on Select a server from the server pool

Select Hyper-V -> One new page will pop up check mark on Include management tools -> Add features


Click Next


Select network that you want to use for vSwitch

Check mark on Allow this server to send and receive live migration of virtual machines

Check mark on Use Credential Security Support Provider CredSSP


Change default location for virtual machine and Hard disk file


Check mark on restart and click on Install








 

















How to Install Nested Hyper-V in VMWare workstation step by step

 

How to Install Nested Hyper-V in VMWare workstation step by step

Deploy 2K12 R2 or 2K16 VMs -> Select VM -> Edit


Select processors and check mark on virtualize intel VT-x/EP and Virtualize CPU performance

Apply and OK

Now go to VM file location -> Open .vmx file in notepad

Open the .vmx file in notepad and add hypervisor.cpuid.v0 = “FALSE” and save this file with the modification. This line will modify the settings and enable the hypervisor for this virtual machine.








PowerShell Scirpt for Vsphere

 

To import the PowerShell modules for VMware from PSGallery

Vsphere esxcli command for deep dive network troubleshooting

Top  ESXI network command for troubleshooting->

esxcli network nic list -> (To collect all connected network details with Name, Driver, Link status, MAC, MTU)

esxcli network nic down -n vmnic0 -> To bring down connected or faulty NIC

esxcli network nic up -n vmnic0 -> To bring up connected or faulty N

esxcli network vswitch standard list -> Command to check standard switch list


esxcli network vswitch standard portgroup list -> To check portgroup created inside the standard switch


esxcli network vswitch dvs vmware list -> Command to list out DVS switch with port group list



esxcli network vm list -> (Command to get VM running on which network, world id)

esxcli network vm port list -w 73276 (VM World ID) -> command to get network port ID, vSwitch, portgorup, MAC, Uplink port ID and IP address


esxcli network port stats get -p 33554440 (Network port ID)-> Command to check pocket sent/received/dropped on network port ID.


esxcli network ip interface list -> Command to get created interface list like (VMk0,vmk1,vmk2) and their port ID

[root@ESXI102:~] esxcli network ip interface list

vmk0

   Name: vmk0

   MAC Address: 00:0c:29:19:f3:7c

   Enabled: true

   Portset: DvsPortset-0

   Portgroup: N/A

   Netstack Instance: defaultTcpipStack

   VDS Name: vDSwitch

   VDS UUID: 50 2c 4b af 80 5c 2d 29-82 c7 a0 74 b6 f3 5f b5

   VDS Port: 22

   VDS Connection: 290654427

   Opaque Network ID: N/A

   Opaque Network Type: N/A

   External ID: N/A

   MTU: 1500

   TSO MSS: 65535

   Port ID: 50331654

 

vmk1

   Name: vmk1

   MAC Address: 00:50:56:60:4d:58

   Enabled: true

   Portset: DvsPortset-0

   Portgroup: N/A

   Netstack Instance: defaultTcpipStack

   VDS Name: vDSwitch

   VDS UUID: 50 2c 4b af 80 5c 2d 29-82 c7 a0 74 b6 f3 5f b5

   VDS Port: 7

   VDS Connection: 290820540

   Opaque Network ID: N/A

   Opaque Network Type: N/A

   External ID: N/A

   MTU: 1500

   TSO MSS: 65535

   Port ID: 50331655

 

vmk2

   Name: vmk2

   MAC Address: 00:50:56:6c:88:09

   Enabled: true

   Portset: vSwitch0

   Portgroup: VSS_MGMT

   Netstack Instance: defaultTcpipStack

   VDS Name: N/A

   VDS UUID: N/A

   VDS Port: N/A

   VDS Connection: -1

 

 

 

esxcli network port stats get -p 50331655 (Network interface port ID) Command to get packets received/send/dropped on interface (vmk0/1/2) level

esxcli network diag ping -H 192.168.1.101  (-H is host name or IP) -> Command to diagnose connectivity between two ESXI host.

Trace:

         Received Bytes: 64

         Host: 192.168.1.101

         ICMP Seq: 0

         TTL: 64

         Round-trip Time: 1898 us

         Dup: false

         Detail:

 

         Received Bytes: 64

         Host: 192.168.1.101

         ICMP Seq: 1

         TTL: 64

         Round-trip Time: 1709 us

         Dup: false

         Detail:

 

         Received Bytes: 64

         Host: 192.168.1.101

         ICMP Seq: 2

         TTL: 64

         Round-trip Time: 1581 us

         Dup: false

         Detail:

   Summary:

         Host Addr: 192.168.1.101

         Transmitted: 3

         Recieved: 3

         Duplicated: 0

         Packet Lost: 0

         Round-trip Min: 1580 us

         Round-trip Avg: 1729 us

         Round-trip Max: 1897 us


vim-cmd hostsvc/net/query_networkhint --pnic-name=vmnic0 -> To list out CDP port details from cli



Featured Post

HPE MSA 2040 configuration step by step

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