Quantcast
Channel: VMware Communities: Message List
Viewing all 208811 articles
Browse latest View live

Re: VM powered on by DRS

$
0
0

I experienced the same phenomenon (without the VM being migrated before) on ESXi 5.1/vCenter 5.1 enivronment. The VM seems to be suddenly powered on, and the only thing the task and event logs reveal is, that "DRS powered On" the VM. The task itself is "Initiated by System", the "related events" do NOT show a task by a user (could be considered a bug).

 

 

On datacenter level, select "Show datacenter entries" instead of "Show all entries" and search for the same date and time. There should be a task "Initialize powering On" initiated by the actual user. There's no reference to the VM, the target is the datacenter. So the only correlation is the time stamp!

 

 

Make sure the list size in vSphere client is set to the maximum: Edit -> Client Settings -> Lists -> Page size: 1000 (the maximum).


Re: New-VIPermission Extremely Slow and Not working across domains

$
0
0

I have also tried to mimic Onyx and how the permissions are being set through the VI Client however I am getting the below error:

 

PowerCLI C:\MyScripts\Scripts> $User = 'Domain\username'

PowerCLI C:\MyScripts\Scripts>

PowerCLI C:\MyScripts\Scripts> $VMName = "TestVM"

PowerCLI C:\MyScripts\Scripts> $VM = Get-VM $VMName

PowerCLI C:\MyScripts\Scripts>

PowerCLI C:\MyScripts\Scripts> $VMID = $VM.id -replace "VirtualMachine-", ""

PowerCLI C:\MyScripts\Scripts> $roleIDs = Get-VIRole | Where-Object {$_.Name -eq 'Virtual Machine Hardware Upgrade'}

PowerCLI C:\MyScripts\Scripts> $RoleID = $($roleIDs[0].Id)

PowerCLI C:\MyScripts\Scripts>

PowerCLI C:\MyScripts\Scripts> $entity = New-Object VMware.Vim.ManagedObjectReference

PowerCLI C:\MyScripts\Scripts> $entity.type = "VirtualMachine"

PowerCLI C:\MyScripts\Scripts> $entity.Value = $VMID

PowerCLI C:\MyScripts\Scripts>

PowerCLI C:\MyScripts\Scripts> $permission = New-Object VMware.Vim.Permission[] (1)

PowerCLI C:\MyScripts\Scripts> $permission[0] = New-Object VMware.Vim.Permission

PowerCLI C:\MyScripts\Scripts> $permission[0].principal = "$User"

PowerCLI C:\MyScripts\Scripts> $permission[0].group = $false

PowerCLI C:\MyScripts\Scripts> $permission[0].roleId = $RoleID

PowerCLI C:\MyScripts\Scripts> $permission[0].propagate = $true

PowerCLI C:\MyScripts\Scripts> $_this = Get-View -Id 'AuthorizationManager-AuthorizationManager'

PowerCLI C:\MyScripts\Scripts> $_this.SetEntityPermissions($entity, $permission)

Exception calling "SetEntityPermissions" with "2" argument(s): "The object has already been deleted or has not been

completely created"

At line:1 char:1

+ $_this.SetEntityPermissions($entity, $permission)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : VimException

Why do Windows 8.1 Apps constantly crash?

$
0
0

I'm having issue with the default music app in Windows 8, the one we use to play XBox music.  It constantly crashes and I have to keep restarting it.  I never experienced this with my desktop which is running the exact same version of windows.  I have 2 separate VM  on my MacBook, each running Windows 8.1 and I experience this on each one.  I can listen to music but every so often when i try to do something, like change tracks, or search, the app just closes and I have to restart, and I lose my place in the playlist I was listening to, or the search I was performing.  Any ideas?

 

EDIT:  I just started experiencing this now with the e-mail app.  I keep trying to compose a new e-mail and all of a sudden it just freezes then crashes and I lose the message I was working on.  It just keeps happening. 

 

Desktop apps seem unaffected.

 

MacBook Pro Retina 13"

VMWare Fusion 5.0.4

Windows 8.1 Professional 64Bit

Re: Why do Windows 8.1 Apps constantly crash?

$
0
0

bump, anyone at all have any suggestions?

Re: InvalidLogin while perform "perfcounter" with ViewPlanner 3.0

$
0
0

I check vCenter system log, and get this error:

