gymiv
Contributor
Contributor

How do you retrive the datastore name

Jump to solution

I need to install omsa for esxi 5 i am running the command  esxcli.exe --server x.x.x.x software vib install -d "path to file on datastore". I have uploaded the zip file to the datastore and now need to install it. How do i find out what the path is so i can finish my vcli command?

0 Kudos
1 Solution

Accepted Solutions
yezdi
Virtuoso
Virtuoso

thnx gym, my bad.

View solution in original post

0 Kudos
8 Replies
prince1121
Enthusiast
Enthusiast

Hi gymiv ,

mean time please go through this video where you can gain some idea   and also provide some more information server model and where you got stucked.

_________________________________

If at first you don't succeed, skydiving is not for youhttp://imagicon.info/cat/5-59/vbsmile.png

yezdi
Virtuoso
Virtuoso

its not required to uplod the offline bundle (.zip) to the server. Instead mention " path_to_partner_vib_ZIP_file\vib_ZIP_file"

esxcli.exe --server x.x.x.x software vib install -d <path to the offline bundle>

eg:

esxcli.exe --server x.x.x.x software vib install -d c:\patch\patch.zip

Ref: http://pubs.vmware.com/vsphere-50/index.jsp?topic=/com.vmware.vsphere.upgrade.doc_50/GUID-1E773360-C...

gymiv
Contributor
Contributor

The link you provided does not seem to work. The server is a dell that has esxi 5 installed on it. I am trying to install the dell osma. The command i am running through vCLI is esxcli.exe --server x.x.x.x software vib install -d "path to file on datastore". I do not know what the path to the datastore is so i cannot finish the command. I uploaded the OMSA software to a folder called omsa on the datastore. How do i figure out what the actual path is to the folder i.e.  /vmfs/volumes/vmstore4/...

0 Kudos
yezdi
Virtuoso
Virtuoso

its not required to upload OSMA offline bundle. Keep it on the windows machine from which you run esxcli.exe.

path here we have to specify is the file location on your machine, not VMFS datastore.

esxcli.exe --server x.x.x.x software vib install -d c:\<path>\<file name>

URL : http://tinyurl.com/77a8eyl

gymiv
Contributor
Contributor

I tried running the command you reccommend from vCLI and got the following results.

esxcli.exe --server x.x.x.x software vib install -d C:\Dell_OpenManage_ESXi_OM650-offline_bundle-467660.zip
Enter username: xxxx
Enter password:
[ValueError]
Only server local file path is supported for offline bundles. (C:\Dell_OpenManage_ESXi_OM650-offline_bundle-467660.zip) seem to be remote URIs.
Please refer to the log file for more details.

Wouldn't it be easier just to run it from the datastore? Is there a simple way to get the path to file in the datastore? What is vib?

0 Kudos
gymiv
Contributor
Contributor

I found the answer to my question. I found a post that worked perfectly. Below is the fix if you want to read the entire post see http://communities.vmware.com/thread/329848

1. Install VMware vSphere CLI (Command Line)

2. Download latest VIB : Dell_OpenManage_ESXi_OM650-offline_bundle-467660.zip

3. Shut down VMs and put the host in Maintenance Mode

4. Use the Datastore browser to copy the zip into the Datastore somwhere (I put in datastore1/ISO)

5. Here are the commands to run in CLI
======================== informational
esxcli --version
esxcli --server= <servername> --username=root --password=<pass> software vib list
esxcli --server= <servername> --username=root --password=<pass> software sources
vib list --depot="/vmfs/volumes/datastore1/ISO/Dell_OpenManage_ESXi_OM650-offline_bundle-467660.zip"

======================== install
esxcli --server= <servername> --username=root --password=<pass> software vib install -d "/vmfs/volumes/datastore1/ISO/Dell_OpenManage_ESXi_OM650-offline_bundle-467660.zip"

6. Restart the ESX server

7. Install latest OMSA on a Windows host and browse to OMSA host to manage, https://<omsahost>:1311
fill in ip of esx, user=root, pw=?, activdir=no, ignore cert=yes
(I got login failed interal error until I uninstalled OMSA and re-installed OMSA on my local Windows)

Best references from dell are here

http://www.delltechcenter.com/page/OpenManage+Support+for+VMware+ESX+5.0#fbid=gU2pZlKsFfk

and here

http://www.delltechcenter.com/page/Dell+OpenManage+Downloads+Explained

Thanks for your help.

0 Kudos
yezdi
Virtuoso
Virtuoso

thnx gym, my bad.

View solution in original post

0 Kudos
kulin
Contributor
Contributor

Great blog with the steps really well listed out but I seem to be unable to get the penultimate step working for me. I have a 10G NIC device driver ZIP file uploaded at the data store and when I run the esxcli command on the server I see the following error where it prompts for an index.xml file to be present along with the ZIP file. My ESXi hosts are booting off of a USB stick and all the data is at a remote datastore.

Screen Shot 2012-06-18 at 12.01.55 PM.png

My datastore looks like the following, can you confirm if I am using the right URL to access the Drivers directory from the shared datastore:

Screen Shot 2012-06-18 at 11.48.08 AM.png

0 Kudos