Quantcast
Channel: VMware Communities: Message List - vSphere™ Storage
Viewing all 5826 articles
Browse latest View live

iSCSI storage presented to hosts managed by different vCenter Server - any issues?

$
0
0

I currently have three hosts (esxi 5.0) that are managed by vcenter server 5.5 U2. The hosts are attached to about ten iSCSI LUNs (datastores).

I am trying to migrate to esxi 6.0 U2. For that there are three new hosts that have esxi 6.0 U2 installed and are managed by vcenter server 6.0 U2.

 

The plan is to detach/remove the esxi 5.0 hosts from vcenter 5.5 U2. Then import it to vcenter 6.0 U2 (a new cluster will be created). Once imported, uninstall the vcenter 5.5 u2. Then turn off the VMs residing imported esxi 5 hosts and move them to esxi 6.0 hosts.

 

My query is with regards to the storage.

 

Currently, the three new hosts see all the storage that the old esxi 5.0 hosts see (the hosts are not in the cluster. I am still in the process of setting things up). This is because the new hosts were put in to the same iSCSI initiator group on the storage side. So as things stand now, the datastores are visible by the hosts with esxi 5.0 (managed by vcenter 5.5 u2) and also the esxi 6.0 hosts (managed by vcenter 6.0 u2). The only VMs that reside in the esxi 6 environment is vcenter 6.0 u2 and update manager 6.0 u2. These reside in a datastore that doesn't have any other VMs.

 

Will this pose any issue during the migration? I have not created any cluster for the esxi 6.0 hosts yet and plan to do so after getting your inputs.

 

Thanks!


Re: iSCSI storage presented to hosts managed by different vCenter Server - any issues?

$
0
0

No issues whatsoever, regardless of whether you do or do not add vSphere 6 hosts to a HA cluster.

 

If you temporarily enable EVC on vSphere 6 hosts, once all hosts are connected to the same vCenter  you can VMotion all VMs to the new hosts even without any downtime. Then disable EVC after the migration is finished.

Re: iSCSI storage presented to hosts managed by different vCenter Server - any issues?

$
0
0

Thanks Nick. Just wanted to confirm since the vcenter server looks for heartbeat from the datastore.

Re: VMDK file is corrupt. I cannot access files on the disk

$
0
0

Welcome to the Community,

 

can you please clarify "The snapshot files are have disappeared ..."? Is this related to whet the Snapshot Manager shows, or to the files located in the VM's folder on the datatsore?

In case the snapshot files in the datastore are still there, then please post a screenshot of the datastore browser window which shows all files with their full names, sizes and time stamps.

 

André

Extend existing datastores vs Creating new datastores

$
0
0

Hi all,

 

I did some searching and didn't find anything that really pertains to a question I have about datastores in our production system.

Some background on the system first.  We have roughly 100 datastores formatted in VMFS5.  There are about 40 hosts and they are running 5.5 update 2e (soon pushing to vSphere 6) under Enterprise licensing.   We are looking at doing one of the following two things:

 

  1. Extending the size of the current datastores.
  2. Presenting new LUNs and creating datastores that are larger in size, then removing the old ones.

 

I was curious about the best practice when dealing with a situation like this.  Are there any negative effects associated with extending the existing datastores to a larger size?  Any gotchas or warnings? We would prefer to just extend the existing ones since it is far quicker and easier but I definitely will enforce what is best over what is easiest.

 

Any recommendations or insight would be appreciated!

Re: VMDK file is corrupt. I cannot access files on the disk

$
0
0

If the files disappeared from disk and you need to recover the missing data since the time the snapshot was created you should immediatly create a VMFS header dump and stop any activity on that volume.
To create a header dump find the devicename for the datastore like naa.6*******.
Connect to ESXi with putty and do
cd /dev/disk
dd if=<devicename> of=/tmp/dan.1536 bs=1M count=1536
In case there is not enough free space in tmp - store the dump on another datastore and compress it onb the fly.
Just do that asap.
With the dumpfile I may be able to assist recovering the snapshots.

Re: VMDK file is corrupt. I cannot access files on the disk

$
0
0

Andé, they were both gone from Snapshot manager and from esxi command line when looking at the folder.

 

I'd like to make a general comment on the interface of vcenter and web client that certain things needs more warning prompts.

 

Thank you for reply.

Re: VMDK file is corrupt. I cannot access files on the disk

$
0
0

Hi Contunuum,

 

I'm afraid that datastore was being used but 2 other virtual machines and I didn't stop them. I have stopped the original VM pretty much right away. I think it might be too late for that action now?

 

Also to add, the snapshot was old and needed to be merged. It's the data that was created on the main (you are here) point that has disappeared. Likely due to consolidation not completing properly. I have managed to attached those drives to another VM but when i see all i see are the folder on the drive and as soon as you click them error comes up to say they are not there.

 

I also managed to copy the vmdk files and using vmdk recovery tool to open them, same result though i can only see the folders but they all say 0 kb in size.

 

Dan


Re: VMDK file is corrupt. I cannot access files on the disk

$
0
0

> I think it might be too late for that action now?
It is never too late for that - that dump can help to completely or partially recover the vmdk content.
If you want - need about an hour to tell you what should be recoverable.
The risk to spoil your chances exists when you are using VMs that change the mapping-table of the vmdks on the fly:  Thin provisioned and VMs with open snapshots.
Thick provisioned VMs dont change their mapping on disk so they can run on.

