Start a Conversation

Unsolved

This post is more than 5 years old

1332

November 23rd, 2011 22:00

How to add a ESX host to symapi Database

Hi,

I would like to add an ESX host to my SYMAPI DB and access the DataStores and Luns information rather than logging into vCentre every time. How can I add and  view using SYMCLI. Any pointers pertaining to this are appreciated. Thanks..!

9 Legend

 • 

20.4K Posts

November 24th, 2011 03:00

can you expand on what you are trying to do ? You want to manage your symm from ESX server, you want ot present storate from symm to your ESX to be used as datastore ?

20 Posts

November 25th, 2011 19:00

I want to present storage to the ESX host and see all the ESX pertaining information like what Datastores reside on that ESX host or what is the storage provisioned for a Datastore so on and so forth. I can check all this info by logging into vCentre but this is not what I am looking at.

9 Legend

 • 

20.4K Posts

November 25th, 2011 20:00

can't do it just with symcli, i just looked at SMC manual and there you can add vSphere server. Not sure how much visibility it will give you into VMware environment but worth a shot.

286 Posts

November 28th, 2011 09:00

You actually can do this with SYMCLI. The command is called "symvm" and it allows you to veiw information about ESX or Hyper-V servers and was introduced in SE 7.2. This actually has more features than it's SMC counterpart at the moment as it was introduced a bit earlier. I wrote up information on how to use this in the most recent VMware/Symmetrix Techbook found here:

http://www.emc.com/collateral/hardware/solution-overview/h2529-vmware-esx-svr-w-symmetrix-wp-ldv.pdf

Look in Chapter 2 (Management of EMC Symmetrix Arrays - Solutions Enabler) for a write up.

Thanks

Cody

9 Legend

 • 

20.4K Posts

November 28th, 2011 11:00

Cody,

can symvm connect to  virtual center server or do i have to establish connection with each individual ESX server ?

thanks

286 Posts

November 28th, 2011 14:00

Either one should work

9 Legend

 • 

20.4K Posts

November 28th, 2011 14:00

i was able to authorize with the vCenter server ( i provided my AD credentials, not sure if it actually verifies them or simply accepts them). Tried to run any of the commands but getting nothing, here is viclient log:

11/28/2011 17:48:17 Entered GetEnvVar()
11/28/2011 17:48:17 ViClient.dll loaded
11/28/2011 17:48:17 Entered ViClient::Connect()
11/28/2011 17:48:17 Entered GetEnvVar()
11/28/2011 17:48:17 Entered GetEnvVar()
11/28/2011 17:48:17 Entered GetEnvVar()
11/28/2011 17:48:17 Entered GetEnvVar()
11/28/2011 17:48:17 Entered GetEnvVar()
11/28/2011 17:48:17 Entered GetEnvVar()
11/28/2011 17:48:17 Entered GetEnvVar()
11/28/2011 17:48:17 Entered GetDefaultCertificate()
11/28/2011 17:48:17 Entered GetSymPath()
11/28/2011 17:48:17 ViClient::Connect: nd-vmvcprod1 - svc_vnx - ********* - C:\Program Files\EMC\SYMAPI\config\viclient_cert.pem - TRUE
11/28/2011 17:48:17 Entered VISDK::RetrieveServiceContent()
11/28/2011 17:48:18 Entered VISDK::Login()
11/28/2011 17:48:18 ViClient::Connect: Success
11/28/2011 17:48:18 Entered ViClient::GetEsx()
11/28/2011 17:48:18 ViClient::GetEsx: nd-vmvcprod1
11/28/2011 17:48:18 Entered VISDK::FindByDnsName()
11/28/2011 17:48:18 ViClient::GetMorByAddress: A VMware task failed during execution.
11/28/2011 17:48:18 CViClient_GetEsx Failed: The specified host could not be found.

9 Legend

 • 

20.4K Posts

November 28th, 2011 15:00

I don’t have root nor any other access to the individual ESX hosts.

286 Posts

November 28th, 2011 15:00

Seems like it only works with ESX hosts, not vCenter servers. Looking back at the release notes it only lists ESX servers, not vCenters. Try it with an ESX and see how that works.

No Events found!

Top