2014-02-11T17:42:08.935+08:00 [03476 info 'commonvpxLro' opID=e6ffe7aa] [VpxLRO] -- BEGIN task-internal-181 --  -- vim.SessionManager.login -- 5a5cf8e1-bcde-af6a-06d2-87f857019ae8
2014-02-11T17:42:08.935+08:00 [03476 info '[SSO]' opID=e6ffe7aa] [UserDirectorySso] Authenticate(administrator, "not shown")
2014-02-11T17:42:09.095+08:00 [03476 error '[SSO]' opID=e6ffe7aa] [UserDirectorySso] AcquireToken InvalidCredentialsException: Authentication failed: User Account is locked
2014-02-11T17:42:09.095+08:00 [03476 error 'authvpxdUser' opID=e6ffe7aa] Failed to authenticate user <administrator>
2014-02-11T17:42:09.655+08:00 [04284 info 'vpxdvpxdVmomi' opID=SWI-5284a701] [ClientAdapterBase::InvokeOnSoap] Invoke done (h21-40.vmnet, vpxapi.VpxaService.fetchQuickStats)
2014-02-11T17:42:09.655+08:00 [04284 info 'vpxdvpxdVmomi' opID=SWI-5284a701] [ClientAdapterBase::InvokeOnSoap] Invoke done (h21-35.vmnet, vpxapi.VpxaService.fetchQuickStats)
2014-02-11T17:42:09.655+08:00 [04284 info 'vpxdvpxdVmomi' opID=SWI-5284a701] [ClientAdapterBase::InvokeOnSoap] Invoke done (172.22.20.78, vpxapi.VpxaService.fetchQuickStats)
2014-02-11T17:42:12.375+08:00 [04212 error 'HttpSvc.HTTPService'] Failed to read request; stream: [class Vmacore::System::NamedPipeConnectedStreamWin32:000000000B415800], error: class Vmacore::TimeoutException(Operation timed out)
2014-02-11T17:42:13.115+08:00 [03476 info 'commonvpxLro' opID=e6ffe7aa] [VpxLRO] -- FINISH task-internal-181 --  -- vim.SessionManager.login --
2014-02-11T17:42:13.115+08:00 [03476 info 'Default' opID=e6ffe7aa] [VpxLRO] -- ERROR task-internal-181 --  -- vim.SessionManager.login: vim.fault.InvalidLogin:
--> Result:
--> (vim.fault.InvalidLogin) {
-->    dynamicType = <unset>,
-->    faultCause = (vmodl.MethodFault) null,
-->    msg = "",
--> }
--> Args:



I solve this error by refering this :

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2034608

Re: Invalid Lather request made from agent

$
0
0

I just installed the agent on the server itself and everything is working fine.

Still unable to figure out why I'm getting the error from other agents on other nodes.

 

Any help is appreciated!!

Re: CPU peaking and need advice on what to pick for sockets and cores.

$
0
0

Thanks for the reply.  sorry for the delay...  I am a real newbie...it just took me an hour to figure out how to use esxtop... Had to enable it and start in the esxi, putty, etc, etc...

 

I can only see %cstp and it's 0.00  I don;t have a %lat_C   mine stops at %swpwt.     Now granted there is nobody at the office now so I suspect I need to run this again tomorrow and report back.  Let me know about the %lat_c

delete endpoint says 1 compute resource in use

$
0
0

This endpoint is being used by 1 compute resources and 0 storage paths and cannot be deleted.

 

where can I see which compute resource is using it and delete it.


Re: Terasort benchmarking with BDE 1.1

$
0
0

Hi, Chris

 

Please refer to below examples to your terasort benchmark with default Hadoop package.

 

hadoop jar hadoop_home_path/hadoop-XXXXX-examples.jar teragen -Dmapred.map.tasks=[slot number] 10000000000 /usr/test/input #1T dataset adopted here but you should tune the number according to your own memory capacity

hadoop jar hadoop_home_path/hadoop-XXXXX-examples.jar terasort -Dmapred.map.tasks=[slot number] /usr/root/input /usr/test/output

hadoop jar hadoop_home_path/hadoop-XXXXX-examples.jar teravalidate /usr/test/output /usr/test/final

 

From performance perspective, we recommend to adopt centos 6.2 template. It would be very nice if you could provide more information on the goal of your POC and primary user/ops scenarios. Then we may provide better support to you.

Re: Managing a long running process as a workflow component

$
0
0

I thought of something else they may be useful to understand as for a while it confused me about this topic.

 

I was using blocking tasks and AMQP in this type of setup, one of the things I noticed was that using the answerWorkflowInput didnt seem to work with the blocking task.

 

although I never validated this I found that it appears the answerWorkflowInput will only work on 1 layer of workflows.

 

