sunhux
asked on
Command / ways to check LUN is presented to ESXi host
We just set up a couple of ESXi 5.0 hosts & have the fibre channel
connections set up to the FC switches. EMC has zoned/presented
a LUN to the servers.
It's going to take quite a while before we have access to vCenter
as the network connectivity is pending approval which will take
quite a while.
Q1:
In the meantime, how can we verify the LUN is now visible /
accessible to the ESXi hosts?
Q2:
I've tried out the commands below & then issue UNIX command
"df" or "df -k" but don't see a new partition being mounted. So
what did I miss? :
To rescan all HBAs:
esxcli storage core adapter rescan --all
To rescan a specific HBA:
esxcli storage core adapter rescan --adapter <vmkernel SCSI adapter name>
(in my hosts, it's vmhba1 & vmhba2 )
Where <vmkernel SCSI adapter name> is the vmhba# to be rescanned. To get a
list of all adapters, run the esxcli storage core adapter list command.
To search for new VMFS datastores, run this command:
vmkfstools -V
connections set up to the FC switches. EMC has zoned/presented
a LUN to the servers.
It's going to take quite a while before we have access to vCenter
as the network connectivity is pending approval which will take
quite a while.
Q1:
In the meantime, how can we verify the LUN is now visible /
accessible to the ESXi hosts?
Q2:
I've tried out the commands below & then issue UNIX command
"df" or "df -k" but don't see a new partition being mounted. So
what did I miss? :
To rescan all HBAs:
esxcli storage core adapter rescan --all
To rescan a specific HBA:
esxcli storage core adapter rescan --adapter <vmkernel SCSI adapter name>
(in my hosts, it's vmhba1 & vmhba2 )
Where <vmkernel SCSI adapter name> is the vmhba# to be rescanned. To get a
list of all adapters, run the esxcli storage core adapter list command.
To search for new VMFS datastores, run this command:
vmkfstools -V
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot Hanccocka. 2 more questions:
Q1:
is it possible to use VMware vSphere Client to clone
VMs and after VMs have been created, assuming I don't
have approval to connect to Production network yet, can
I just plug in laptops to the built-in BNT Nortel switches
(that comes built-in with the IBM Bladecenter) for our
applications/programming chaps to Rdp to those VMs?
We're behind time, so need the apps guys to start work
soon as the approval to connect to production network
will take a while.
Q2:
from "esxcfg-mpath -l" outputs below, I suppose VMHBA2
& VMHBA1 can now detect the LUN? Anyway to tell the
size of the LUN?
I'll go with bluedan's suggestion to use VMware vSphere Client
later
========================== ===
/vmfs/volumes/51504c2e-5e2 e1734-ff49 -000af70d4 520 # esxcfg-mpath -l
fc.20000090fa0b7d5f:100000 90fa0b7d5f -fc.500009 74c00c1000 :50000974c 00c111c-na a.60000970 0002949007 7253303030 3243
Runtime Name: vmhba2:C0:T0:L0
Device: naa.6000097000029490077253 3030303243
Device Display Name: EMC Fibre Channel Disk (naa.600009700002949007725 3303030324 3)
Adapter: vmhba2 Channel: 0 Target: 0 LUN: 0
Adapter Identifier: fc.20000090fa0b7d5f:100000 90fa0b7d5f
Target Identifier: fc.50000974c00c1000:500009 74c00c111c
Plugin: NMP
State: active
Transport: fc
Adapter Transport Details: WWNN: 20:00:00:90:fa:0b:7d:5f WWPN: 10:00:00:90:fa:0b:7d:5f
Target Transport Details: WWNN: 50:00:09:74:c0:0c:10:00 WWPN: 50:00:09:74:c0:0c:11:1c
fc.20000090fa0b7d5f:100000 90fa0b7d5f -fc.500009 74c00c1000 :50000974c 00c111c-na a.60000970 0002949007 7253303035 3232
Runtime Name: vmhba2:C0:T0:L1
Device: naa.6000097000029490077253 3030353232
Device Display Name: EMC Fibre Channel Disk (naa.600009700002949007725 3303035323 2)
Adapter: vmhba2 Channel: 0 Target: 0 LUN: 1
Adapter Identifier: fc.20000090fa0b7d5f:100000 90fa0b7d5f
Target Identifier: fc.50000974c00c1000:500009 74c00c111c
Plugin: NMP
State: active
Transport: fc
Adapter Transport Details: WWNN: 20:00:00:90:fa:0b:7d:5f WWPN: 10:00:00:90:fa:0b:7d:5f
Target Transport Details: WWNN: 50:00:09:74:c0:0c:10:00 WWPN: 50:00:09:74:c0:0c:11:1c
sas.5005076023c15998-sas.1 19bfbf7630 31d-naa.60 0508e00000 00001d0363 f7fb9b1100
Runtime Name: vmhba0:C1:T2:L0
Device: naa.600508e0000000001d0363 f7fb9b1100
Device Display Name: LSILOGIC Serial Attached SCSI Disk (naa.600508e0000000001d036 3f7fb9b110 0)
Adapter: vmhba0 Channel: 1 Target: 2 LUN: 0
Adapter Identifier: sas.5005076023c15998
Target Identifier: sas.119bfbf763031d
Plugin: NMP
State: active
Transport: sas
Adapter Transport Details: 5005076023c15998
Target Transport Details: 119bfbf763031d
fc.20000090fa0b7d5e:100000 90fa0b7d5e -fc.500009 74c00c1000 :50000974c 00c1118-na a.60000970 0002949007 7253303030 3243
Runtime Name: vmhba1:C0:T0:L0
Device: naa.6000097000029490077253 3030303243
Device Display Name: EMC Fibre Channel Disk (naa.600009700002949007725 3303030324 3)
Adapter: vmhba1 Channel: 0 Target: 0 LUN: 0
Adapter Identifier: fc.20000090fa0b7d5e:100000 90fa0b7d5e
Target Identifier: fc.50000974c00c1000:500009 74c00c1118
Plugin: NMP
State: active
Transport: fc
Adapter Transport Details: WWNN: 20:00:00:90:fa:0b:7d:5e WWPN: 10:00:00:90:fa:0b:7d:5e
Target Transport Details: WWNN: 50:00:09:74:c0:0c:10:00 WWPN: 50:00:09:74:c0:0c:11:18
fc.20000090fa0b7d5e:100000 90fa0b7d5e -fc.500009 74c00c1000 :50000974c 00c1118-na a.60000970 0002949007 7253303035 3232
Runtime Name: vmhba1:C0:T0:L1
Device: naa.6000097000029490077253 3030353232
Device Display Name: EMC Fibre Channel Disk (naa.600009700002949007725 3303035323 2)
Adapter: vmhba1 Channel: 0 Target: 0 LUN: 1
Adapter Identifier: fc.20000090fa0b7d5e:100000 90fa0b7d5e
Target Identifier: fc.50000974c00c1000:500009 74c00c1118
Plugin: NMP
State: active
Transport: fc
Adapter Transport Details: WWNN: 20:00:00:90:fa:0b:7d:5e WWPN: 10:00:00:90:fa:0b:7d:5e
Target Transport Details: WWNN: 50:00:09:74:c0:0c:10:00 WWPN: 50:00:09:74:c0:0c:11:18
/vmfs/volumes/51504c2e-5e2 e1734-ff49 -000af70d4 520 #
Q1:
is it possible to use VMware vSphere Client to clone
VMs and after VMs have been created, assuming I don't
have approval to connect to Production network yet, can
I just plug in laptops to the built-in BNT Nortel switches
(that comes built-in with the IBM Bladecenter) for our
applications/programming chaps to Rdp to those VMs?
We're behind time, so need the apps guys to start work
soon as the approval to connect to production network
will take a while.
Q2:
from "esxcfg-mpath -l" outputs below, I suppose VMHBA2
& VMHBA1 can now detect the LUN? Anyway to tell the
size of the LUN?
I'll go with bluedan's suggestion to use VMware vSphere Client
later
==========================
/vmfs/volumes/51504c2e-5e2
fc.20000090fa0b7d5f:100000
Runtime Name: vmhba2:C0:T0:L0
Device: naa.6000097000029490077253
Device Display Name: EMC Fibre Channel Disk (naa.600009700002949007725
Adapter: vmhba2 Channel: 0 Target: 0 LUN: 0
Adapter Identifier: fc.20000090fa0b7d5f:100000
Target Identifier: fc.50000974c00c1000:500009
Plugin: NMP
State: active
Transport: fc
Adapter Transport Details: WWNN: 20:00:00:90:fa:0b:7d:5f WWPN: 10:00:00:90:fa:0b:7d:5f
Target Transport Details: WWNN: 50:00:09:74:c0:0c:10:00 WWPN: 50:00:09:74:c0:0c:11:1c
fc.20000090fa0b7d5f:100000
Runtime Name: vmhba2:C0:T0:L1
Device: naa.6000097000029490077253
Device Display Name: EMC Fibre Channel Disk (naa.600009700002949007725
Adapter: vmhba2 Channel: 0 Target: 0 LUN: 1
Adapter Identifier: fc.20000090fa0b7d5f:100000
Target Identifier: fc.50000974c00c1000:500009
Plugin: NMP
State: active
Transport: fc
Adapter Transport Details: WWNN: 20:00:00:90:fa:0b:7d:5f WWPN: 10:00:00:90:fa:0b:7d:5f
Target Transport Details: WWNN: 50:00:09:74:c0:0c:10:00 WWPN: 50:00:09:74:c0:0c:11:1c
sas.5005076023c15998-sas.1
Runtime Name: vmhba0:C1:T2:L0
Device: naa.600508e0000000001d0363
Device Display Name: LSILOGIC Serial Attached SCSI Disk (naa.600508e0000000001d036
Adapter: vmhba0 Channel: 1 Target: 2 LUN: 0
Adapter Identifier: sas.5005076023c15998
Target Identifier: sas.119bfbf763031d
Plugin: NMP
State: active
Transport: sas
Adapter Transport Details: 5005076023c15998
Target Transport Details: 119bfbf763031d
fc.20000090fa0b7d5e:100000
Runtime Name: vmhba1:C0:T0:L0
Device: naa.6000097000029490077253
Device Display Name: EMC Fibre Channel Disk (naa.600009700002949007725
Adapter: vmhba1 Channel: 0 Target: 0 LUN: 0
Adapter Identifier: fc.20000090fa0b7d5e:100000
Target Identifier: fc.50000974c00c1000:500009
Plugin: NMP
State: active
Transport: fc
Adapter Transport Details: WWNN: 20:00:00:90:fa:0b:7d:5e WWPN: 10:00:00:90:fa:0b:7d:5e
Target Transport Details: WWNN: 50:00:09:74:c0:0c:10:00 WWPN: 50:00:09:74:c0:0c:11:18
fc.20000090fa0b7d5e:100000
Runtime Name: vmhba1:C0:T0:L1
Device: naa.6000097000029490077253
Device Display Name: EMC Fibre Channel Disk (naa.600009700002949007725
Adapter: vmhba1 Channel: 0 Target: 0 LUN: 1
Adapter Identifier: fc.20000090fa0b7d5e:100000
Target Identifier: fc.50000974c00c1000:500009
Plugin: NMP
State: active
Transport: fc
Adapter Transport Details: WWNN: 20:00:00:90:fa:0b:7d:5e WWPN: 10:00:00:90:fa:0b:7d:5e
Target Transport Details: WWNN: 50:00:09:74:c0:0c:10:00 WWPN: 50:00:09:74:c0:0c:11:18
/vmfs/volumes/51504c2e-5e2
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just one last question & I'll close this thread:
So the datastore name I need to input is:
vmkfstools -P /vmfs/volumes/fc.20000090f a0b7d5f:10 000090fa0b 7d5f-fc.50 000974c00c 1000:50000 974c00c111 c-naa.6000 0970000294 9007725330 30353232
OR
vmkfstools -P /vmfs/volumes/sas.50050760 23c15998-s as.119bfbf 763031d-na a.600508e0 000000001d 0363f7fb9b 1100
Does "vmkfstools -P" alter anything or it's just a read-only command?
So the datastore name I need to input is:
vmkfstools -P /vmfs/volumes/fc.20000090f
OR
vmkfstools -P /vmfs/volumes/sas.50050760
Does "vmkfstools -P" alter anything or it's just a read-only command?
yes, you could use the friendly name for the vmfs volume
e.g datastore1 etc
just shows the data of the vmfs volume
e.g datastore1 etc
just shows the data of the vmfs volume
ASKER
I meant to ask in the outputs provided in the thread id
39053748 above, which of the information is the
datastore name?
39053748 above, which of the information is the
datastore name?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
actually a newbie to VMware. Besides, I'll need to figure
out how to configure the Blade HX5's BNT switch so that
I can connect up my laptop. I'll try out Vmware vSphere
Client.
Btw, without vCenter, does VMware vSphere Client allows
us to create VMs in ESXi host?
Thanks guys, I'll try out & revert on Monday as no access
to client's site currently.