Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all 1860 articles
Browse latest View live

vSphere SDK API to get Tags of VirtualMachine (ManagedEntity) from vCenter 5.5

$
0
0

Hi,

 

I am trying to get tags associated with virtual machine in Java using  vSphere 5.5 SDK API. I am retrieving those from valid ManagedEntity (VirtualMachine) object. The problem is retrieved tags array is empty.

 

The documentation at following link says "Experimental. Subject to change.Since vSphere API 4.0"

http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvim.ManagedEntity.html

 

I tried PowerShell cmdlets 'Get-Tag' and its working as expected however I cannot use powershell due to platform compatibility reasons.

 

I wanted to know if tags in ManagedEntity are not supported then what is the the alternative way to get tags for virtual machine and vapp from vCenter using SDK API in Java from linux machine?

 

Thanks and Regards,

SandipH


What is default value of Vcenter Session Timeout and Vcenter Connection Timeout ?

$
0
0

Hi All,

            What is default value of Vcenter Session Timeout and Vcenter Connection Timeout? How can I set some value for it in my Java Code ?

 

Right now, I have done 

                                   javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");

                                   javax.net.ssl.SSLSessionContext sslsc = sc.getServerSessionContext();

                                   sslsc.setSessionTimeout(0);           i.e set session timeout as infinite. But I haven't set any connection timeout. So, in my code when I call sessionIsActive() method it says session is active. But still, I am getting WebServiceException() when I call any vmware api. So, I suspect that the connection is getting terminated after the default time. Please let me know the default value of Vcenter Session Timeout and Vcenter Connection Timeout and the way to set the connection timeout value.

Which is the best way to create a virtual machine with c# some current SDK that works with Visual Studio 2008,2010 or 2012?

$
0
0

I need help to find what is the most current version of the vsphere Web Service SDK or another SDK to create a c# application that could communicate with my VMWare ESXI to create a new Virtual Machine.

I am using Visual Studio 2012 Thanks.

How to raise a custom event and alarm based on the custom event

$
0
0

Hi All,

 

I am trying to create custom event and when this events occurs i want to put the host in maintenance mode. I am trying to do something like this:

 

  private static MethodAction createAction() {

       MethodAction action = new MethodAction();

       action.setName("EnterMaintenanceMode_Task");

       MethodActionArgument argument = new MethodActionArgument();

       argument.setValue(0);

       action.getArgument().addAll(

             Arrays.asList(new MethodActionArgument[] { argument }));

       return action;

    }

 

 

    private static AlarmTriggeringAction createAlarmTriggerAction(

       MethodAction methodAction) throws Exception {

       AlarmTriggeringAction alarmAction = new AlarmTriggeringAction();

       alarmAction.setYellow2Red(true);

       alarmAction.setRed2Yellow(true);

       alarmAction.setGreen2Yellow(true);

       alarmAction.setYellow2Green(true);

       alarmAction.setAction(methodAction);

       return alarmAction;

    }  

 

 

    private static EventAlarmExpression createEventAlarmExpression()

          throws Exception {

       EventAlarmExpression expression = new EventAlarmExpression();

       expression.setEventTypeId("xyz1");

       expression.setObjectType("HostSystem");

       expression.setEventType("EventEx");

       return expression;

    }

   

    private static AlarmSpec createAlarmSpec(AlarmAction action,

       AlarmExpression expression) throws Exception {

       AlarmSpec spec = new AlarmSpec();

       spec.setAction(action);

       spec.setExpression(expression);

       spec.setName(alarm);

       spec.setDescription("temp description");

       spec.setEnabled(true);

       return spec;

    }

   

  public void createEventAlarm(ManagedObjectReference host) {

  try{

    alarmMgr = serviceContent.getAlarmManager();

            rootFolder = serviceContent.getRootFolder();

 

 

         EventAlarmExpression expression = createEventAlarmExpression();

            MethodAction methodAction = createAction();

            AlarmAction alarmAction = createAlarmTriggerAction(methodAction);

            AlarmSpec alarmSpec = createAlarmSpec(alarmAction, expression);

            ManagedObjectReference alarm = _vimPort.createAlarm(alarmMgr, host, alarmSpec);

            } catch (Exception e) {

             System.out.println(e.fillInStackTrace());

         }

     }

 

