get Notes Annotations using com.vmware.library.vc.customattribute
I use VMware Orchestrator to create a workflow to automatically populate custom attributes (annotations) as part of my VM delivery process however I can't seem to find a way to set or get the value of the Notes field.
Any ideas? I guess that it is pulled
var vmNotes is System.getModule("com.vmware.library.vc.customattribute").getCustomField (vmObject, 'Notes');.
Does not work.
Sorry answered my own question
Re: Write VirtualMachineConfigInfo Annotation
Tags: VMware
Similar Questions
-
Try to get our host vCAC recognize/import the type Dynamics/object classes and create custom resources. The call to action 'createCustomResourceFromInventoryType '. The inventory of the available dynamic types is not returned. As vCO using test research of the api; I see the DynamicTypes under the namespace created for them. Of course, they exist in the inventory of vco under dynamic types. Test the code below:
type host = vCACCAFE:VCACHost
var inventoryTypes = System.getModule("com.vmware.library.vcaccafe.asd.customresources").getAvailableInventoryTypes (host);
for each (var inventoryType in inventoryTypes)
{
If (inventoryType.GetName (). IndexOf ('case'). = -1)
System.log (inventoryType.GetName ());
}
Basically just get returned undefined. It doesn't seem like a problem of vCO. It seems that just vCAC is unable to recognize the dynamic types.
Have had problems with vCAC and DT vCO plugins in the past and have tried several permutations of plugin removal/relocation, (KB2003386) including the file, restart the server and delete Configurator package & dar and then reload. These versions using:
DynamicTypes 1.0.0.1951696
vCAC 6.1.0.2073620
vCAC Infra 6.1.0.2040915
something stupid in the end... Turns out be the default vCO server which is the embedded server vCO in vCAC. Replace that in the Red hight of the vCO uses the vCAC org - and it's good.
-
I have only 7 GB of 288 free FEPs GB on C:... There are massive hidden temporary internet files. They get not deleted using tools of IE... cant remove using BACK or using tools for Explorer?
Temporary Internet files are HIDDEN... they are in the C:\Users\Peter\AppData\Local\Microsoft\Windows\Temporary Internet Files directory
How to remove the contents of the temporary Internet files folder:
http://support.Microsoft.com/kb/260897
Vista - strategies to free disk space:
http://Windows.Microsoft.com/en-us/Windows-Vista/strategies-for-freeing-disk-space
-
Hello
I can't find the com.vmware.library.vcenter package in vCenter Applicance 5.5... am I a loser?
I would like to find as in orhestrator 5.0 (I need some some basic workflows without manually exporting ^^)
Thank you
Concerning
It belongs to vCenter plugin must be installed by default. Could you check in the Configurator Web-> Plugins page plug-in vcenter is marked as being installed?
Could you try to re - install the vCenter plug-in? There is an option in the Web Configurator-> troubleshooting page for re - install plug-ins on the next reboot of the server.
-
I get the error message "com.vmware.vcloud.sdk.VCloudException: resource not found" for vdc.instantiateVappTemplate API call with vCD Server 5.1.I tried with two customer VCDs 1.5 and 5.1. Please notify.Here is the code snippet
Parameters InstantiateVAppTemplateParamsType = new InstantiateVAppTemplateParamsType();
parameters.setName (vappName);
parameters.setSource (vappTemplate.getReference ());
parameters.setInstantiationParams (networkParams);
vdc.instantiateVappTemplate (parameters);Reqauest URI and body:
<? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >
" < ns6:InstantiateVAppTemplateParams xmlns =" http://www.VMware.com/vCloud/versions "xmlns:ns2 =" http://schemas.dmtf.org/OVF/Envelope/1 "xmlns:ns3 =" http://schemas.dmtf.org/wbem/wscim/1/Common "xmlns:ns4 =" http://schemas.dmtf.org/wbem/wscim/1/CIM-Schema/2/CIM_VirtualSystemSettingData "xmlns:ns5 =" http://schemas.dmtf.org/wbem/wscim/1/CIM-Schema/2/CIM_ResourceAllocationSettingData "xmlns:ns6 =" http://www.VMware.com/vCloud/v1.5 "xmlns:ns7 =" http://www.VMware.com/Schema/OVF "xmlns:ns8 =" http://schemas.dmtf.org/OVF/Environment/1 "xmlns:ns9 =" http://www.VMware.com/vCloud/extension/v1.5 "name ="vApp_amit-2"> " "" "" "" ""
< ns6:InstantiationParams >
< ns6:NetworkConfigSection >
< ns2:Info / >
< ns6:NetworkConfig networkName = "1" >
< ns6:Configuration >
"" < ns6:ParentNetwork type="application/vnd.vmware.admin.network+xml" name = "Network1" href = " https://vCD5.1_Server/API/Admin/network/44fea373-8c51-4403-b97e-3dbc4b770eda "/>
Bridge of < ns6:FenceMode > < / ns6:FenceMode >
< / ns6:Configuration >
< / ns6:NetworkConfig >
< / ns6:NetworkConfigSection >
< / ns6:InstantiationParams >
" < ns6:Source type="application/vnd.vmware.vcloud.vAppTemplate+xml "name ="Win2008R2"id =" "urn: vcloud:vapptemplate:a47ada7e-24b6-457f-9578-f1d2f2304dec" href =" " https://vCD5.1_Server/API/vAppTemplate/vappTemplate-a47ada7e-24b6-457f-9578-f1d2f2304dec "/>
< / ns6:InstantiateVAppTemplateParams >Hello
Instead of queryReferences(), use the queryIdRecords() method.
RefRes ReferenceResult = queryService.queryIdRecords (QueryRecordType.ADMINORGVDC);
{for (RecordResult
RV: {refRes.getRecords ())}
If (vr.getName () .equals (vdcName)) {}
VCC = Vdc.getVdcById (admin, vr.getId ());}
In this way don't worry about whether the returned reference (containing href, mediatype and name) is API-API/Admin user.
ORGVDC - request user Org/tenant - this will not work if you are a user/Admin Org.
ADMINORGVDC - query the system Admin user - this will not work if you are a system administrator.
Kind regards
Rajesh Kamal.
-
Hello
I have a workflow creates a task waiting because it has the performance to help
trigger = System.getModule("com.vmware.library.vCloud.common").createEndOfTaskTriggerForTask (task);
and then a workflow element "event pending."
Unfortunately, the workflow is now stuck in State "waiting sign" and I see the following exception which crosses the catalina.out app-server
INFO: Response - <? XML version = "1.0" encoding = "UTF-8"? >
" < task xmlns =" " http://www.VMware.com/vCloud/v1.5 "status = 'success' startTime ="2014-08 - 07 T 15: 25:29.853 + 02:00"serviceNamespace ="com.vmware.vcloud ' operationName = operation"vappUpdateVm"=" updated Virtua "
"Machine node1 (f088e966-1a17-4d46-99ea-2395c3f3a618) l' expiryTime =" "2014-11 - 05 T 15: 25:29.853 + 01:00" endTime = "2014-08 - 07 T 15: 25:36.623 + 02:00" a cancelRequested = "false" name = 'task' id = "urn: vcloud:task:c2e0".
"" " b564-d7f8-468f-b602-f9e8ee495c44" type="application/vnd.vmware.vcloud.task+xml" href = " https://VCD.He.foobar.info/API/task/c2e0b564-d7f8-468F-B602-f9e8ee495c44 "" xmlns: xsi = " http://www.w3.org/2001/XML "
-L'instance of the schema "xsi: schemaLocation =" http://www.VMware.com/vCloud/v1.5 http://vcd.he.foobar.info/api/v1.5/schema/master.xsd' > .
"" < type="application/vnd.vmware.vcloud.vm+xml owner" name = "Node1" href = " https://VCD.He.foobar.info/API/vApp/VM-f088e966-1a17-4d46-99ea-2395c3f3a618 "/ > "
"" < user type="application/vnd.vmware.admin.user+xml" name = "vco" href = " https://VCD.He.foobar.info/API/Admin/user/777db7f3-1f41-4934-85A4-346efd78a8c1 "/ > "
"" < type="application/vnd.vmware.vcloud.org+xml organization" name = 'Production' href = ' https://VCD.He.foobar.info/API/org/c594d7a6-2c9b-4853-b0d0-74bdb107e23c "/ > "
< details / >
< / task >
15:41:52.195 07-08-2014 + 0200 [1c47251c586f3e4a7ef329bcdc4da3b9abbfa3d46eda3164d3ffd7537285b3.data] ERROR {c.becker:Wait for a task: 508080808080808080808080808080809980808001266312685778e677578588f:f}
{ f808081476970030147b0a5347a00ae} [DiskStorageFactory] Disk writing of https://vcd.he.foobar.info/api/task/c2e0b564-d7f8-468f-b602-f9e8ee495c44 failed:
java.io.NotSerializableException: com.vmware.vcloud.sdk.Task
at java.io.ObjectOutputStream.writeObject0 (unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields (unknown Source)
the impossible (unknown Source)
at net.sf.ehcache.Element.writeObject(Element.java:835)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
at java.lang.reflect.Method.invoke (unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject (unknown Source)
at java.io.ObjectOutputStream.writeSerialData (unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject (unknown Source)
at java.io.ObjectOutputStream.writeObject0 (unknown Source)
at java.io.ObjectOutputStream.writeObject (unknown Source)
at net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97)
at net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:405)
at net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:384)
to net.sf.ehcache.store.disk.DiskStorageFactory$ DiskWriteTask.call (DiskStorageFactory.java:485)
to net.sf.ehcache.store.disk.DiskStorageFactory$ PersistentDiskWriteTask.call (DiskStorageFactory.java:1088)
to net.sf.ehcache.store.disk.DiskStorageFactory$ PersistentDiskWriteTask.call (DiskStorageFactory.java:1072)
at java.util.concurrent.FutureTask.run (unknown Source)
to java.util.concurrent.ScheduledThreadPoolExecutor$ ScheduledFutureTask.access$ 201 (unknown Source)
to java.util.concurrent.ScheduledThreadPoolExecutor$ ScheduledFutureTask.run (unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)
to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)
at java.lang.Thread.run (unknown Source)
Does anyone has an idea what is the cause?
We use vCO 5.5.1 and the workflow even worked before on a different node with the same version - we just moved by export of package and it imported into the new facility.
From what I recall, it is a known problem with the vCD plug-in that was resolved with a technical preview that was posted on the document tab.
-
My Media Player is not let him come his pass. I tired FixIt and followed all the links there and I still can't get media player to read suggestions?
original title: Windows Audio recordingHello
(1) what version of the Windows operating system is installed on your computer?
(2) did you of recent changes to the computer before the show?
(3) what is the file format of the files you are trying to play?
(4) you get an error message?
(5) you are able to hear the sound of Windows and other applications?
(6) that Microsoft Fixit ran?
You can try the following methods and check if it helps.
Method 1: No sound in Windows
http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-WindowsMethod 2: Problems running Windows Media Player
Open the troubleshooting Windows Media Player settings Troubleshooter by clicking the Start button, then Control Panel. In the search box, type Troubleshooting, and then click Troubleshooting. Click view all, and then click the Windows Media Player settings.
See this link:
http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter
Method 3: Solving problems run Windows Media Player library
http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-library-Troubleshooter
-
Original title: need help please
Please help me I've tried for hours just can't find it try to load the game from the internet charge just before its opening, he said
error entry point decode pointer could not be located in the Library dynamic link kernel32.dll also tried to download directx said same thing for me
Please help me thanks
pHello
I suggest you try to run the System File Checker
http://support.Microsoft.com/kb/310747It will be useful.
-
Original title: remove unnecessary files
I need to remove the uneeded files: Purenetworks and PCFix. But I get: not deletenmrsrc.dll: access denied make sure the disk is not full or write protected and that the file is not in use.
Ditto for PCFIX.exe.
How can I remove these and clean unnecessary files? Thank you.
Hello
1. how exactly you are trying to remove it?
2 have you connected the administrator account?Step 1: Check if the problem persists in the clean boot state.
From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".
Reference:
How to configure Windows XP to start in a "clean boot" State
http://support.Microsoft.com/kb/310353
When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
1. click on start and then click Run.
2. type msconfig and click OK.
The System Configuration Utility dialog box appears.
3. click on the tab general, click Normal Startup - load all services and device drivers and then click OK.
4. When prompted, click on restart to restart the computer.
Step 2: Take possession of these program at the following location folder, and then check the issue. C:\Program Files\
Reference: How is ownership of a file or a folder in Windows XP
-
I get an error pop-up that says that Web page contains content that is not delivered using a secure HTTPS connection, but likely to compromise the security of the entire webpage, whatever that means
In "BOLD" on the very top of the ther security warning she also ask you want to view only the webpage content that was delivered safely?
original title: HTTPS connection issues
You are using Internet Explorer 8?
This article describes the causes of this message and how you can remove:
http://blogs.msdn.com/b/ieinternals/archive/2009/06/22/HTTPS-mixed-content-in-IE8.aspx
Information on the changes in Internet Explorer 9 is available here:
-
Get "Not responding" when you use law ON the.
Get "Not responding" after each keystroke when you use law on the. I see the message and then after about 10-15 seconds, if you press the tab key. Literally, it happens after every key stroke. I've never had this happen before. My laptop has Windows 8. At this rate, it'll take a week to complete my tax return.
Hello
Thank you for your response.
I'm sorry for the late reply.
I appreciate your efforts to resolve the issue.
I suggest you run the system file checker (SFC) and see if it helps.
Reference:
Use the System File Checker tool to repair missing or corrupted system files
http://support.Microsoft.com/kb/929833System File Checker is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files.
Note: It can ask the difficulty Windows installation DVD and allowing SFC to do more than minor repairs. Could some of the files saved on your computer are deleted when fixing corrupted files.
Please keep us updated on the status of the issue.
Thank you
-
Get - VM: with "xyz" name VM is not found using the specified filters.
Hello everyone!
I have a script that reads a CSV with multiple host names, to connect to vCenter and should get the name of host, ip and PortGroup information to generate an external file of CSV.
It happens that several cases vm does not exist in vCenter and returns me the below error:Get - vm: 04/07/2016-14:41:58 Get - VM VM with the name "pxl1sso00008" was not found using the specified filters. No caractere:31 of C:\Users\f3135606\Desktop\vmTeste1.ps1:25
+ foreach ($vmName in $vmList) {get - vm $vmName |} Select Name, @{N = "Network"; e = {$_...}}
+ ~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (:)) [Get - VM], VimException) + FullyQualifiedErrorId: Core_OutputHelper_WriteNotFoundError, VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVM
How would I do to get the information from an input file, see the vCenter and if this positive results write the file, ignoring errors. Ideally, if not to find the machine, simply create a line in the output file with only the hostname with the rest in white.
Follow the .ps1 file:$vmlist = Get-Content C:\vmnames.csv if (!(Get-PSSnapin -Name VMware.VimAutomation.Core -ErrorAction SilentlyContinue)) { Add-PSSnapin VMware* Set-PowerCLIConfiguration -DisplayDeprecationWarnings $false -DefaultVIServerMode multiple -InvalidCertificateAction Ignore -Scope Session -ProxyPolicy NoProxy -Confirm:$false | Out-Null [void](Get-PSSnapin VMWare.VimAutomation.Core -ErrorVariable getVmwareSnapinErr 2> $null) if ($getVmwareSnapinErr.Count -gt 0) { Add-PSSnapin VMware.VimAutomation.Core } } $VCconn = Connect-VIServer $vCenter -User $vUsuario -Password $vPass > $null foreach ($vmName in $vmList) {get-vm $vmName| Select Name, @{N="Network"; e={ $_ | get-networkadapter|Select-Object @{N="Network";E={$_.NetworkName}}} }, @{N="IP Address";E={@($_.guest.IPAddress[0])}}|Export-Csv –path c:\scripts\vlans.csv –NoTypeInformation}
Laurent,
See below... should get what you want... If the virtual machine is not found that it only allows to correct the virtual computer name in the output.
$vmlist = Get-Content C:\vmnames.csv if (!(Get-PSSnapin -Name VMware.VimAutomation.Core -ErrorAction SilentlyContinue)) { Add-PSSnapin VMware* Set-PowerCLIConfiguration -DisplayDeprecationWarnings $false -DefaultVIServerMode multiple -InvalidCertificateAction Ignore -Scope Session -ProxyPolicy NoProxy -Confirm:$false | Out-Null [void](Get-PSSnapin VMWare.VimAutomation.Core -ErrorVariable getVmwareSnapinErr 2> $null) if ($getVmwareSnapinErr.Count -gt 0) { Add-PSSnapin VMware.VimAutomation.Core } } $VCconn = Connect-VIServer $vCenter -User $vUsuario -Password $vPass > $null $arrVMInfo = @() foreach ($vmName in $vmList) { $vm = get-vm $vmName -ErrorAction SilentlyContinue -ErrorVariable VMError | Select Name, @{N="Network";E={ $_ | get-networkadapter | Select-Object @{N="Network";E={$_.NetworkName}}} }, @{N="IPAddress";E={@($_.guest.IPAddress[0])}} if ($vm -eq $null) { $arrVMInfo += New-Object PSObject -Property @{ ` Name=$vmName ` } } else { $arrVMInfo += New-Object PSObject -Property @{ ` "Name"=$vm.name; ` "Network"=$vm.Network.Network; ` "IP Address"=$vm.IPAddress ` } } } $arrVMInfo | Select Name, Network, "IP Address" | Export-Csv "c:\scripts\vlans.csv" -NoTypeInformation
-
com.vmware.ui.lists.ColumnSetContainer obsolete since the Sdk 5.5 not supported in HTML. plugins that display in the object list. I tried the sample HTML plugins. ChassisA and chassiB but, but the workspace object is empty
Looking forward to a quick response.
Thanks in advance.
Kind regards
Rouault.
The plugin.xml samples of chassisA or chassisB show how to set the object lists without using the deprecated ColumnSetContainer. Make sure that you follow closely these samples and it should work for your own plugin. Otherwise, you will need to provide a way for us to reproduce your problem. Thank you.
-
For vSphere Client Web plugin, I created a Service of java, I try to create a store of data to the ESX host using JAVA VI... I have included
import com.vmware.vim25.*; import com.vmware.vim25.mo.*;
the files in the service implementation and included external JARS to STS environment and created a function to list all hosts
public List<String> listVcHosts() throws Exception{ ManagedEntity[] hosts = new InventoryNavigator(rootFolder).searchManagedEntities("HostSystem"); List<String> listHosts = new ArrayList<String>(); for( ManagedEntity me : hosts ) { HostSystem host = (HostSystem) me; //Adding the list of hosts in List listHosts.add(host.getName().toString()); } return listHosts; }
When will execute as JAVA Application of STS his works fine without the caveats...
I copied JARS in file server/Pick-up and try to deploy services in VIRGIN...
His throw
An Import-Package could not be resolved. Caused by missing constraint in bundle <com.xx.xxx.xxxx_1.0.0> constraint: <Import-Package: com.vmware.vim25.mo; version="0.0.0">
As I said above "it is covered by the use of 3rd party java libraries.
-
Since the update to iTunes 12.4.1.6 I don't see my purchased music. When I try to import my old playlists I get a message saying that the library is not a valid iTunes library. Thus, thousands of songs and hundreds of films and I can't see or play one. I see my movie library where it is stored on an external hard drive, but my music was on my iMac.
Where all the playlists gone and why didn't appear my entire music library? I checked the preferences and iTunes points to the correct folder, BUT only my music purchased appears...
Same thing happened to me. I tried to replace iTunesLibrary.itl with an older copy, but that has not worked. Then I tried to return a version by resetting the Time Machine's iTunes app, but it would allow me to edit or delete iTunes because it is part of Mac OS X.
So, I can not sync my iPad or iPhone, update all apps or find my music, that is, the course of the odf, still on my hard drive. ITunes just can't see the library.
The difficulty of this Apple.
Maybe you are looking for
-
Cannot change the default search to Firefox 20 engine
I use Windows 20 and recently install Freemake Video Downloader. I remember that I did not check the "Make Freemake my default search provider" installation of the product. But still, Firefox uses as default search engine. I did some research, tellin
-
Display Satellite A200 - 14 d PSAEC doesn't wake up
Hello. I think I have a problem with my display driver in Windows XP.My monitor is set turns off after 15 minutes, when I try to take over (ex: moving the mouse) the screen stays off then I have to restart the computer to update the display. Does any
-
One - Key Recovery does not start in the recovery system (y450)
I am running Windows 7 on a y450 and want to restore a system backup or a factory default. My installation still works, but I would like to go back to an earlier time before some files have become corrupt. No sheet music have been published. I made a
-
"There is no end point for the end point mapper.
Summary of the issueOther issues of Windows Live family safety What version of Windows Live Family Safety do you use? Version 2011 (15.4.3538.513) Choose your operating system version: Windows 7 Additional detailsWhenever I have try and configure the
-
Please help me