Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all 24426 articles
Browse latest View live

vMotion not showing available hosts

$
0
0

I've just completed an upgrade from 3 x ESXi 5.0 hosts and a vCenter 5.1 appliance (Essentials Plus) to ESXi 6.0.5050593 and VCSA 6.5.5973321. This is a fully supported VMware setup. I upgraded the licenses and applied them to the new setup ok.

 

One very strange observation is that when I try and vmotion a VM to another host, if I select 'Change compute resource only', invariably the only destination host I'll see is the host the VM is currently running on - no other cluster hosts will show. If though, I select 'Change both compute resource and storage', I can expand the cluster and see all hosts. This method of migrating the VM will work, but I have to 'fake' a datastore change selection.

 

Things I've verified are;

 

It happens in both the Flash and HTML UI's.

Sometimes I will see all the migration hosts, but not all the time and very inconsistently

The message pre-migration will always show 'Compatability checks succeeded'.

 

I thought initially it was out of date VMware Tools, and it certainly looked more promising when tools was updated to 10.0.9 (build 10249), but then it all seemed to revert back and the same things happen. Is this a bug? I know I'm not running the latest ESXi version, or even the latest build of ESXi 6.0, but I'm not quite ready for that yet. It never happened in 5.x.

 

Ideas?

 

Thanks


vCenter Appliance Certificate

$
0
0

I'm just about to install a new vCenter 6.5 appliance. I need to use our company's signed certificate so we don't get the warning each time we open the web client. I know certs can be a pain so was wondering if there is a way/guide to install the appliance using the VMware certificate that comes with the install. Export this certfiicate and certify it within our company certficates?

vCSA 6.0U2 -> 6.5 Upgrade Fails with VIX error

$
0
0

I'm attempting to upgrade my lab vCSA from 6.0U2 to 6.5, using the GUI on a Windows 10 machine, however it fails with the error "A problem occurred while getting data from the source vCenter Server."


I'm getting the following errors in the logs:

 

2016-11-16T04:33:20.362Z - info: VM with hostName vcenter.<redacted>: { _type: 'VirtualMachine',
  _moid: 'vm-281',
  config: { template: false },
  guest:
   { hostName: 'vcenter',
     ipAddress: '172.16.1.210',
     net: [ [Object] ] },
  name: 'vCenter 6',
  summary:
   { storage:
      { committed: 88573757853,
        uncommitted: 42716880896,
        unshared: 88572180157,
        timestamp: 2016-11-16T02:57:13.284Z } } }
2016-11-16T04:33:20.362Z - info: VM Identifier for Source VC: vm-281
2016-11-16T04:33:20.435Z - debug: initiateFileTransferFromGuest error: ServerFaultCode: A general system error occurred: vix error codes = (1, 4294967292).

 

2016-11-16T04:33:20.436Z - debug: Failed to get fileTransferInfo:ServerFaultCode: A general system error occurred: vix error codes = (1, 4294967292).

 

2016-11-16T04:33:20.436Z - debug: Failed to get url of file in guest vm:ServerFaultCode: A general system error occurred: vix error codes = (1, 4294967292).

 

2016-11-16T04:33:20.436Z - error: Error in getting fileData for nodeType. Error: ServerFaultCode: A general system error occurred: vix error codes = (1, 4294967292).

 

2016-11-16T04:33:20.436Z - error: Failed to read the nodetype, Error: A general system error occurred: vix error codes = (1, 4294967292).

 

2016-11-16T04:33:20.436Z - error: sourcePrecheck: error in getting source Info: ServerFaultCode: A general system error occurred: vix error codes = (1, 4294967292).

 

----

The vmware.log file for the vCSA VM only shows this:

 

2016-11-16T04:33:58.183Z| vmx| I125: VigorTransportProcessClientPayload: opID=388cfbff-46-fede seq=6928: Receiving GuestOps.InitiateFileTransferFromGuest request.
2016-11-16T04:33:58.269Z| vcpu-1| I125: VigorTransport_ServerSendResponse opID=388cfbff-46-fede seq=6928: Completed GuestOps request.

 

---

I tried turning up the logging on the vmware tools in the guest, but no additional logs were generated, so I'm at a dead end.

 

Any ideas would be appreciated.

Getting started with Powershell reporting on VMWare - help needed

$
0
0

Please excuse me because I am not a VMware specialist.   I am a DBA and I need to use Powershell to dynamically report on what VMs on are on what VMHosts, connected LUNs, etc.   Just read only stuff.   Our VMware expert doesn't know how to get this kind of reporting working and doesn't have the time anyway, so here I am.  :-)    In simple terms, what do we have to do get this basic kind of Powershell reporting on VMware working?  

vSphere 6.5 + Host Profiles + vDS Networks

$
0
0

Hello,

 

