helpme201110141
Contributor
Contributor

New to storage

Hi all,

         I am new to storage domain. I need help in understanding the storage domain. At the same time i need to understand the Vsphere APIs

           for building my application.

           Can i get some document where i can learn storage basics( like what is datacenter, Datastore, Lun etc...) and how to create a datastore in Vsphere and how to associate a LUN with DS, How to create a swap location etc..

Guys please please help me...........

Thanks a lot in Advance.......

0 Kudos
5 Replies
vijayagce
Enthusiast
Enthusiast

Hi,

below link will give some info about vmfs and datastore.

www.vmware.com/pdf/vmfs-best-practices-wp.pdf

for vSphere API plz refer following link:

http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/index.html

Thanks,

helpme201110141
Contributor
Contributor

Thanks a lot Vijayagce for your answer...

    now further to my previous query, this is what i am exactly looking for :

          I am new to the storage domain and looking for some help...........

          My current requirement is : i have to create a Vmfs datastore and Associate an already created LUN to this datastore and at the same time Map the datastore to one or More Hosts present in Daatcenter.

I have googled for it but i am not getting the exact answer for this. Whatever i have got (http://www.vmware.com/communities/content/developer/samplecode/java/CreateVmfsDatastore.html) is using  com.vmware.apputils, which i think is not present in the the jar (vijava2120100715.jar) which i am using.

Please help me with the solution.

At the same time, it will be helpfull if someone could provide me some reference document for using APIs.

Thanks in advance

0 Kudos
vijayagce
Enthusiast
Enthusiast

Hi,

I think ur sample code from vSphere webservice SDK. If you want to work with vSphere webservice SDK please find the below link to download and u will get apputil inside the package then u can get some idea..

http://communities.vmware.com/community/developer/downloads

Thanks,

0 Kudos
vijayagce
Enthusiast
Enthusiast

Also Apputil is nothing but collection of some methods which are in vSphere API.. so after getting some idea from apputil.java u can code ur own way without using apputil.java.

Thanks,

0 Kudos
helpme201110141
Contributor
Contributor

Thanks a lot Vijayagce for your quick replies........

               Can you please provide the sample code for my requirement which is like:

                    Assuming  i am using vijava2120100715.jar:

i have to create a Vmfs datastore and Associate an already created LUN to this datastore and at the same time Map the datastore to one or More Hosts present in Datacenter.

Thanks in advance

0 Kudos