where I involved AMQP it seems that the correct workflow token was not tracked and therefore it would fail to answer as no waiting tokens were present.

 

not sure if this is a valid issue in the system you are implementing.


Re: Having trouble with the SQL Loader adapter

$
0
0

Use EST of the option you gave.

 

It sounds like the time isn't the same timezone between solutions if it just started working after 5-6 hours. Check to ensure you don't need to use a different timezone such as GMT.

Re: Custom UI: Choose resource, same metric graph

Re: Log in as Current User - Horizon View Client 2.2 - GSSAPI Failure

$
0
0

Hi cmmcooper,

 

The team is working on this, and if you could provide more input on the questions below, that would be helpful. Thanks!

 

1. does user use smartcard authentication when the issue happens?

2. when the issue happens, is user able to connect by inputting username/pwd or smartcard credentials? Please specify the type.

Re: How to get all Red Hat virtual machines.

$
0
0

Get-VM | Select Name, `

     @{Name="Config GuestFullName";Expression={$_.ExtensionData.Config.GuestFullName}},`

     @{Name="Guest OS";Expression={$_.ExtensionData.Guest.GuestFullName}} `

     | Where-Object { "$_.Config GuestFullName" -like "*Red*"  }

Re: vCAC 6.0 Windows Advanced Guide?

$
0
0

pizzle85 wrote:

 

My company has recently acquired vCAC as part of the vCloud Suite. We provide VM hosting as a service to departments within the company. Were trying to allow self provisioning of VMs through vCAC. We have the very basics set up and are able to clone off machines from templates. I have been searching high and low with little success to find a complete guide to provide some of the basic level advanced features. Would anyone out there be willing to point me in the direction of some good literature that would guide us through some advanced features.

 

To start were looking to do something very simple by creating a "sandbox" for our developers to quickly stand up development servers. Were looking for the following:

 

  • Clone Windows 2012 R2 VM from an existing template (does this need to be configured in some particular fashion? sysprepped? would i be able to do the rest of this if it were a new vm instead of a clone?)

-[Preetam] I have blogged about it here. I faced similar challenges. It took quite a while for me  to understand there are limited properties that can be used when you use cloning workflow. It is bit clear we as VMware admin have to create a master image, this master image should be optimized at virtual machine hardware level, then OS level by optimizing or tuning OS (e.g. disabling unnecessary services). So long answer short -> yes you have to sysprep it and domain join credentials should be in sysprep i.e. customization manager

  • Place the new machine in the "Sandbox" vCenter folder (I achieved this by using the custom property of "VMware.VirtualCenter.Folder)

[Preetam] Yeah this is the right approach

  • Allow the user to select a unique hostname for vCenter and the machine name (i achieved this for vCenter using a custom property of "Hostname")

[Preetam] Yeah this is the right approach

  • Set the Time Zone

[Preetam] Please use sysprep for this. If you're deploying machines in different time zone, use guest agent and script to change it

  • Configure the networking on the next available IP in a single /24 subnet block (i set up a network profile but am not sure how that gets applied, do i need the windows agent?)

[Preetam] You are right. It is achievable using network profile. I have blogged about it here. Create network profile and simply attached to blue print/reservation

  • Create Active Directory Computer object in "AD/OU/Sandbox" OU (I havent attempted this and assume i need to write a custom powershell script thats called, any advice from people who have done this would be greatly appreciated)

[Preetam] This is achievable using blueprint? Just unable to recall

  • Join the machine to active directory

[Preetam] As mentioned above it will be coming through sysprep.

 

I've configured a build profile that specifies most of these settings but they don't apply at build. I've read a lot about the windows client but that doesn't seem to be necessary for any of these steps as they should all be accomplished by the sysprep commands in the build profile. Any guidance anyone can provide would be greatly appreciated!

 

-Paul

 


Re: What is vCenter Operations Manager collector?

$
0
0

The remote collector will usually be used for specific adapter needs (windows auth, .net services, etc), network needs, or otherwise. Data aggregation and removing load from the primary vApp is usually not the reason for spinning up another collector (although applicable to very large deployments with custom/3rd party adapters). If there is a bottleneck it's going to usually be on the Analytics processes/underlying virtual resources (disk I/O, etc). If there is a takeaway from this conversation, it should be that deploying a remote collector on the vApp deployment of vC Ops is not in the cards unless you meet a very specific criteria.

getting cannot complete customization of existing windows VM using vim java api.

$
0
0

Hi, I am using below given customization spec for customizing existing windows VM. and getting cannot complete customization . Can somebody tell me what is wrong here in code ?

 

CustomizationSpec cuSpec = new CustomizationSpec();

 

        List<CustomizationAdapterMapping> adaptors = new ArrayList<CustomizationAdapterMapping>();

 

          for (int i=0; i<2; i++) {

            CustomizationAdapterMapping caMapping = new CustomizationAdapterMapping();

            CustomizationIPSettings cIPSettings = new CustomizationIPSettings();

 

            if ((ipAddress != null) && (ipAddress.length() > 0))

            {

              CustomizationFixedIp cFixedIP = new CustomizationFixedIp();

              cFixedIP.setIpAddress(ipAddress);

              cIPSettings.setIp(cFixedIP);

            }

            else {

              CustomizationDhcpIpGenerator cDhcpIPGen = new CustomizationDhcpIpGenerator();

              cIPSettings.setIp(cDhcpIPGen);

            }

 

            cIPSettings.getGateway().addAll(gateway);

            cIPSettings.setSubnetMask(subnetMask);

            cIPSettings.setDnsDomain(dnsDomain);

            cIPSettings.getDnsServerList().addAll(dnsServerList);

 

            caMapping.setAdapter(cIPSettings);

 

            adaptors.add(caMapping);

          }

 

          CustomizationGlobalIPSettings cgIP = new CustomizationGlobalIPSettings();

          if ((adaptors.size()>0)) {

            cgIP.getDnsSuffixList().addAll(dnsSuffixList);

            cgIP.getDnsServerList().addAll(dnsServerList);

            cuSpec.setGlobalIPSettings(cgIP);

            cuSpec.getNicSettingMap().addAll(adaptors);

          }

         

          CustomizationUserData cud = new CustomizationUserData();

          CustomizationGuiUnattended cgu = new CustomizationGuiUnattended();

          //setting hostname

          CustomizationFixedName cfn = new CustomizationFixedName();

          cfn.setName(hostName);

          cud.setComputerName(cfn);

         

          //setting fullname and orgname

          cud.setFullName(fullName);

          cud.setOrgName(orgName);

          //setting prodId

          cud.setProductId(prodId);

          //setting workgroupname

          CustomizationIdentification custIdentification = new CustomizationIdentification();

          custIdentification.setJoinWorkgroup(workgroupName);

         

          CustomizationLicenseFilePrintData licenseFilePrintData = new CustomizationLicenseFilePrintData();

          licenseFilePrintData.setAutoMode(CustomizationLicenseDataMode.PER_SERVER);

          licenseFilePrintData.setAutoUsers(5);

         

          CustomizationWinOptions cwOptions = new CustomizationWinOptions();

          cwOptions.setChangeSID(true);

          cwOptions.setDeleteAccounts(false);

          cuSpec.setOptions(cwOptions);

           

          //creating sysprep

          CustomizationSysprep sysPrep = new CustomizationSysprep();

          sysPrep.setIdentification(custIdentification);

          sysPrep.setUserData(cud);

          sysPrep.setGuiUnattended(cgu);

          sysPrep.setLicenseFilePrintData(licenseFilePrintData);

          //set sysprep to customization spec

          cuSpec.setIdentity(sysPrep);

       

          boolean vmCustomized = false;

 

Thanks in advance.

 

-Deep

License Key for ESXi 5 - Where is it?

$
0
0

The link below takes me to my license key for ESXi 4.1. The key says it's good for 4.1 or later. Is this the same key I use for ESXi 5.1? I can't find a key for 5.1 on the 5.1 download page. There's no "manual download" button to select and no key in sight.

 

https://my.vmware.com/group/vmware/evalcenter?p=free-esxi&lp=1

 

Thank you.

 

Mike Gallery

Re: Managing a long running process as a workflow component

$
0
0

I've got the basics of a generic trigger system with code committed to the previously linked github repo.

 

The functionality of creating a trigger, attaching it to a waiting event, and then being able to signal that event to move on works as implemented (code is ugly, but it works). The triggers also appear to be durable across restarts of vCO which is nice. I can say after the time spent it would be nice to have some documentation related to how to do this with spring. I spent a lot of time with it not working because of what seems like a stupid bug of the "watch service" needing to be started. Surprised it's not handled by spring machinery by default.

 

I think the next order of business would be to create an inventory object related to the trigger which can be used to store state information about the status of said trigger. I was thinking I could do this with a configuration element as well, but I've not decided what would be better yet.

Re: Как объяснить consumed host memory ?

Viewing all 208811 articles
Browse latest View live


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