Solved

Both clustered SAN volumes attached to one ESXi 5.5 host, why?

Posted on 2013-11-26
13
725 Views
Last Modified: 2013-12-01
This is a 2-node ESXi 5.5 hosts, to shared 2 volumes from an SAN iSCSI storage. However, upon the power up, I found that both these SAN volumes attached to only 1 ESXi 5.5 host.

A cluster was created to cover the above 2 hosts. On a esxi cluster, I saw an error message - Insufficient vSphere HA Failover resources, any thing wrong/missing with the ha setup?

Please see my clustering setup:

   - there are 2 vSwitches - vswitch0, for VM network and management (nic0, nic1 & nic2)
   - vSwitch1, contains iSCSI 1 (nic3, nic 4(unused)) and iSCSI 2 (nic4, nic3 unused), storage
     heartbeat (both nic3 and 4), and vMotion (vMotion and mgmt)
   - ESXi Clustering:

     Cluster Features:            CTS Cluster
                        ¿ Turn on vSphere HA (true)
                        ¿ Turn on vSphere DRS  (false)

      vSphere HA:           Enable Host Monitoring (true)
                        ¿ Enable: Disallow VM power on operations that violate
                                           availability constraints
                        ¿ Host failure the cluster tolerates:  1
    VM Monitoring:            Disabled

    Datastore Heartbeating:      ¿ Select any of the cluster datastores

    VMware EVC:            Disabled

    Swapfile Location:            ¿ Store the swapfile in the same directory of the virtual
                             machine (recommended)

How to change so as one clustered volume is attach to one esxi 2 from esxi 1?
0
Comment
Question by:MichaelBalack
  • 7
  • 6
13 Comments
 
LVL 117
ID: 39677718
if you only have the SAN volumes attached to a single Host, you'll not be able to perform VMware HA?

So why are the iSCSI LUNs missing?

is this a new installation?

Are the LUNs present on the Hosts?

just missing the datastores?
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39677734
Hi Hanccocka,

Altogether there are 2 iscsi lun, but both lun are always atteched to esxi 1. My question is, how to change so as lun 1 is attach to esxi 1, and lun 2 move to esxi 2?
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39677740
This is a new setup.
0
 
LVL 117
ID: 39677767
All your LUNs, should be attached to both ESXi hosts.

What type of SAN do you have , iSCSI or Fibre Channel?

Did you grant access to both IQN or WWNN for each LUN?

Some SANs you also have to enable, LUN access from multiple IQNs
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39677778
Hi Hanccocka,

This is using iscsi san.

both lun have granted access for simultaneous 2 hostss to access, byuqn.
0
 
LVL 117
ID: 39677799
Can you check if the LUNs are present, e.g. check Configuration > Storage Adaptors > iSCSI Software Adaptor?

Have you added the correct IP Address of the SAN to both ESXi hosts?

How did you configure iSCSI?

Are you using Jumbo Frames?

see my EE Article, Step by Step Tutorial Instructions with Screenshots

HOW TO: Add an iSCSI Software Adaptor and Create an iSCSI Multipath Network in VMware vSphere Hypervisor ESXi 5.0

HOW TO: Enable Jumbo Frames on a VMware vSphere Hypervisor (ESXi 5.0) host server using the VMware vSphere Client

can you vmkping the SAN from both host consoles?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Author Comment

by:MichaelBalack
ID: 39677847
Hi Hanccocka,

Can you check if the LUNs are present, e.g. check Configuration > Storage Adaptors > iSCSI Software Adaptor?

ans: Both LUNs are there

Have you added the correct IP Address of the SAN to both ESXi hosts?

ans: That should be a correct ip. Before creating the clustering, I only allow a single esxi host to 1 volume, and both esxi hosts can detect and attach the LUN without problem. after this, I even setup VMs on both LUNs on different esxi hosts.

How did you configure iSCSI?

ans: Create a vSwitch, in which it contains a vSwitch, iscsi 1 (vmkernel, attach nic1, unused nic2), iscsi 2 (vmkernel, attach nic2, unused nic1), and a iscsi storage (attach both nic1 and 2)

Are you using Jumbo Frames?

ans: Yes, it is. mtu is 9000. This is using DELL PS4100xv, and requested to use this mTU values on switch, iscsi ports.
0
 
LVL 117
ID: 39677903
So, on both hosts, the LUNs are present, but datastores are missing from one?
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39677941
Both lun are present on both hosts. The problem is, on esxi 1, when i click virtual machines tab, i saw all 5 vm. But, if on esxi 2, when i click virtual machines tab, i saw none.

2 vm are stored in lun 1, and 3 vm on lun 2.
0
 
LVL 117
ID: 39678022
okay, I beginning to understand, okay if the datastore is missing.

at the console or ssh (remotely) can you type the following:-

esxcfg-volume -l

what is the output
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39683045
Hi Hanccocka,

Sorry to make you confuse with my writing based on my understanding about the situation.

I agree I may not fully understand how the cluster work, correct me if I am wrong. This is using a trial version of VMware esxi 5.5, in which HA, vMotion, vMotion storage, and others are available.

Now I managed to see total 5 VMs in the cluster. I can freely move any vm from iscsi LUN 1 to LUN 2 while vm is on, this should be the work of vMotion storage, right? If without vMotion storage, but with vmotion alone, I can't move the vm live, instead, I have to power off and get it migrate, right?

I am sure nothing is incorrectly setup for the cluster ha, as I can migrate a vm to a different host, datastore, or host and datastore, with conditions applied.

Thanks for the patient.
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 39683068
If you are using VMware vSphere ESXi 5.5 and VMware vCenter - VMware HA, vMotion, DRS are available to test as a trial. (providing setup correctly).

The movement of VMs from one datastore to another is using Storage vMotion.

You should be able to use the Migrate function to move a VM from one host to another.
0
 
LVL 1

Author Closing Comment

by:MichaelBalack
ID: 39688026
Good
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now