Can someone point the issue here.

 

Regards,

Vaibhav

retrievePropertiesEx() is throwing an Exception: javax.xml.ws.soap.SOAPFaultException even when sessionIsActive() method says that the session is active.

$
0
0

Hi All,

          I am having a problem while using method/api  retrievePropertiesEx(). retrievePropertiesEx()  is throwing an Exception:  javax.xml.ws.soap.SOAPFaultException: The object has already been deleted or has not been completely created.

But just before retrieving properties, calling the method sessionIsActive() methods says that the session is active. But still I am getting the SOAPFaultException and hence all the subsequent tries to retrieve the properties for different Managed Object References are failing.  But once I reset the connection to Vcenter(i.e disconnecting and reconnecting), everything goes fine and I am able to retrieve the properties.

One thing I observed was that for 2 days, the connection to Vcenter was not reset. On the 2nd day, my request to retrieve properties using retrievePropertiesEx()  started  throwing the exception: javax.xml.ws.soap.SOAPFaultException whenever I tried to retrieve the properties for MORs. This gets solved by resetting the connection to Vcenter. But what is the problem? Is the session not active?  Also, I am not specifying any timeout while connecting to Vcenter. Is there any time-out that is happening from Vcenter side? If it has timed out, then the  sessionIsActive() method should have told me that the session is not valid. Please help me as I am unable to get the problem that is occurring.

Custom Events using VIJAVA

$
0
0

I am creating one custom event using VIJAVA APIs.

While posting that event, I want to change the source of that event or the message of that event.

 

 

I can change the message using following code but web client is not showing my custom event.

 

 

 

  ManagedObjectReference eventManager = serviceContent.getEventManager();

  ExtendedEvent myEvent = new ExtendedEvent();

                GregorianCalendar cal = (GregorianCalendar) Calendar.getInstance();

  myEvent.setCreatedTime(DatatypeFactory.newInstance().newXMLGregorianCalendar(cal));

  String userName = "vcenter.service.instance.user";

  myEvent.setUserName(userName);

  myEvent.setMessage("Trial Event message" + id);

  myEvent.setEventTypeId("Module-1");

  myEvent.setManagedObject(serviceContent.getRootFolder());

  myEvent.setFullFormattedMessage("FullFormat: Module-1 Trial Event message " + id);

  vimPort.postEvent(eventManager, myEvent,null);

 

 

 

 

 

 

 

 

But I can't see my event in web client, I don't know what I am missing here?

Any help would be appreciated.

Thanks in advance.

 

 

Regards,

Bhushan

HTTP download - 500 internal server

Custom events not formatting correctly with WSSDK 5.1

$
0
0

Hello,

 

I'm registering an extension using the VMware vSphere Web Services SDK. The custom tasks and faults I've defined are displayed correctly on the VMware vSphere Client, as well as the vSphere Web Client. The events I defined used to be displayed correctly in both, but when I converted my code from the 5.0 release to 5.1, they are no longer being shown correctly.

 

Instead of seeing something like, "Type: info" and "Description: This is the full format message", the event now looks something like, "Type: XXX Company.Product.CustomEvent.category not found XXX" and "Description: event.Company.Product.CustomEvent.fullFormat (Company.Product.CustomEvent)".

 

The code to register the extension is similar to the following, with some parts omitted, since the tasks and faults are working OK:

 

import com.vmware.vim25.*;

 

public static final String EXTENSION_KEY = "Company.Product";
public static final String CUSTOM_EVENT = EXTENSION_KEY + ".CustomEvent";

 

Extension extension = new Extension();

 

ExtensionEventTypeInfo customEventInfo = new ExtensionEventTypeInfo();
customEventInfo.setEventID(CUSTOM_EVENT);
extension.getEventList().add(customEventInfo);

 

ExtensionResourceInfo customEventResourceInfo = new ExtensionResourceInfo();
customEventResourceInfo.setLocale("en");
customEventResourceInfo.setModule("event");

 

KeyValue customEventCategory = new KeyValue();
customEventCategory.setKey(CUSTOM_EVENT + ".category");
customEventCategory.setValue("info");
customEventResourceInfo.getData().add(customEventCategory);

 

