VMware-cmd: achieve data warehouses via vcenter

Hello

I have a proplem with vmware-cmd command.

When I query the server esxi with the VMA by using the switch - l, it works very well. That's what I get:

vmware-cmd -H esxi02.axe.lan -U root -P xxxx -l

/vmfs/volumes/f0fd945a-275bd0c1/CL-VDC1/CL-VDC1.vmx
/vmfs/volumes/f0fd945a-275bd0c1/CL-VCEGID/CL-VCEGID.vmx
/vmfs/volumes/f0fd945a-275bd0c1/CL-VFILES/CL-VFILES.vmx
/vmfs/volumes/4d21cdc6-da1be880-18e5-68b59975c9d0/PDASERV0103/PDASERV0103.vmx
/vmfs/volumes/4d220aff-1b6f60b8-33cb-68b59975c9d0/VFILES/VFILES.vmx

But if I send the same order to the vcenter

vmware-cmd -H vcenter.axe.lan -T esxi02.axe.lan -U administrator -P xxxx -l

/vmfs/volumes//CL-VDC1/CL-VDC1.vmx
Use of uninitialized value in concatenation (.) or string at /usr/bin/vmware-cmd line 453.
/vmfs/volumes//CL-VCEGID/CL-VCEGID.vmx
Use of uninitialized value in concatenation (.) or string at /usr/bin/vmware-cmd line 453.
/vmfs/volumes//CL-VFILES/CL-VFILES.vmx
/vmfs/volumes/4d21cdc6-da1be880-18e5-68b59975c9d0/VMGMT/VMGMT.vmx
/vmfs/volumes/4d220c3b-3d4bec50-9b85-68b59975c9d0/XPCOMPTA/XPCOMPTA.vmx

Looks like vcenter has trouble trying to read/analyze a file of the database (f0fd945a-275bd0c1). See double "/ /"?

In addition, there is an error in the perl script. I take a peek, but I could not find any problem with him. This is beyond my skills, I'm afraid.

Any ideas? Permission problem?

This message was edited by: Mafaldo

Mine as a vMA 4.1. but the switches are different!

[vi-admin@xx ~] $ cat/etc/vma-release
vMA 4.1.0 BUILD-268751
[vi-admin@xx ~] $ vmware-cmd - help
Use: vmware-cmd
VMware-cmd - s
Options:
Connection options:
H - or - server Specifies a host ESX or a Virtual Center
-h or--vihost Specifies a target host if the host is a virtual Center
O Specifies an alternate port
Q Specifies an alternative Protocol
You can check the version of vMA? and if possible update.

Tags: VMware

