MrSiddiqui's Posts

Hi Continuum, Thanks for responding. yes i am using thin provisioned disks. Can you explain VIRTUAL DISK REQUEST SIZE is it referring to data written by VM or ESXi host..? also why these ar... See more...
Hi Continuum, Thanks for responding. yes i am using thin provisioned disks. Can you explain VIRTUAL DISK REQUEST SIZE is it referring to data written by VM or ESXi host..? also why these are always around 500,000kbs..? I have tried various block sizes from 4k to 1G but VIRTUAL DISK REQUEST SIZE is same every time. Thanks
Hi Guys, Need your help to understand relation between Virtual Disk Write\Read Request Size and block size to test VM throughput and disk performance. I am using dd to benchmark VM disk perfo... See more...
Hi Guys, Need your help to understand relation between Virtual Disk Write\Read Request Size and block size to test VM throughput and disk performance. I am using dd to benchmark VM disk performance and in process have noted that no matter which combination of block size i use i am always getting average write request size of ~500kbytes. Rest of the time its either 0 or 4k, 8k etc. Also pls guide ho can I get disk throughtput  IOPS of a VM. Below is the snapshot from my TEST VM and vSPhere chart. ** dd commands and spikes in graph are related.
Dear Friends, Need some assistance as i am facing strange issue with NSX Loadbalancer. LB answer the TCP SYN packet from client but it closes the connection as soon as the first SSL/TLS hand s... See more...
Dear Friends, Need some assistance as i am facing strange issue with NSX Loadbalancer. LB answer the TCP SYN packet from client but it closes the connection as soon as the first SSL/TLS hand shake is sent, so the https connection couldn't be established. I am able to connect to individual POOL servers (XXX.XXX.XXX.23) using CURL but unable to connect to LB VIP (XXX.XXX.182.4). Attached is the snap from one Outside server depicting the same. Kindly assist as the LB config is straight forward and i am unable to resolve the issue LB Config: Type: HTTPS Port:443 Persistence: SSL SessionID Algorithm: LeastConnection Transparent Mode enabled SSL PassThrouh Enabled Monitor: HTTPS Below is the infrastructure details. vCloud Director 9.0 NSX 6.2 vcenter 6.5
Dears, Can anyone let me know the command to list VM Name IPs and associated MAC address of VMs in a VAPP. I need this information as i need to migrate VApps between vCloud directors. VM Na... See more...
Dears, Can anyone let me know the command to list VM Name IPs and associated MAC address of VMs in a VAPP. I need this information as i need to migrate VApps between vCloud directors. VM Name | IP#1 | Mac#1 | IP#2 | Mac#2 Thanks
Hi Guys, Can anyone guide me how to make it work. Thanks
Dear Friends, Need some help to modify\update below script to add a MAC Address Column in front of each NICs IP. It is a simple script which connects to vCloud Director, asks for VAPP and provi... See more...
Dear Friends, Need some help to modify\update below script to add a MAC Address Column in front of each NICs IP. It is a simple script which connects to vCloud Director, asks for VAPP and provides details abut it like VM info, Org Networks etc etc. Attached please find the CSV generated by the script and also sample what i am looking forward to add in it. Below is the the script which i am using so far to update my CMDB. =========================================================== function exportTRS{ try { # $date = (Get-Date).ToString("s").Replace(":","-")   $excel = New-Object -ComObject Excel.Application   $excel.Visible = $false   $workbook = $excel.Workbooks.Add()   $sheet = $workbook.ActiveSheet $sheet.Name = 'AS Built'   $range1 = $sheet.range("1:1") $range1.Cells.Interior.ColorIndex =1  $range1.Cells.font.bold = $true $range1.Cells.Font.ColorIndex = 46 $range1.Cells.HorizontalAlignment = -4108   $sheet.Cells.Item(1,1) = 'OrgVDC Name' $sheet.Cells.Item(1,2) = 'vApp Name' $sheet.Cells.Item(1,3) = 'Server Name' $sheet.Cells.Item(1,4) = 'eth0' $sheet.Cells.Item(1,5) = 'eth1' $sheet.Cells.Item(1,6) = 'eth2' $sheet.Cells.Item(1,7) = 'vCPU' $sheet.Cells.Item(1,8) = 'Memory' $sheet.Cells.Item(1,9) = 'Storage' $sheet.Cells.Item(1,10) = 'Guest OS Name'     $range3 = $sheet.range("2:2") $range3.Cells.Interior.ColorIndex = 56 $range3.Cells.Font.ColorIndex = 2 $range3.Cells.HorizontalAlignment = -4108   $sheet.Cells.Item(2,4) = 'Prod' $sheet.Cells.Item(2,5) = 'Nic2' $sheet.Cells.Item(2,6) = 'Nic3'     $range2 = $sheet.range("50:50") $range2.Cells.Interior.ColorIndex =1  $range2.Cells.font.bold = $true $range2.Cells.Font.ColorIndex = 46 $range2.Cells.HorizontalAlignment = -4108 $sheet.Cells.Item(50,1) = 'OrgVDCs networks connected' $sheet.Cells.Item(50,2) = 'Gateway' $sheet.Cells.Item(50,3) = 'Subnet Mask'     #$column = 1 $row = 3 $nume_VAPP = read-host "Please Enter the Name of the VAPP" write-host "Getting vApp Properties for $nume_VAPP" $vapp = Get-CIVApp -Name $nume_VAPP $orgtemp = $vapp.Org.Name $name = $nume_VAPP   $date = (Get-Date).ToString("d")   write-host "Searching for organization $orgtemp" $Org = Search-Cloud -QueryType Organization -Name "$orgtemp"; write-host "Searching for organization VDC with $($Org.id)" $aOvdcs = Search-Cloud -QueryType AdminOrgVdc -Filter "org==$($Org.id)"; $aVApps = Search-Cloud -QueryType AdminVApp -Filter "Name==$name"; $VappOrgID = $aVApps.PropertyList.Vdc $OrgName = Get-OrgVDC -ID $VappOrgID   Write-host "Getting VM information" $vms = Get-CIVM -VApp $nume_VAPP #$vms = search-cloud -querytype Adminvm -Filter "container==$($vapp.id)"   foreach ($vm in $vms ){ $hardware = $vm.ExtensionData.GetVirtualHardwareSection() $diskMB = (($hardware.Item | where {$_.resourcetype.value -eq "17"}) | %{$_.hostresource[0].anyattr[0]."#text"} |    Measure-Object -Sum).sum $diskGB = ($diskMB/1024) $column = 1 $adapters = Get-CINetworkAdapter -VM $vm $sortadapters = $adapters | Sort-Object $sheet.cells.Item($row,$column) = $OrgName.Name $column++ $sheet.cells.Item($row,$column) = $vm.VApp.Name $column++ $sheet.cells.Item($row,$column) = $vm.Name $column++ $sheet.cells.Item($row,$column) = $sortadapters[0].IPAddress.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $sortadapters[1].IPAddress.IPAddressToString $column++         $sheet.cells.Item($row,$column) = $sortadapters[2].IPAddress.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $vm.CpuCount $column++ $sheet.cells.Item($row,$column) = $vm.memoryGB $column++ $sheet.cells.Item($row,$column) = $diskGB $column++ $sheet.cells.Item($row,$column) = $vm.GuestOSFullName $row++ }     $net = Get-CIVAppNetwork -VApp $nume_VAPP $row = 51 $column = 1 $sheet.cells.Item($row,$column) = $net[0].Name $column++ $sheet.cells.Item($row,$column) = $net[0].Gateway.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $net[0].Netmask.IPAddressToString $column = 1 $row++ $sheet.cells.Item($row,$column) = $net[1].Name $column++ $sheet.cells.Item($row,$column) = $net[1].Gateway.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $net[1].Netmask.IPAddressToString $column = 1 $row++ $sheet.cells.Item($row,$column) = $net[2].Name $column++ $sheet.cells.Item($row,$column) = $net[2].Gateway.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $net[2].Netmask.IPAddressToString $column = 1   $objRange = $sheet.UsedRange [void] $objRange.EntireColumn.Autofit()   $filename = "C:\Work\ASB_$name.xlsx" $workbook.SaveAs($filename) $excel.Quit() } catch {   Write-Warning $_.Exception.Message } } connect-ciserver XXXXXXXX -User XXXXXXX -Password XXXXXXXX exportTRS function exportTRS{ try { # $date = (Get-Date).ToString("s").Replace(":","-")   $excel = New-Object -ComObject Excel.Application   $excel.Visible = $false   $workbook = $excel.Workbooks.Add()   $sheet = $workbook.ActiveSheet $sheet.Name = 'AS Built'   $range1 = $sheet.range("1:1") $range1.Cells.Interior.ColorIndex =1  $range1.Cells.font.bold = $true $range1.Cells.Font.ColorIndex = 46 $range1.Cells.HorizontalAlignment = -4108   $sheet.Cells.Item(1,1) = 'OrgVDC Name' $sheet.Cells.Item(1,2) = 'vApp Name' $sheet.Cells.Item(1,3) = 'Server Name' $sheet.Cells.Item(1,4) = 'eth0' $sheet.Cells.Item(1,5) = 'eth1' $sheet.Cells.Item(1,6) = 'eth2' $sheet.Cells.Item(1,7) = 'vCPU' $sheet.Cells.Item(1,8) = 'Memory' $sheet.Cells.Item(1,9) = 'Storage' $sheet.Cells.Item(1,10) = 'Guest OS Name'     $range3 = $sheet.range("2:2") $range3.Cells.Interior.ColorIndex = 56 $range3.Cells.Font.ColorIndex = 2 $range3.Cells.HorizontalAlignment = -4108   $sheet.Cells.Item(2,4) = 'Prod' $sheet.Cells.Item(2,5) = 'Nic2' $sheet.Cells.Item(2,6) = 'Nic3'     $range2 = $sheet.range("50:50") $range2.Cells.Interior.ColorIndex =1  $range2.Cells.font.bold = $true $range2.Cells.Font.ColorIndex = 46 $range2.Cells.HorizontalAlignment = -4108 $sheet.Cells.Item(50,1) = 'OrgVDCs networks connected' $sheet.Cells.Item(50,2) = 'Gateway' $sheet.Cells.Item(50,3) = 'Subnet Mask'     #$column = 1 $row = 3 $nume_VAPP = read-host "Please Enter the Name of the VAPP" write-host "Getting vApp Properties for $nume_VAPP" $vapp = Get-CIVApp -Name $nume_VAPP $orgtemp = $vapp.Org.Name $name = $nume_VAPP   $date = (Get-Date).ToString("d")   write-host "Searching for organization $orgtemp" $Org = Search-Cloud -QueryType Organization -Name "$orgtemp"; write-host "Searching for organization VDC with $($Org.id)" $aOvdcs = Search-Cloud -QueryType AdminOrgVdc -Filter "org==$($Org.id)"; $aVApps = Search-Cloud -QueryType AdminVApp -Filter "Name==$name"; $VappOrgID = $aVApps.PropertyList.Vdc $OrgName = Get-OrgVDC -ID $VappOrgID   Write-host "Getting VM information" $vms = Get-CIVM -VApp $nume_VAPP #$vms = search-cloud -querytype Adminvm -Filter "container==$($vapp.id)"   foreach ($vm in $vms ){ $hardware = $vm.ExtensionData.GetVirtualHardwareSection() $diskMB = (($hardware.Item | where {$_.resourcetype.value -eq "17"}) | %{$_.hostresource[0].anyattr[0]."#text"} |    Measure-Object -Sum).sum $diskGB = ($diskMB/1024) $column = 1 $adapters = Get-CINetworkAdapter -VM $vm $sortadapters = $adapters | Sort-Object $sheet.cells.Item($row,$column) = $OrgName.Name $column++ $sheet.cells.Item($row,$column) = $vm.VApp.Name $column++ $sheet.cells.Item($row,$column) = $vm.Name $column++ $sheet.cells.Item($row,$column) = $sortadapters[0].IPAddress.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $sortadapters[1].IPAddress.IPAddressToString $column++         $sheet.cells.Item($row,$column) = $sortadapters[2].IPAddress.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $vm.CpuCount $column++ $sheet.cells.Item($row,$column) = $vm.memoryGB $column++ $sheet.cells.Item($row,$column) = $diskGB $column++ $sheet.cells.Item($row,$column) = $vm.GuestOSFullName $row++ }     $net = Get-CIVAppNetwork -VApp $nume_VAPP $row = 51 $column = 1 $sheet.cells.Item($row,$column) = $net[0].Name $column++ $sheet.cells.Item($row,$column) = $net[0].Gateway.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $net[0].Netmask.IPAddressToString $column = 1 $row++ $sheet.cells.Item($row,$column) = $net[1].Name $column++ $sheet.cells.Item($row,$column) = $net[1].Gateway.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $net[1].Netmask.IPAddressToString $column = 1 $row++ $sheet.cells.Item($row,$column) = $net[2].Name $column++ $sheet.cells.Item($row,$column) = $net[2].Gateway.IPAddressToString $column++ $sheet.cells.Item($row,$column) = $net[2].Netmask.IPAddressToString $column = 1   $objRange = $sheet.UsedRange [void] $objRange.EntireColumn.Autofit()   $filename = "C:\Work\ASB_$name.xlsx" $workbook.SaveAs($filename) $excel.Quit() } catch {   Write-Warning $_.Exception.Message } } connect-ciserver XXXXXXXX -User XXXXXXX -Password XXXXXXXX exportTRS
Dear, My question is Can .VMDK size exceeds size of individual Datastore but less than combined size of Datastore Cluster?. Scenario: vsphere 6.5 # of Datastores= 2 size of each datastor... See more...
Dear, My question is Can .VMDK size exceeds size of individual Datastore but less than combined size of Datastore Cluster?. Scenario: vsphere 6.5 # of Datastores= 2 size of each datastore= 16TB # Datastore Cluster= 1 Size of datastore cluster= 32TB (16TB+16TB) VM=1 size of VMDK= 32TB .?  Is it possible. Thanks
Hi vervoort, Thanks for the article i have gone through it and tried everything as explained but still VMs WWN is not showing in the fabric.. The only time they are visible for brief period o... See more...
Hi vervoort, Thanks for the article i have gone through it and tried everything as explained but still VMs WWN is not showing in the fabric.. The only time they are visible for brief period of time is when i add an RDM to VM. Best Regards
Hi Friends, Need some help as i'm trying to map FC LUNs directly to the Virtual Machines for this i have enabled NPIV in EDIT SETTINGS of the VM and there are WWNs\WWPNs assigned to VM. Now t... See more...
Hi Friends, Need some help as i'm trying to map FC LUNs directly to the Virtual Machines for this i have enabled NPIV in EDIT SETTINGS of the VM and there are WWNs\WWPNs assigned to VM. Now these WWNs are not shown in the FC fabric hence i can not zone it with the SAN and present a LUN.. The only time these WWNs are visible for brief period of time is when i attached an RDM to the VM and after some time they are again gone. For ref please see attached diagram..! Details: ===== 1: B1/B2 brocade 6505(FOS 7.2.0a) IO Modules in ACCESS GATEWAY MODE. 2: ToR01/ToR02 Brocade 6505 (FOS 7.2.0a) in NATIVE SWITCH MODE. 3: NPIV is enabled end to end. 4: Qlogic 2662 16Gig FC HBA in blade servers. qlnativefc driver loaded in ESXi 5.5. 5: ESXi and vcenter version is 5.5.0. 6: EMC VMAX 10k FC SAN 7: Dell 1000e bladechassis Please help and guide.. Thanks
Hi Friends, I am currently facing a problem where ESXi 4.1 host is not booting properly and after providing Username and psw throws me back with the following error "error interacting with config... See more...
Hi Friends, I am currently facing a problem where ESXi 4.1 host is not booting properly and after providing Username and psw throws me back with the following error "error interacting with configuration file etc/vmware/esx.conf unable to create for open a log file lock    failed with reason read only file system" ... hence the server is unavailable in vCenter and im unable to add it back in the cluster.. What happened was the MotherBoard of the server was changed and when i rebooted the server i was presented with this above error. Please advice how can i get over it...
Hi Friends, I am currently facing a problem where ESXi 4.1 host is not booting properly and after providing Username and psw throws me back with the following error "error interacting with config... See more...
Hi Friends, I am currently facing a problem where ESXi 4.1 host is not booting properly and after providing Username and psw throws me back with the following error "error interacting with configuration file etc/vmware/esx.conf unable to create for open a log file lock    failed with reason read only file system" What happened was the MotherBoard of the server was changed and when i rebooted the server i was presented with this above error. Please advice how can i get over it... Best regards
Hi Tom, I have connected both vNICS to port grop "VLAN_200".. and was UNABLE to ping both PUB and Private subnets... When i connect both to default VM network i am ABLE to ping both pub and p... See more...
Hi Tom, I have connected both vNICS to port grop "VLAN_200".. and was UNABLE to ping both PUB and Private subnets... When i connect both to default VM network i am ABLE to ping both pub and private subnets.
Hi Tom, Yes VLAN 200 is confiigued in the external network and i am able to Ping the machines in Public subnet  and also LAN subnet  ONLY when both the vNICS are connected to "Default VM Netwo... See more...
Hi Tom, Yes VLAN 200 is confiigued in the external network and i am able to Ping the machines in Public subnet  and also LAN subnet  ONLY when both the vNICS are connected to "Default VM Network" port group....
Guys where are youuuuuuuuuuuuuu...................   ???
Hi Guys... Scnerio: Esxi 5.0 Vcenter 5.0 2 Lan cards connected to vswitich 0 in Active\Active configuration. VM Name: FSAPP_1 Note: proper VLAN are created in EXTERNAL NETWORK I ha... See more...
Hi Guys... Scnerio: Esxi 5.0 Vcenter 5.0 2 Lan cards connected to vswitich 0 in Active\Active configuration. VM Name: FSAPP_1 Note: proper VLAN are created in EXTERNAL NETWORK I have Created another VM Network port group for VLAN 200_VM Network. I have attached TWO LAN cards to VM. One LAN card is connected to default VM Network port group and another one is connected to VLAN200_VM Network. One LAN card is connected to LAN (Private IP) and another one is connected to WAN (Public IP) .. IF I CONNECT BOTH VMNICS TO "DEFAULT VM NETWORK" i am able to ping both subnets. But any vNIC that is connected to VLAN200_VM Network is NOT Working.. Please see the attached snapsshots... Thanks
Hi JD... please see the attached snapshot.. i have created one vmnetwork (portgroup2) and associated with a vlan.. then i have mapped seconf vNic of VM to portgroup2.. next i will have conf... See more...
Hi JD... please see the attached snapshot.. i have created one vmnetwork (portgroup2) and associated with a vlan.. then i have mapped seconf vNic of VM to portgroup2.. next i will have configured these vlans in external switch.. and instead of adding 2 NICs can assign 2 ips from vlam3oo and vlan1 on a single NIC? Regadrs
Hi jd Thanks for this sample config.. can you please also guide me how can i make a VM access different subnets.. for eg. ISA server whose one NIC has Public and other NIC has private IP addre... See more...
Hi jd Thanks for this sample config.. can you please also guide me how can i make a VM access different subnets.. for eg. ISA server whose one NIC has Public and other NIC has private IP address.. regards
how can i make NIC 1 of my VM connected to a specific port group, also i only have 2 ports will the port groups share both NICS? since there would be more port groups thn the physical NICs? I... See more...
how can i make NIC 1 of my VM connected to a specific port group, also i only have 2 ports will the port groups share both NICS? since there would be more port groups thn the physical NICs? I would greatly appreciate it if you can share the steps on how to configure ports gropus and associate them with VLANs then connecting my VMs NICs to appropriate port groups. As i am a bit confused at the moment after going through tutorials on the web. Thanks
Hi Friends, I need some help regarding the configuration of vsphere networking which i am currently doing in  project. Scnerio:      vSphere 5.0U2 1: 3 ESXi hosts (Dual port FC card 8... See more...
Hi Friends, I need some help regarding the configuration of vsphere networking which i am currently doing in  project. Scnerio:      vSphere 5.0U2 1: 3 ESXi hosts (Dual port FC card 8gig for SAN and Dual port NIC 1gig for LAN) 2: Dell Compellent Unified storage 3: vCenter server (Dual port FC card 8gig for SAN and Dual port NIC 1gig for LAN) 4: There are subnets and VLANs listed below      a: 4005  192.168.1.0      b: 4004   192.168.2.0      c: mgmt  192.168.3.0      d: 300   192.168.4.0      e: 100(public)   Live IP      f:   200(public)  Live IP All these VLANS are configured and in use in my physical enviornment As per my understanding: I will have to add at least 2 NIC cards in my VMs. By how would i point it to the appropriate network/Vlan so that it can talk to my external enviornment and how can i configure these VLANs and make my VMs(P2V conversion of my current machines) to my external network?
Hi emaad, thanks for your response. I have relicated the volumes to DR storage... And i likes the STANDALONE RELICATION feature which you mentioned.... i have ESX 4.1 at primary site is it ... See more...
Hi emaad, thanks for your response. I have relicated the volumes to DR storage... And i likes the STANDALONE RELICATION feature which you mentioned.... i have ESX 4.1 at primary site is it possible to use this feature in this case? please elaborate it as it seems an easy and effective way... Else what i have planned is that i will install vCenter 5.0 along with two ESXi hosts at DR site and mount all the datastores in vcenter server. in case of any disaster will bring all the machines up manually..