And do not give up when you see directories that appear empty - Iit usually means that either one fragment is still missing or - if you recover lazy zeroed vmdks you MUST run an extensive checkdisk against the partition.

Re: iSCSI storage presented to hosts managed by different vCenter Server - any issues?

$
0
0

No worries, mate. Let us know how you go.

Not able to run VMware-VASASDK-5.1.0

$
0
0

Hi All,

 

As TAP member, I am successfully able to download VASA SDK for vSphere 5.1 from https://developercenter.vmware.com/group/sdk/51/vasa

I have installed all the prerequisites and copied the vasa.war in tomcat 6.0 server.

I am trying to access the webservice from the URL http://localhost:8080/vasa/services/vasaService

which results in following error

 

<soapenv:Reasonxmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
     <soapenv:Textxml:lang="en-US">

 

     The endpoint reference (EPR) for the Operation not found is /vasa/services/vasaService and the WSA Action = null

     </soapenv:Text>

</soapenv:Reason>


Below is the log message from vasa.log


2016-03-24 11:08:58,501 [http-8080-1] ERROR org.apache.axis2.engine.AxisEngine - The endpoint reference (EPR) for the Operation not found is /vasa/services/vasaService and the WSA Action = null org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /vasa/services/vasaService and the WSA Action = null at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89) at org.apache.axis2.engine.Phase.invoke(Phase.java:334) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:135) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130) at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:838) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:262) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source)


I am able to get the wsdl file using following url http://localhost:8080/vasa/services/vasaService?wsdl


Any help is appreciable

Thanks in advance

Re: VMDK file is corrupt. I cannot access files on the disk

$
0
0

Alright! I had another VM Running on that storage. I just powered it down. that VM didn't have much drive expansion and it was THIN partitioned.

 

 

The vm that has trouble is the one with THIN partition as well and there is only one drive that i really care for. It contains data and it's about  the Drive is 500GB but the space used is about 800 MB.

 

The ID of storage is

 

.naa.6001a620000233353031303030303431

 

I have space on another storage on /vmfs/volumes/VMFS-id2/

 

What would the command be?

Re: VMDK file is corrupt. I cannot access files on the disk

$
0
0

HI Ulli,

 

I sent you a Skype request.

 

Cheers

Dan

Re: VMDK file is corrupt. I cannot access files on the disk

$
0
0

I've run command dd if=naa.6001a620000233353031303030303431 of=/vmfs/volumes/VMFS-id2/dump/dan.1536 bs=1M count=1536

 

and it created a 1.5GIG File which I downloaded. What is the next step?

 

Dan

File Server Datastore Provisioning assistance

$
0
0

I am building a Win2012R2 File Server.

Datastore1 = 800GB

Datastore2 = 12TB

 

Datastore1 is taken. Datastore2 will have about 2TB space used for storage of copies of VMs. The rest is for File Server.

 

 

What provision is recommended to use for a growing File Server? Thick or Thin?

Is it ok to OVER allocate on Datastore2 space?

If other data on Datastore2 (other than File Server) begins to grow how will the File Server make up for the difference?

Thanks in advance.


Re: File Server Datastore Provisioning assistance

$
0
0

See attaached. Why is the Free space smaller than Provisioned?

I provisioned 11tb but C drive only showing 2tb???

Provisioned11tb.JPG

Re: File Server Datastore Provisioning assistance

$
0
0

What provision is recommended to use for a growing File Server? Thick or Thin?

Is it ok to OVER allocate on Datastore2 space?

There's no general rule of thumb regarding thin or thick provisioning. It actually depends on your needs and - that's important - whether you can increase the storage size fast enough if required. With thin provisioning in use, it's your responsibility to monitor datastore usage!

If other data on Datastore2 (other than File Server) begins to grow how will the File Server make up for the difference?

Basically the same as above. You need to monitor space usage to avoid issue. The file server itself - i.e. the virtual machine - is not aware of the physical disk space used on the datastore. If the daatstore runs out of disk space, your VMs will likely crash.

Why is the Free space smaller than Provisioned?

I provisioned 11tb but C drive only showing 2tb???

It looks like the guest OS partition uses an MBR partition table rather than GPT. With MBR you are limited to ~2TGB.

 

André

Re: File Server Datastore Provisioning assistance

$
0
0

How to convert a SYSTEM OS C: disk from MBR to GPT without a data loss? Is it possible or do I have to reinstall everything using diskpart tool?

Re: File Server Datastore Provisioning assistance

$
0
0

Unless any 3rd party tool can do this, you need re-initialize the system disk. In addition to this you'll have to edit the VM's boot options, and switch the boot firmware from BIOS to EFI. Another option is to shrink the guest's current system partition to e.g. 100GB, and then create a second partition with a GPT partition table.

Please keep in mind that backing up and - even more important - recovering such large partitions will consume a considerable time, and it may be worth planning for multiple smaller partitions if possible.


André

Re: File Server Datastore Provisioning assistance

$
0
0

Unfortunately, the 3rd party tools do not allow to convert Bootable OS partition to GPT. In my case, I found out that HP BL460c blade has Legacy BIOS and can not boot in UEFI. So the remaining option is to go with shrinking the C: drive to 200gb and using 10.8 TB (the max size for SAS drives RAID array allow) for data partition drive D:

 

I wonder if I had LINUX OS, I had a better luck in solving this issue?

Viewing all 5826 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>