Similar Questions

  • hide local data warehouses in vCenter

    I'm trying to understand how hide us local data warehouses appear in Vsphere 5.5 I find it looks like permissions.  How do you go in permissions for all the local data store

    Thank you

    Hello

    In order to hide this data store using permissions, you must do the following:

    Open-> inventory-> warehouses VSphere-> select the select data-> permissions VMFS store-> click the user or group in the list and set them to 'No access' - are not propagated. We want it to take effect only on this data store.

    Let me know how it goes.

  • The number of heartbeat for the host data warehouses is 0, which is less than required: 2

    Hello

    I have trouble creating my DRS cluster + storage of DRS, I have 3 hosts esxi 5.1 for the task

    First, I created the cluster, no problem with that, so the DRS storage was created and now I can see in the Summary tab

    "The number of heartbeat for the host data warehouses is 0, which is less than required: 2".

    I search the Web and there are similar problems when people has only a single data store (the one that came with ESXi) and need to add another but in my case... vcenter detects any...

    In the views of storage I see the store of data (VMFS) but for some strange reason the cluster not

    In order to achieve data warehouses minimum (2) can I create an NFS and map it in THE 3 esxi hosts? Vcenter which consider a play config?

    Thank you

    You probably only have local data warehouses, which are not that HA would require for this feature (pulsations datastore) to work properly.

    You will need either 2 iSCSI, FC 2 or 2 NFS volumes... Or a combination of the any of them, for this feature to work. If you don't want to use this feature, you can also turn it off:

    http://www.yellow-bricks.com/2012/04/05/the-number-of-vSphere-HA-heartbeat-datastores-for-this-host-is-1-which-is-less-than-required-2/

  • Assessment vCOPS 5.7.1 - did they add a way to exclude specific data warehouses?

    Hello

    I tried vCOPS in the past and I know that this was not possible.

    I just started a trial now, but I still want to exclude all data warehouses and a couple more which come from a file server that is always 99% full. These data warehouses are not used for virtual machines and shouldn't affect calculations in vCOPS.

    Is there a way to exclude the calculations? Thank you.

    Put all your data warehouses in vCenter the in a folder called "LOCALS" (or something else you like) - this folder will also be known by the VCOPS (may take 5 minutes). Then in VCOPS create a new strategy and clone of "Ignore these objects." On the page of the association take place 'record' and add your folder "INHABITANTS". Check 'current effective policy', it must be on "ignore objects.

    Now, whenever you add a host to vCenter, make sure you put this local data store in the right folder "INHABITANTS". This way you will have exclude them calculations.

  • What is the maximum number of data warehouses in a system of Vcenter?

    What is the maximum number of data warehouses in a system of Vcenter?

    I had a look at highs of configuration in http://www.VMware.com/PDF/vSphere4/R40/vsp_40_config_max.PDF , he lists100 in the section of SMI-S

    SMI-S section list max number of ESX host as 100, although it is 300 in the maximum of vcenter server. Should I look for in the section of SMI-S?

    Only if you plan to use SMI - if she does not go with the maximum rates for vCenter - and you are correct to look at the number of hosts since it is the ESX hosts that communicate to the SAN not vCenter-

  • Sharing warehouses of data between two vCenter and VM migration

    Hello

    I have 2 groups. One is in vSphere 5.5 (ClusA - 6 esxi) and the other is in vSphere 6.0 (ClusB - 6 esxi). Each cluster has own LUN (we have systems of storage EMC vnx 5500) and own vCenter. The goal is to migrate all virtual machines of 5.5 to 6.0. I thought to present (share) the logic of ClusA in ClusB unit number, so I have vCenter_ClusA stop the virtual machine, remove them from the inventory and the vCenter_ClusB add to the inventory of the virtual machine.

    Issues related to the:

    Can I simply unregister the virtual fron 5.5 machine environment and enter them on environment 6.0?

    Sharing LUNS between 2 cluster can be a problem? Consider after that the ClusA migration will be stopped.

    This configuration would cause corruption datastore because two separate vcenters access to the same data store?

    Thanks for the reply and sorry for my bad English!

    Please help me!

    You can share data warehouses between the vCenter/cluster without problem. And on the task to unregister / register, don't forget to stop the VM on the old cluster before cancelling the registration of the stock.

    Here's a blog showing that you can store data shared between the clusters/vCenters: with vSphere 5.0 and HA can I share data across clusters warehouses?

  • Data warehouses up-to-date for a pool of VMware using PowerCli

    Using this as a starting block.

    VMware View 5.2 Documentation Library

    I want to combine both functions and the variables to use ".txt files" with my new and old data warehouses listed.

    I edited a bit, combining both functions and variables for lists old and new creation, but I don't know about the context to provide variables for text files.  All PowerShell / PowerCli guru?

    # Function PowerShell to add new, then remove the old warehouses of data in an automatic pool.

    # UpdateDatastoresForAutomaticPool

    # Parameters

    # $Pool ID of the pool pool to update.

    # $OldDatastore full path to OldDatastore.txt to be removed.

    # $NewDatastore full path to NewDatastore.txt to add.

    $Pool = "C:\powercli\PersistentPools.txt".

    $OldDatastore = "C:\powercli\OldDatastore.txt".

    $NewDatastore = "C:\powercli\NewDatastore.txt".

    function RemoveDatastoreFromAutomaticPool

    {param ($Pool, $OldDatastore)

    $PoolSettings = (get-pool-pool_id, $Pool)

    $currentdatastores = $PoolSettings.datastorePaths

    $datastores = «»

    foreach ($path in $currentdatastores.split (";"))) {

    If (-not ($path - eq $OldDatastore)) {}

    $datastores = $datastores + "$path;"

    }

    }

    Update-LITERALLY-pool_id, $Pool - datastorePaths $datastores

    }

    function AddDatastoreToAutomaticPool

    {param ($Pool, $NewDatastore)

    $PoolSettings = (get-pool-pool_id, $Pool)

    $datastores = $PoolSettings.datastorePaths + "; $NewDatastore ".

    Update-LITERALLY-pool_id, $Pool - datastorePaths $datastores

    }

    Thank you

    -Matt

    You use literal strings instead of the content for the files. Assuming that the contents of the file is a list with one entry on each line, you need to change your code actually look at the data, for example:

    $oldstores = get-content "C:\powercli\OldDatastore.txt".

    foreach ($path in $currentdatastores.split (";"))) {

    If (-not ($oldstores - contains $path)) {}

    ...

    }

    }

  • Adding/viewing ESX hosts the local data store in vCenter

    Hey all,.

    I am pleased to join these forms and hope I have don't get dessu down for not having a cert VM (I train hard knowledge where and how get it)

    I have recently graduated from networking and am on the fast track in my new career. Now things are as clear as possible so I will try to fill as much

    ESXi 1 - Dell G6, running, 1065491 5.1.0

    Storage adapter - Smart Array P410i

    vmhba0

    Details - Serial Attached SCSI disk HP, ID (naa. #...), name of Runtime: vmhba1:c0:T0:L0, mounted the Non - SSD, block adapter, 1 TB)

    ESXi 2 - Dell G7 5.1.0 running, 1065491

    Storage adapter - Smart Array P410i

    Details-HP Serial Attached SCSI Disk, ID (naa. #...), name of Runtime: vmhba1:c0:T0:L1, mounted the Non - SSD, block adapter, 1 TB)

    vCenter - Win Server 2008 r2 (working on the features of powershell to work with packages from CodePLex)

    ESXi hosts in a single datacenter, with one single Cluster... in this cluster is a SAN that the two hosts can access without problem

    When I click on Cluster 1-> summary-> Storage (local storage shows ESXi 1 and SAN storage) NO ESXi 2 of local storage.

    When I click on ESXi 1 host in vCenter and then click on summary or Configuration (Storage)... it will show the SAN and hosts local storage

    When I click on ESXi 2 host in vCenter and then click summary or Configuration (Storage)... it will show the SAN and NOT hosts local storage

    How can question I view and manage local storage of 2 ESX via vCenter?

    At the moment I have to hand, log in to ESX 2 via vSphere thickclient and see its local data store.

    I was talkin to some people on #vmware in IRC, but can't seem to understand why... is something mmiss configured? I thought that this would have been a no-brainer... I tried to 'find new warehouses of data' on the ESX 2 in vCenter, no dice.

    Help

    Welcome to the community - I would try to remove the host to vCenter and see if you can see the local storage.

  • Fully connecting directly attached data warehouses in a cluster of ESXi?

    I have deployed two identical 5.1 ESXi hosts (servers Dell PowerEdge r720xd) each to 5,46 with storage to direct connection. They are both currently enrolled in our vCenter Server 5.1 and participate in a HA cluster. Their respective databases are also members of a group of data store.

    Each host is connected to its own data store, but not the other host data store. This effectively disables most of the HA/DTS features, and connection status of host for each data store is marked with a warning for missing connections. We have desire of VM migration and load balancing between the two hosts and the warehouses of data to be as homogeneous and transparent as possible.

    My question is simple: what is the most practical and effective way to establish the necessary connections to reach a State fully connected to hosts and data warehouses?

    Hello

    in this case you need something like a virtual appliance that uses your local storage to make it a shared storage. Your hosts can then access the storage via iSCSI/NFS. At the end of the day, you will have the space of a single node left (CT ~ 5.46), because the device (s) will reflect your data for more security against failure of the host.

    The easiest way would probably be the vSphere Storage Appliance

    But there are also other solutions as a virtual of DataCore and HP StoreVirtual VSA facility.

    Concerning

    Patrick

  • ESXi V5.0 U1 - activate SIOC on creating NFS data warehouses?

    I read on the IGCS implementation on our warehouses of NFS data because of a problem experienced by the following KB:

    http://KB.VMware.com/selfservice/search.do?cmd=displayKC & docType = kc & externalId = 2016122 & sliceId = 2 & docTypeID = DT_KB_1_1 & dialogID = 669628658 & StateID = 1% 200% 20669648380

    I have opened a support ticket and have decided to allow the SIOC for our data warehouses, even if the support could not tell me if it was something I could do on the production.  My assumption would be that adding this additional configuration would not be a problem, although I have questions, confirming that.  Everyone helped SIOC on live production data warehouses?

    Thank you

    The f

    Yes, you can activate without risk IGCS to a data store active with running virtual machines.

  • Question on the reclassification of the Version 3-5 data warehouses

    Background:

    We have a group of hosts running ESX 4.1 that I migrated to ESXi 5.

    All our hosts are connected to a San.

    All existing data stores are file system version 3.21

    I want all my stores data upgrade to version 5.  I know that there is an option to convert warehouses of data version 3 to version 5, but a support technician VMWare told me that he would not have even features a new version 5 data store would.  He said that he would retain the features of version 3.

    Question:

    If I delete a vCenter data store (after I have migrated off the guests) and then recreate the data store by using the same logical unit number, this will be a 5 native data store or it will still retain the features of version 3 when vCenter reuses the lun?

    I'd rather not have to cancel the mapping of the LUN and recreate blank those for native data warehouses 5 if possible.

    When you remove the logic unit number, it will be empty.  Adding, you can format as a LUN VMFS5

  • Wiping of data warehouses

    We lack VCenter 4.1 with an iSCSI SAN (managed by IBM System Storage DS Storage Manager 10).  We have a few LUNS defined on the SAN and the LUNs (mapped?) data warehouses, but not all of the space on the SAN is still attributed to any logical unit number.

    A former employee, set up our current LUNs, so we learn the entire process of creating for ourselves.  We wanted to do a test before you make drastic changes, but our test... showed us that we didn't understand completely what we were doing again.

    Here's what we did and how it went wrong.

    • We have created a new, test of 250 GB LUN on the SAN (part of the unallocated space).
    • In VSphere Client, we went through the 'Add datastore' Assistant and went through all the stages of this new logic unit number.  Everything went great and we had a new store of VMFS data available to us.
    • As a test, we migrated a small virtual PC to the new VMFS.  It worked.
    • Then we migrated it to a pre-existing data stores. It worked also.
    • Then, in VSphere Client, we have removed our new test data store.
    • Then in the IBM System Storage Manager, we have removed our new test LUN.
    • Then, just to make sure that the space had been rehabilitated, we created a test new new LUN, also in 250 GB.  This has been attributed the same LUN number as the previous test of 250 GB LUN.
    • We returned in VSphere Client, and tried to 'add a data store' by using this new-new test LUN.  Everything works until we get to the current "Available to drive" part of the wizard.  It shows 250 GB as the 'ability' of the LUN, but '-' as 'available'... and the "next" button is grayed out.

    add-storage_scrnsht.png

    Then... How can we do better?  Is it possible to delete a data store (or a logic unit number) so that the space of the deleted/LUN data store becomes 'Available' for the future creation of LUN/datastore?  We really had to be able to create a few large LUN in our space on the SAN, then remove the old, smaller LUNS created by the former employee and make MON new, bigger out of free space by removing the 'old' (since extending LUN does not work... the ex-employee tried this several times and we have hundreds of concerts tied up in space extended but unavailable LUN).

    How can we achieve this?

    Thanks in advance for the attention and/or advice.

    So, if I understand your situation, you had a unit number logic to 250 GB with VMFS, then you removed from the store database and then removed the SAN LUN.

    Then, you create a new LUN on your storage, to the same size and LUN number array, but when you want to create a data store VMFS on it you can't and the size seems to be incorrect in the vSphere Client.

    I wonder if it might be that the ESXi host is confused by the fact that it's the same LUN number. You could switch to the display of the storage card in the Configuration tab and do a rescan 'all '. Make sure you see the new empty LUN when you select the vmhbaXX, and then try to recreate the data store.

  • Internal data warehouses DMZ hosts?

    Hi all

    I hope I'm posting in the right section, and this makes sense.

    We currently manage two groups separated, managed by vcenter.  One for all our internal servers and one for our DMZ servers.  We have our guests DMZ nic 1 and nic 2 combined for the console, vmkernel, and data warehouses.  Two of these network adapters are connected to our internal network.  We then nic 3 dmz1 and nic 4 on dmz2.  Each set of network interface cards is assigned its own vswitch.

    Data warehouses for all customers of vm on the DMZ cluster are NFS targets on our internal network of san. Each guest virtual machine is only affected 1 network card with access to it's special DMZ.

    My question is about safety.  We have been operating this way for awhile, but my networks/security guy is concerned that in some way, the virtual machine can be hacked to access all the cards that are connected to the host, or the virtual machine can be hacked and someone might potentially have access to in-house on our SAN data.

    What are the best practices for this scenario?  Should I currently have security vulnerabilities?  Assuming that this configuration is ok, can I give my guy from network to facilitate his concern for information?

    Our san is a Netapp.

    Edit: misspelling of nic4 for dmz2

    Hi SLCSam

    The way I understand how ESXi handles this (and someone please correct me if I'm wrong)

    Is that ESXi handles all the traffic of independent disk of the virtual machine.

    That's why the only VM knows how to send SCSI comarnds to her hyperviser who then rewrote the comarnds and sends it to the virtual disk files.

    This is why each VM has access to its own virtual disk and nothing else on the data store.

    So if one of the VMS is hacked, data on this virtual machine will be on display, but that's all.

    The virtual machines that are running on these clusters are all independent computing environments. And do not have access to each of the other files.

    Consider as turning several independent servers. It cannot write to other discs except via CIFS or similar.

    From what you wrote, you have nic1 and nic2 as a trunk serving admin. and drive networks

    You have 2 different DMZ then nic3 and nic2

    Nic2 therefore seems to be linked to the network disk in the DMZ.

    It is a major problem. Since then, if one of the virtual machines in the DMZ is compromised, VM said could speak to the SAN via NFS (since they are on the same layer 2 network) and this will expose the hard for other virtual machines (possibly internal) files.

    This assumes that there no VLAN involved. Because if the DMZ and the disc of the net are on different VLANS this problem does not occur.

    If it is typo and the network admin and the drive is on nic0 and nic1 or there is configuration of VLANS to separate the traffic of layer 2, then there is no problem with this Setup, even if a virtual DMZ computer is hacked.

    Concerning

    Cyclooctane

  • Help! Data disc lost under "browse data warehouses.

    I use a domain controller to Win2K3 on the free version of esxi 4.0 Vsphere.

    I added a VHD independent on a physical disk separate SATA installed on the same machine.

    I brought the server to change from 1 CPU 2 CPU. When I went to power it back up, I get an error that says:

    "File & lt; filename not specified & gt; not found ".

    I tried to change settings back to 1 CPU without success.

    So, I created a new virtual machine custom and pointing the virtual disk from the server, no problem.

    But when I add the second virtual disk (data drive) via VSphere Client and get the dialog "browse data warehouses."

    the dialog box appears even if empty, if I ssh to the machine I can see the virtual disk file.

    Can someone help me?

    Here is the virtual disk, I need to add but is not seen via VSphere client:

    / vmfs/volumes/4afac8a0-7fd783d3-bc9f-0019b93534d4/Win2k3-DC1 # ls - al

    drwxrwxrwx 1 root root 420 25 October 00:56.

    drwxr-xr-t 1 root root 1120 Oct 25 00:55...

    -rw - 1 root root 1495335814144 25 October 00:26 Win2K3-DC1_1 - flat hard

    I guess the fact that Vsphere has trouble seeing this file is why the original does not come to the top.

    Help, please!

    Flat hard-DC1_1-Win2k3 maybe your data, please save it first.

    I don't know the commands below works or not, you can have a try.

    1, / vmfs/volumes/4afac8a0-7fd783d3-bc9f-0019b93534d4/Win2K3-DC1 cd.

    2, cp, Win2K3 Win2K3-DC1_1 - flat hard-DC1_1 - flat hard .backup

    3, vmkfstools - c 1 g Win2K3 - DC1_recovery.vmdk

    4, vi Win2K3 - DC1_recovery.vmdk and change

    RW 2097152 VMFS "Win2K3-DC1_recovery - flat hard."

    TO

    RW 2920577762 VMFS "Win2K3-DC1_1 - flat hard."

    5, turn on your vm and add Win2K3 - DC1_recovery.vmdk

    Binoche, VMware VCP, Cisco CCNA

  • displacement of the configurations of lab manager between the ESX server host computers / data warehouses

    Hello

    Is it possible to move configurations of lab manager between the ESX server host computers / data warehouses? I don't see an option in the library & gt; Clone library. Thank you!

    Recently, I used SSMove to migrate our datastore LM set a new LUN.  It's really simple to use.  This KB gives complete instructions on SSMove http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1006694&sliceId=1&docTypeID=DT_KB_1_1&dialogID=8456583&stateId=0%200%209407965

    See you soon

    Paul

Maybe you are looking for

  • Download driver for Satellite A60 files - what is winzip?

    First a all someone can explain to me what winzip is, and what is its role. Now l will tell you why, l just downloaded driver files to screen for my A60 laptop, and it said downloaded files can be opened and extracted using winzip. It says link winzi

  • C460 cannot recover the factory DVD

    I'm trying to restore my factory default using the DVD provided 6 plant C460. To try the I do I receive this error about 40% in the process: RECOVERY FAILED PureRunMops Fail. No driver found ACB! Test 1 mops fail. Any help would be appreciated.

  • Why do not work?

    Could someone help me out here... and tell me why the second image don't work... because the first works... and unique difference because in the last 4 sons, I have the wire to a switch case and depends on the result in another VI I made a few simple

  • DLL errors - help

    1. how to resolve the following error message: C:\Windows\neti35.dll "module is not found." 2. how to resolve the following error message: C:\Windows\iqawelohawuro.dll "module is not found."

  • problem at startup of the laptop

    Whenever I have my first computer statr, it seems that it starts normally, but just after the hp logo a blue screen appears a TI said: "there is a problem n restart again" and just below another line says that System_error_exception... After this res