KeyValue customEventLabel = new KeyValue();
customEventLabel.setKey(CUSTOM_EVENT + ".label");
customEventLabel.setValue("This is the label");
customEventResourceInfo.getData().add(customEventLabel);

 

KeyValue customEventSummary = new KeyValue();
customEventSummary.setKey(CUSTOM_EVENT + ".summary");
customEventSummary.setValue("This is the summary");
customEventResourceInfo.getData().add(customEventSummary);

 

KeyValue customEventFormat = new KeyValue();
customEventFormat.setKey(CUSTOM_EVENT + ".fullFormat");
customEventFormat.setValue("This is the full format message");
customEventResourceInfo.getData().add(customEventFormat);

 


The main difference between this and my previous version of the extension is the change to Lists that I need to retrieve before adding objects, instead of adding array of objects.

 

The code I use to create the events looks similar to:

 

ExtendedEvent event = new ExtendedEvent();
event.setEventTypeId(CUSTOM_EVENT);
event.setManagedObject(moRef);
event.setUserName(user);
event.setChainId(taskInfo.getEventChainId());
event.setKey(0);
event.setMessage("This is a non-localized message");
event.setCreatedTime(xmlGregCal);

 

vimPort.postEvent(eventManagerMOR, event, taskInfo);

 


This part of the code has also changed a little from the 5.0 version of the SDK to the 5.1 version, such as the use of XMLGregorianCalendar for the created time.

 

I've tried prefixing the keys for the resource information with "event." but this didn't fix the problem. I didn't have to change much to get the custom tasks and faults to work with 5.1, but that doesn't seem to be the case with events. Does anyone know what other changes need to be made for events to be displayed correctly?

 

Thanks,


storage policy sample program won't run

$
0
0


Hi,



I'm trying to run the VM storage policy Java sample in vSphere 5.5



I set the JRE that was installed by VMware at "C:\Progra~1\VMware\jre"



java -version



java version "1.7.0_10"



Java(TM) SE Runtime Environment (build 1.7.0_10-b18)



Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)



Tried this command with my vCenter hostname, username, and password




run ListProfiles --vcurl https://hostname/sdk/vimService --ssourl https://hostname:7444/ims/STSService --spbmurl https://hostname/pbm --username user --password pass --ignorecert




-- VMware samples in Java --



WARNING: Java is now set to trust all SSL certificates.



The server at https://hostname:7444/ims/STSService did not respond as expected. Is this a valid URL?No valid connection available. Exiting now.



Done.



When I go to this URL https://hostname:7444/ims/STSService the Web Services are shown so it is a valid URL.



Any ideas?  What logs should I look at to troubleshoot the problem?



Thanks,



Mike


why do ip address of virtual machine is null?

$
0
0

Hi,

 

I want to know IP address of virtual machine. I am able to get the ip address, but its null for all the virtual machines. How come its null ?

 

 

I am getting VM's IP address using following hierarchy :

 

 

VirtualMachine -> VirtualMachineSummary -> virtualMachineGuestSummary.getIpAddress()

 

 

I tried following hierarchy also :

 

 

VirtualMachine -> GuestInfo -> IpAddress.

 

 

With both the methods, I am getting IP address as NULL.

 

 

Does anyone knows what is the problem?

 

 

Getting SOAPFaultException while using retrievePropertiesEx( ) method

$
0
0

I have some problem while using retrievePropertiesEx() method to retrieve properties.

               I am getting  the following SOAPFaultException while retrieving properties using PropertyCollector class as:

          retrievePropertiesEx(mor_, pfspec, options)

 

Once this exception starts coming , all the subsequent calls to retrievePropertiesEx() throws the below mentioned SOAPFaultException exception.

              

I know that RetrievePropertiesEx() method is used for a single retrieval operation. So, whenever I need to retrieve properties, I create a new instance of PropertyCollector and then retrieve properties as below.

mor_ = vcs.getVimPort().createPropertyCollector(vcs.getServiceContent().getPropertyCollector());

RetrieveResult rr= vcenter_.getVimPort().retrievePropertiesEx(mor_, pfspec, options);

 

After retrieving properties, I destroy the property collector as:

vcenter_.getVimPort().destroyPropertyCollector(mor_);

 

