Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-11-26
13
Medium Priority
?
734 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 124
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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
LVL 124
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 124
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
 
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 124
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 124
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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

877 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