Was wondering if anyone could help, i'm trying to setup a Host Profile from a reference host and apply that same profile to 7 other hosts.

 

I created a vanilla host never used but fully configured, I applied the host profile to another vanilla host that only was added to vcenter and accessible by vcenter.

 

When I apply the host profile the host stops communicating to vCenter, and all PING packets start getting dropped.

 

When I connect via console to the host, i've noticed the Management Services show a 0.0.0.0 I am no longer able to configure Management Networks and am forced to reset the management network.

 

When I finally get the host back accessible in vcenter, I look at the configuration set so far, and all vDS Networks are configured, but the Management VMKernel is still on vSwitch0 and no physical NICs are applied to any of the vDS Uplinks.

 

Does anyone have any logs I can look at, when I look at hostd.log I'm not seeing anything worthwhile, but I could be missing something, any help would be great, thanks!

vCenter HTML5 plugin.xml icon

$
0
0

I'm converting my existing Flex plug-in to HTML 5.  I've eliminated the Flex portion and implemented the HTML5 portion.

Everything works great except for one thing.  I can't get an icon to show up.  In my plugin.xml file for the <icon> tag

I've tried

../../assets/images/Company-Icon-N-16x16.png

../assets/images/Company-Icon-N-16x16.png

/assets/images/Company-Icon-N-16x16.png

/vsphere-client/company-war-4.0.0-SNAPSHOT/assets/images/Company-Icon-N-16x16.png

company-war-4.0.0-SNAPSHOT//assets/images/Company-Icon-N-16x16.png

/vsphere-client/company-war-4.0.0-SNAPSHOT/assets/images/Company-Icon-N-16x16.png

 

Here's a plugin.xml snippet:

 

<pluginid="com.company.MyCompany">

 

    <!-- Global Config view -->  

   <extensionid="com.company.views.global.GlobalSolidFireJS">

      <extendedPoint>vise.global.views</extendedPoint>

      <object>

         <name>Company Configuration</name>

         <icon>../../assets/images/Company-Icon-N-16x16.png</icon>

         <componentClassclassName="com.vmware.vsphere.client.htmlbridge.HtmlView">

            <object>

                <root>

                    <url>/vsphere-client/company-war-4.0.0-SNAPSHOT/index.html</url>

                </root>

            </object>

         </componentClass>

      </object>

      <metadata>

            <privilege>Datastore.AllocateSpace,Datastore.Browse,Datastore.Delete,Datastore.DeleteFile,Datastore.FileManagement,Datastore.Move,Datastore.Rename</privilege>

      </metadata>    

   </extension>

 

What's a programmer got to do to get any icon to show up?

I would prefer NOT to have a .properties file, just the path to the file.

I also noticed that the HTML5 samples in the SDK have both src/main/locale and src/main/webapp/locales/en_US directories with property files in each.

This is confusing to me.

 

   Best Regards,

       Michael

Retrieving User AD Object

$
0
0

I need to update a field in AD on a computer object that requires a user object. Currently I am splitting the request owner and get the login ID.  I need to find the corresponding user object. I am able to find the computer name easily but the user object has been a pain to find so far.

 

var name = userName.split('@');

userName = name[0];

user = Server.findAllForType("AD:User", "userName")

Where Does vCenter Fit In?


vSphere Client (HTML5) discussion/screenshot thread

$
0
0

Let's use this thread to upload screenshots for vSphere Client (HTML5) related discussions.

Screenshot at Dec 22 10-03-49.png

Error Gen Failure Join VCSA 5.5 - 6.0 to a domain

$
0
0

Hi Guys

 

 

Currently i have a big problem trying to join a VCSA 5.5 and 6.0 to a domain it always get the same error, i double checked the DNS, name resolution, netbios and NTP with everithing working well, here is the output.

 

darth:~ # /opt/likewise/bin/domainjoin-cli join presidencia.int Administrador

Joining to AD Domain:   presidencia.int

With Computer DNS Name: darth.presidencia.int

 

 

Administrador@PRESIDENCIA.INT's password:

 

 

Error: ERROR_GEN_FAILURE [code 0x0000001f]

 

I'm currently out of ideas, already cheked the win 2012R2 domain netbios issue and does not apply in this case the netbios name of the domain is the same.

 

The error didnt help so mucho to find out what happen.

 

have any ideas i will appreciate.

 

Best Regards

 

Julian

VCSA6.5 Backup via FTP FAIL

$
0
0

Hi all.

 

Installed VCSA6.5 last week. Latest build number 6.5.0.11000

 

Figured its been running over the weekend, all is good and healthy, so lets go do a Backup.

 

I create the FTP backup job from the web interface where you manage this stuff (xxx.xxx.xxx.xxx:5480) Summary\Backup.

 

The backup seems to start...and then sits there.....doing absolutely NOTHING. 20 min later still at 0%.

So...lets Cancel the Backup.

 

ERROR:

Failed to cancel backup. undefined  >>>>>>ARRRRG

 

The FTP Location does seem to have some files....like:

rbd.gz

lotus_backup.tar.gz

statsmonitor_db_backup.gz

vum.gz

imagebuilder.gz

database_full_backup.tar.gz

wal_dir_struct.tar.gz

wal_backup_1.tar.gz

full_wal_backup_meta_tar.gz

config_files.tar.gz

backup-metadata.json

 

About 770MB

 

CANNOT EXIT BACKUP WINDOW:

ONLY way to get out of this is to reload the Browser, then I go back into "Backup" and ALL my settings are gone. Brilliant!

Backup NEVER progresses.....I CANNOT Cancel the Backup.....and it looks like its doing something as files are on the destination, but are they complete?? is the backup in a consistent state that I can count on? Who knows.....its a crap shoot.

 

I would say this really needs to be BULLET PROFF...yes?? I also heard that "image" backups..like using VEEAM...will also not work...is this true too??

 

If so...then at this point in my journey, I have ZERO ability to backup this appliance. 100%FAIL

Cancelling a cold datastore migration

$
0
0

Hi All!

 

Is this safe to do? I've found two articles that have kind of mixed feedback. Unfortunately its around 1.7TB and has been running since early Saturday morning, now being Monday morning the server is needed. I've been trying to understand the process, is it copying the files so I should be able to cancel and just boot up from the original datastore. I believe its taking so long as this server currently resides on a very ancient SAN which I've slowly been taking everything off as I'm worried about its health. Its currently at 55% and I would say been running for about 76 hours.

 

Must add this is a UAT server and we don't have the capability of backing it up...

 

I'm pretty new to this! Thanks

Warning Icon - Current version is not the latest version

$
0
0

My group is developing a new package of workflows using Orchestrator 7.3. Recently I used the Package command Increment Version to set the version of all elements to 1.0.0.

In the Design mode, with some workflows selected and the General tab displayed, there is a yellow triangle with an exclamation mark inside it, next to the version. Hovering the mouse over it displays the message "Current version is not the latest version". This doesn't happen with all of the workflows or other elements, but with quite a few. There are no later versions of these elements.

What is this telling me exactly? What can i do to fix this?

Capture.PNG

VRO Rest Api 7.3 requestion Workflow Executions Logs returns empty array

$
0
0

Hi,

in our Web Client Plug-in, we start workflows, and show a history of the executions for these workflows.  We include the workflow logs in our gui.

When testing with 7.3, I noticed that the logs aways return as an empty array - I don't know when this has changed, our funtionality has been working for about 2 years -

I checked the docu for the api, and as far as I can see, it has not changed. I tried to get logs from vCenter workflows as well (for example, Configure a vCenter Instance) - but these logs also are empty.  Is there anything known about this?

Heres how I call the logs

https://<vroServer>:8281/vco/api/workflows/<workflowId>/executions/<executionId>/logs

 

I get a response code of 200, and the data returned is :

{"logs":[]}

 

This happens on all workflows that I have tried, although they use both  System.log and  Server.log  to log information, and the logs are visible in the vRO.

Thanks for any help

Cathy

 

 

 

SRA Code Sample or specs

$
0
0

Hi,

I need to write an SRA (Storage Replication Adapter) for a storage device. I am not able to find the SRA spec nor any sample code.

Please provide me links or any documentation you have for developing SRA.

with regards,

Val


Where can I find good info on vcm?

$
0
0

Can somebody recommand some good websites/blogs/persons to follow regarding vcmn(other the the official VMware ones)

After a datastore migration vCenter throwing errors trying to delete files on old datastores that no longer exist.

$
0
0

After a datastore migration, we are seeing vcenter logging errors about trying to delete a file. The files are all pointing at the old datastore. We are not sure where these references are or how to clear them up. As I say the VMs have all migrated to new storage and are running fine, we are just seeing a few entries like the image below "invalid datastore path"

 

vmwareerrors2.PNG

os crash or reboot email alerts

$
0
0

ESXi 6.0U3

vCenter 6.0U3b

 

How can an email notification be generated through vcenter any time this event occurs either at the host or vm level?

host: "Guest operating system has crashed"

VM: "This virtual machine's guest operating system has crashed"

 

is there also a way to generate an email notification through vcenter any time a vm is rebooted when the reboot was triggered through the OS and not through vmware tools?

.

Flash 183 update - vcenter text unreadable

$
0
0

Im in Firefox 56.0.1, Flash 27.0.0.183

unknown-N6O08Y.png

New Environment Planning

$
0
0

Hi,

 

We are about to plan the implementation of a new vsphere environment to replace a current entirely physical one, are there any tools we can use to better plan it, as its for a customer, they will likely want to see pretty graphs etc and charts initially.

Viewing all 24426 articles
Browse latest View live


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