This exception doesn’t come every time. Once in a while, the exception comes and all subsequent calls to retrievePropertiesEx() throws  this exception. This gets resolved when I manually reset the connection/ restart the VM running this code.

 

The exception says SOAPFaultException : The object has already been deleted or has not been completely created. Does it mean that the object whose properties I am trying to retrieve is already deleted at Vcentre ? The same method retrievePropertiesEx() which retrieved me the properties 5 seconds ago is now throwing the exception. Why is the object getting deleted and why does it work after resetting the connection? Is it problem with creating a PropertyCollector that is throwing me this exception or Is there a connectivity problem to Vcentre that is leading to this problem ?

 

The exception message “The object has already been deleted or has not been completely created” doesn’t give me the clear understanding of the underlying problem. Please let me know the reason for getting this exception and ways to resolve it.

 

Exception Stack:

  1. javax.xml.ws.soap.SOAPFaultException: The object has already been deleted or has not been completely created

at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)

at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)

at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)

at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)

at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)

at $Proxy35.retrievePropertiesEx(Unknown Source)

at com.alu.lrc.vmware.PropertyCollector.RetrieveProperties(PropertyCollector.java:87)

at com.alu.lrc.vmware.VmwareEntity.retrieveVmwareProperties(VmwareEntity.java:136)

at com.alu.lrc.vmware.VmwareEntity.loadAllProperties(VmwareEntity.java:81)

at com.alu.lrc.vmware.VmwareEntity.getProperty(VmwareEntity.java:144)

at com.alu.lrc.vmware.VmwareEntity.getName(VmwareEntity.java:206)

Vm tools api

$
0
0

Hello

My question is how to install vmtools via vsphere api (c#)

Second question is how to use vm tolls fetures via vshere api?

Thank you !!!!!!!!!!!!!!!!!!!!!!!!!

SDk and Licensing Hosts.. source returned not working - help!

$
0
0

 

Further on from previous thread: http://communities.vmware.com/thread/118921?tstart=15, still trying to get SDK licensing to work.

 

 

using VimService.ConfigureLicenceSource to set up the licence source as you would in VC by entering name of Licence Server. I use a property collection to get back the "source" attribute from LicenceManager managed object. This works fine and LicenceServerSource.licenceServer is returned as 27000@localhost. however this does not work in the call. This doesnt work either in VC. The only thing that works is the IP address. Where does the LicenceManager mor get its info from? I could set up a local licenceserversource variable to the IP address of the VC server (where the LM is runing) but dont want to do this, want the code to work and get the source.

 

 

Any ideas as to what should be returned and why 27000@localhost is returned and why it doesnt work?

 

 

Thanks.

 

 

Complte C# code for reading License information on VMware VCenter.

$
0
0

Can anyone send me complete C# code for reading License information of VMWare Vcenter.I tried with SDK sample and those were not worked.

Thanks in advance

NotAuthenticated occurred in the call to RetrievePropertiesEx

$
0
0



When I call the RetrievePropertiesEx I hint the NotAuthenticated error, from the vSphere 5 API Documentation, we know the user that connect to vCenter should has System.Anonymous privilege.


I have a separate role for the account see the attachment, I want to know which one is the System.Anonymous privilege in the role edit list.


Why vmdk need to be zeroed ?

$
0
0

I have a question about why vmdk file needed to be zeroed before any write?

As we know,the zero operation would lower the performance of write .

 

Thick Provision Lazy Zeroed

Creates  a virtual disk in a default thick format. Space required for the  virtual disk is allocated when the virtual disk  is created. Data  remaining on the physical device is not erased during creation, but is  zeroed out on demand at a later time on first write from the virtual  machine.

Using  the default flat virtual disk format does not zero out or eliminate the  possibility of recovering deleted files or restoring old data that  might be present on this allocated space. You cannot convert a flat disk  to a thin disk.

Thick Provision Eager Zeroed

A  type of thick virtual disk that supports clustering features such as  Fault Tolerance. Space required for the virtual disk is allocated at  creation time. In contrast to the flat format, the data remaining on the  physical device is zeroed out when the virtual disk  is created. It  might take much longer to create disks in this format than to create  other types of disks.

Thin Provision

Use  this format to save storage space. For the thin disk, you provision as  much datastore space as the disk would require based on the value that  you enter for the disk size. However, the thin disk starts small and at  first, uses only as much datastore space as the disk  needs for its  initial operations.

ReconfigVM_Task to enable/disable changed blocks tracking with C#

$
0
0



Hello ,


     When I use ReconfigVM_Task to enable cbt in C#, the code likes blow,


                                            VirtualMachineConfigSpec configSpec = new VirtualMachineConfigSpec();



                                            ManagedObjectReference taskMor;



                                            configSpec.changeTrackingEnabled = true;



                                        



                                            taskMor = esx._service.ReconfigVM_Task(_selectedVMRef, configSpec);



   the reconfigvm_task returns success and cbt is enabled.



When I use ReconfigVM_Task to disable cbt from enable to disable, the ReconfigVM_task return success,but cbt is not changed.



the code is the same as above except change configSpec.changeTrackingEnabled to false.



                                            VirtualMachineConfigSpec configSpec = new VirtualMachineConfigSpec();



                                            ManagedObjectReference taskMor;



                                            configSpec.changeTrackingEnabled = false;



                                        



                                            taskMor = esx._service.ReconfigVM_Task(_selectedVMRef, configSpec);



Does anybody know what was I missing?


How can i add Cutom privilege for my plugin?

$
0
0

Hi,

 

Vmware documentation saya that "vCenter Server extensions might define additional privileges not listed here. Refer to the documentation for

  the extension for more information on those privileges"

 

But I see no API to add custom privilege to vcenter server.

 

Can any one help me to define custom privilege which i can use while registration?

 

 

Regards,

Saurabh

How to determine if a User is a member of a User Group?

$
0
0



Trying to determine if the logged in user has been granted the AuthorizationRole "Administrator", what is the easiest way to determine this?

Problems with Traffic filtering using SDK

$
0
0

Hello,

 

I am trying to use a Distributed Switch to filter traffic on port level. I am able to create these rules through the Web Client, and when I do, they work as intended. However, I wish to make these changes automatically through the vSphere WebService-API. The XML-request I send can be found below, but it does not work at all, even though it is accepted and the task is completed without errors.

 

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:vim25"                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">    <SOAP-ENV:Body>        <ns1:ReconfigureDVPort_Task>            <ns1:_this type="VmwareDistributedVirtualSwitch">dvs-101</ns1:_this>            <ns1:port>                <ns1:operation>edit</ns1:operation>                <ns1:key>0</ns1:key>                <ns1:name>New Test</ns1:name>                <ns1:setting xsi:type="VMwareDVSPortSetting">                    <filterPolicy>                        <inherited>false</inherited>                        <filterConfig xsi:type="DvsTrafficFilterConfig">                            <inherited>false</inherited>                            <agentName>dvfilter-generic-vmware</agentName>                            <trafficRuleset>                                <enabled>true</enabled>                                <precedence>1</precedence>                                <rules>                                    <description>Drop all</description>                                    <sequence>40</sequence>                                    <qualifier xsi:type="DvsIpNetworkRuleQualifier"/>                                    <qualifier xsi:type="DvsMacNetworkRuleQualifier"/>                                    <action xsi:type="DvsDropNetworkRuleAction"/>                                    <direction>both</direction>                                </rules>                            </trafficRuleset>                        </filterConfig>                    </filterPolicy>                </ns1:setting>            </ns1:port>        </ns1:ReconfigureDVPort_Task>    </SOAP-ENV:Body></SOAP-ENV:Envelope>

 

It appears in the Web Client as if it is live and working, but no filtering is applied. In the /var/log/vmkernel.log on the host, I notice that the settings are first added but then removed. See below on row 11: "Applying 4 fastpath firewall rules (with replace: 1)" then on row 14: "Applying 0 fastpath firewall rules (with replace: 1)":

 

2014-07-14T12:30:01.762Z cpu8:35605)World: 14296: VC opID hostd-3afd maps to vmkernel opID 706706e5
2014-07-14T12:30:03.095Z cpu10:35605 opID=cd2394aa)World: 14296: VC opID 545c582b-ea maps to vmkernel opID cd2394aa
2014-07-14T12:30:03.095Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.common.port.connectid on port 0
2014-07-14T12:30:03.095Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.common.port.portgroupid on port 0
2014-07-14T12:30:03.096Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.common.port.block on port 0
2014-07-14T12:30:03.096Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:999: clearing data com.vmware.common.port.shaper.input on port 0
2014-07-14T12:30:03.096Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:999: clearing data com.vmware.common.port.shaper.output on port 0
2014-07-14T12:30:03.097Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.common.port.dvfilter on port 0
2014-07-14T12:30:03.097Z cpu5:33423 opID=cd2394aa)DVFilter: 3671: Already one filter instance of this agent on this vNic: 'dvfilter-generic-vmware'
2014-07-14T12:30:03.097Z cpu10:35605 opID=cd2394aa)dvfilter-generic-fastpath: DVFGenericRulesetPropWrite:81: Got DVFGenericPropWrite of length 1139
2014-07-14T12:30:03.097Z cpu10:35605 opID=cd2394aa)dvfilter-generic-fastpath: FWApplyRuleset:736: 0-swb8 08 20 50 16 45 69 ee-02 de 94 39 fe 0f 57 fe.dvfilter-generic-vmware.0: Applying 4 fastpath firewall rules (with replace: 1) fwFeatures = 0x0
2014-07-14T12:30:03.097Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data dvfilter-generic-vmware.ruleset on port 0
2014-07-14T12:30:03.097Z cpu10:35605 opID=cd2394aa)dvfilter-generic-fastpath: DVFGenericRulesetPropWrite:81: Got DVFGenericPropWrite of length 15
2014-07-14T12:30:03.097Z cpu10:35605 opID=cd2394aa)dvfilter-generic-fastpath: FWApplyRuleset:736: 0-swb8 08 20 50 16 45 69 ee-02 de 94 39 fe 0f 57 fe.dvfilter-generic-vmware.0: Applying 0 fastpath firewall rules (with replace: 1) fwFeatures = 0x0
2014-07-14T12:30:03.097Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data dvfilter-generic-vmware.ruleset on port 0
2014-07-14T12:30:03.098Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:999: clearing data com.vmware.common.port.respool.assoc on port 0
2014-07-14T12:30:03.098Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.common.port.ptAllowed on port 0
2014-07-14T12:30:03.098Z cpu10:35605 opID=cd2394aa)Team.etherswitch: TeamESPolicySet:5483: Port 0x3000004 frp numUplinks 1 active 1(max 1) standby 0
2014-07-14T12:30:03.098Z cpu10:35605 opID=cd2394aa)Team.etherswitch: TeamESPolicySet:5491: Update: Port 0x3000004 frp numUplinks 1 active 1(max 1) standby 0
2014-07-14T12:30:03.098Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.etherswitch.port.teaming on port 0
2014-07-14T12:30:03.098Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.etherswitch.port.security on port 0
2014-07-14T12:30:03.099Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.etherswitch.port.vlan on port 0
2014-07-14T12:30:03.099Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:999: clearing data com.vmware.etherswitch.port.ipfix on port 0
2014-07-14T12:30:03.099Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.etherswitch.port.txUplink on port 0
2014-07-14T12:30:03.100Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:999: clearing data com.vmware.etherswitch.port.lacp on port 0
2014-07-14T12:30:03.100Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:993: setting data com.vmware.common.port.volatile.persist on port 0
2014-07-14T12:30:03.101Z cpu10:35605 opID=cd2394aa)DVSDev: DVSDevDataSet:999: clearing data com.vmware.etherswitch.port.mirrorSessions on port 0
2014-07-14T12:30:04.394Z cpu14:35496)World: 14296: VC opID hostd-8977 maps to vmkernel opID 73a4491f

 

An even stranger problem arises when I later use the Web Client to try and edit the (nonworking) settings. Doing so, I am presented with an error on save. The error is shown in the picture below. This error persists until i manually disable traffic filtering on the port.

vmw error.png

 

My questions are as follows:

What is this undocumented agentName-parameter? If I leave it out I get "A general system error occurred: Not initialized". If I pass it, the vCenter starts behaving as described above.

Has anyone else encountered this or a similar problem? If so, what did you do to solve it?

 

Any help is appreciated

Thanks,

Andreas

Viewing all 1860 articles
Browse latest View live


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