In the face of the question and try to set the affinity through VCO workflow rule

In the face of the question then to attempt to set the affinity through VCO workflow rule I'm trying to write workflow VCO to set up the level of affinity of cluster, but it throws the error message cannot convert ClusterComputeResource 'mycluster' to com.vmware.vim.vi4.ClusterConfigSpec (Workflow: create vm-virtual machine affinity rule / Scriptable task (item1) #19) my script to workflow is var rule = new VcClusterAntiAffinityRuleSpec(); Rule.Key = - 30; Rule.enabled = true; Rule.Name = ruleName; rule.userCreated = true; Rule.VM = MV; var clusterSpecRules = new Array(); var clusterSpecRule = new VcClusterRuleSpec(); clusterSpecRule.operation = VcArrayUpdateOperation.add; clusterSpecRule.info = rule; clusterSpecRules.push (clusterSpecRule); var clusterSpec = new VcClusterConfigSpec(); clusterSpec.rulesSpec = clusterSpecRules; var m = computeCluster.vimHost //spec = task = computeCluster.reconfigureCluster_Task (computeCluster, spec, true); Note: In the above code, what are the entry parameter computeCluster entered type parameter VC:clusterComputeResource ruleName is a parameter of type String - APR

Here is the code I use, give it a shot.

var affinitySpec = new VcClusterAffinityRuleSpec();
affinitySpec.enabled = true;
affinitySpec.name = att_ruleName;
affinitySpec.userCreated = true;
affinitySpec.vm = att_vmArray;

var clusterRuleSpec = new Array (new VcClusterRuleSpec());
clusterRuleSpec [0] = new VcClusterRuleSpec()
.operation clusterRuleSpec [0] = VcArrayUpdateOperation.add;
clusterRuleSpec [0] .info = affinitySpec;

var clusterConfigSpec = new VcClusterConfigSpecEx();
clusterConfigSpec.rulesSpec = clusterRuleSpec;

att_task = att_clusterComputeResource.reconfigureComputeResource_Task (clusterConfigSpec, true);

Tags: VMware

Similar Questions

  • Definition of the ownership through charge Varinace rule

    Hello
    I built a Dimension build rule to build the dimension of accounts (Parent, child) and also properties such as "Data Stroage" and "variance reporting" and also UDA. The dimension be built perfectly, as well as property 'data Storage' and UDA, but ownership of the Varinace 'reporting' is undefined even if the rule of the load is perfect and also I see the success during the loading message.

    I did the Member property Codes and it is given as

    E treat as an element of expenditure (applies to dimensions only accounts)

    and I use the same.

    the generation rule is as follows:

    Parent0 accounts, accounts Child0, Alias0, Property0 accounts accounts, accounts UDA0, Property1.

    I know that I'm missing something, Veuileez tips.

    Thank you
    Mugundh

    your problem is the final value of the property. It must always be property0 accounts

  • ACCESS DENIED WHEN YOU TRY TO SET THE AFFINITY OF THE PROGRAM.

    Hi people, this is my first post here. I have searched the forum for an answer but couldn't find it so please forgive me if I missed it and write the question again.

    I'm trying to get better performance from my pc. I am running a quad core C.P.F. and try to set the affinity for certain programs are not not multi thread. (PC ONLINE EVERQUEST GAME 2)
    I managed to channel some programs, but when I try to set the affinity for Everquest I comes up with an error message.  'ACCESS DENIED '.

    I found a page that had a work around, but I could not quite work on what they were saying.

    If you know an easy way to do it could you help me please.

    Thanks for your time :)

    Hi Dagenham Dave,

    You run the computer as an administrator?

    You can follow the steps indicated by the msspbm, which addresses a similar issue, please see the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistaperformance/thread/a6a57cda-3f2c-48b2-ae8e-42c5965567bb

    This may interest you

    Optimize the performance of Microsoft Windows Vista

    http://support.Microsoft.com/kb/959062

    Please post if you have any questions

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I just installed ios 9 today and tried to set up "Hey Siri" on my iPhone 6 Plus.  I have the phone on and said "Hey Siri" so many times that I am blue in the face.  He just telling me "Sorry doesn't quite have that." Try again. '  I have a

    I just installed ios 9 today and tried to set up "Hey Siri" on my iPhone 6 Plus.  I have the phone on and said "Hey Siri" so many times that I am blue in the face.  He just telling me "Sorry doesn't quite have that." Try again. '  I also tried to reset the settings of the phone under the "Reset" option and again without success.  Everyone knows the problem?

    Not having is not the issue here.  Have you tried to ask a question after Hey Siri? Should really wait that long either.

  • Twitter: Your account may not perform this action. Please, refresh the page and try again.

    Since the update to Firefox 41.0.2 I couldn't use Twitter.com. When I try to tweet, favorite, or retweet the following error occurs. Your account may be able to perform this action. Please, refresh the page and try again. There are a couple of other users who have the same problem, but it was tinkered with Mozilla and the other pending.

    It started with the update to 41.0.2 and twitter works in all other browsers, but not Mozilla.

    Here's this other thread with the DIY: Impossible of Retweet, tweet or articles favorite on Twitter, even when I refresh the page.

    I think there must be a setting or a question Add on. Your extensions look pretty standard, so I'm leaning towards a parameter of the problem. You could test as follows:

    By default, Windows hides the .js extension. To make sure that the following steps work, you have to disable this feature, at least temporarily. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing its cleanup, then rename prefs.js to something like prefs.old.

    Launch Firefox back up again and it must use the default settings (for example, integrated home page). If you need to restore your previous session windows and tabs, go ahead and select restore previous Session from the history menu.

    Twitter works best? If so, we could try to understand the precise adjustment at fault or you could rebuild your settings. Or you can undo the change by renaming the new prefs.js to prefs.txt and rename prefs.old back to prefs.js (with Firefox closed, as you did before) and understand it through a little trial and error.

  • I can't remove the thunderbird to my computer. Whenever I do and try to reinstall the old problems developed again. I already formatted the computer... what to do

    I can't remove the thunderbird to my computer. Whenever I do and try to reinstall the old problems developed again. I already formatted the computer... what to do

    But what was your question? virus? most of the time its not even located in thunderbirds dirctories. Then it reappears.

  • my iphone 5s problem could not complete touch setup ID come back please and try again... I need to fix the problem

    my iphone 5s problem could not complete touch setup ID come back please and try again... I need solve the problem... Thank you

    Same question! Please help. I have installed 9.3.1 on iphone 5 s. error message"could not complete touch setup ID come back please and try again. »

  • The Print Spooler Service has stopped. Restart the print spooler and try to print and make the same mistake.

    Recharging according to the printing software and get always the same error.

    Hello

    You must ask in the answers – Windows Forums for your version of Windows.

    Answers - Windows Forums
    http://answers.Microsoft.com/en-us/Windows

    How to ask a question
    http://support.Microsoft.com/kb/555375

    ==================================

    Here is a troubleshooting guide for Windows 7 - Vista would be very similar.

    Check with the printer manufacturer for updated drivers and support for known issues.

    Check chan seen message here - one of the highest.

    fixed spooler subsystem app stopped working
    http://social.technet.Microsoft.com/forums/en/itprovistaprinting/thread/460f297a-dd66-4476-A176-542e1519ca3e

    ==================================

    Follow these steps in the kind of prerequisites:

    Clean the General corruption and repair or replace the damaged/missing files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Then run checkdisk (chkdsk).

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ------------------------------------------------------

    References to Vista also apply to Windows 7.

    Go to the printer manufacturer's website and get the latest drivers - download - REGISTER - install yet. When loan
    to install - make a right-click on the pilot - run as administrator.

    Also check with the manufacturer of your printer and forums support.

    --------------------------------------

    Use this method to clear the spooler and then uninstall and reinstall your printer (check with the manufacturer for)
    the latest driver).

    Check Mr. Fixits here and if you use the other methods go back and try again later.

    Problems of print and error - a Mr Fixit of printing
    http://support.Microsoft.com/GP/printing_problems

    Solve printer problems - a Mr Fixit
    http://windowshelp.Microsoft.com/Windows/en-us/help/8c11977e-8244-408f-A036-7978a618d7a21033.mspx

    ------------------------------------------------------

    Logon as administrator

    Start - type in the search box-> COMMAND - control to the top of the list and RIGHT CLICK – RUN AS ADMIN

    You can copy and paste each line except those brackets and press ENTER after each.

    net stop Spooler

    (echo suppression of all print jobs)<-- you="" should="" see="" this="">

    ping localhost n 4 > zero

    del/q %SystemRoot%\system32\spool\printers\*.*

    net start Spooler

    (sound Done!)<-- you="" should="" see="" this="">

    ping localhost n 4 > zero

    Another way
    http://4sysops.com/archives/how-to-cancel-a-print-job-that-hangs-under-Windows-Vista-and-XP/

    Check the print - DELETE/STOP queue all jobs - then right click on the printer - REMOVAL
    http://windowshelp.Microsoft.com/Windows/en-us/help/bb6f81d9-4092-4ac8-9716-2bd008f513e11033.mspx

    If you use Control Panel - Classic - printers

    Try after unplugging your printer if necessary.
    -------------------------------------------------------------

    Also check the spooler print and its dependencies and addictions Service.

    Print Spooler service (see the following link BlackViper for Windows 7 default dependencies)
    http://wiki.blackviper.com/wiki/Print_Spooler

    BlackViper Windows 7 Service - default settings
    http://www.blackviper.com/Windows_7/servicecfg.htm

    How difficulty Windows Vista print spooler starts do not
    http://www.ehow.com/how_4920100_vista-print-spooler-not-starting.html

    ------------------------------------------------------------

    Check this thread if necessary - to stop and erase the spooler

    http://social.answers.Microsoft.com/forums/en-us/vistaperformance/thread/a15779d6-ac0d-42FD-9Ac2-a1da241ea19f/

    and here

    http://social.answers.Microsoft.com/forums/en-us/vistahardware/thread/58b54fa9-cf6f-40F7-90b2-8093c6777493

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • When I try to send a picture through Windows Live Mail I get an error message telling me to delete the picture, and then try again.

    When I try to send a picture through Windows Live Mail I get an error message telling me to delete the picture, and then try again.

    original title: RECEIVES the MESSAGE of ERROR WHILE SENDING AND RECEIVING PHOTOS

    Hello Jane,.

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

     

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

     

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • Whenever I try to open my hotmail calendar this message: there is a problem connecting to Hotmail calendar now. Please make sure that you are connected to the Internet and try again.

    Hotmail calendar error

    Whenever I try to open my hotmail calendar this message appears

    connection error
    There is a problem connecting to Hotmail calendar now. Please make sure that you are connected to the Internet and try again.
    For sure, I understand what his average, but it's weird because when I open it, I'll be online.

    Thank you for visiting the Microsoft Answers site.

     
    The question you have posted is related to Windows Live Hotmail and would be better suited to the Windows Live community. Please visit the link below to find a community that will support what ask you:
     
    http://windowslivehelp.com/product.aspx?ProductID=1
  • When I use Hotmail and try to attach a document to send by email, I get a message error that says 'attachment Id has wrong format", and if the message will not be sent.

    The attachment ID has wrong format.

    When I use Hotmail and try to attach a document to send by email, I get a message error that says 'attachment Id has wrong format", and if the message will not be sent.

    I have had absolutely no problem in electronic documents before sending.

    Please help, thanks.

    Hello KerJJ,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • When I lclick on a link and try to open it, a bunch of scrolling of the empty tabs at the top.

    When I lclick on a link and try to open it, a bunch of scrolling of the empty tabs at the top.

    Hello

    (1) do you use Internet Explorer to browse the web?

    (2) what version of Internet Explorer is installed on the computer?

    If you use Internet Explorer as you web browser, then try the following and see if it helps.

    Method 1:

    Use Internet Explorer in no add-on mode and check the status.

    (a) click Start.

    (b) click on all programs.

    (c) click on accessories.

    (d) click on system tools.

    (e) click Internet Explorer (No Add-ons).

    If this resolves the problem, follow these steps to isolate the browser add-on that is causing the problem:

    (a) click on tools and then click Internet Options.

    (b) click on the tab programs and then click on Manage Add-ons.

    (c) click an add-on in the name list, and then click on disable.

    (d) repeat step c until you identify the add-on that is causing the problem.

    If this is the problem, this could be caused by an adware installed as add-on, see:

    http://Windows.Microsoft.com/en-us/Windows7/Internet-Explorer-Add-ons-frequently-asked-questions

    Method 2:

    Optimize Internet Explorer.

    http://support.Microsoft.com/kb/936213/no

    Note: when you reset Internet Explorer settings, all modules and customizations are disabled, and basically, you start with a new version of Internet Explorer

  • Netflix in Media Center returns a 'there was a problem of data recovery. "Check the works of your internet connection and try again" error instead of loading Netflix data.

    context: a previous thread with an identical title never responded, the problem just disappeared.  Well its been two weeks since then and the problem came back.

    somethings which may or may not apply: internet TV seems to work better in media center.  All updates have been applied to H.P. of Vista SP2. Netflix works fine in ie8 (such as the internet, of course). Tried to delete all the Internet Options, delete browsing history section of Internet Explorer. I get the same error message with my windows 7 professional media center, but netflix seems to play anyway (no game with vista). I recently installed quicktime alternative 2.72 to see what it was and how it worked, then removed and put back in quicktime.

    Tried / symptoms:

    -Remove all the browsing history (econcepts)
    -Same message on Win7pro but works even when (econcepts)
    -Works on Win7 no problem (omegafiler)
    -Works in ie 8 (econcepts)
    -Works in crome (Martin TX)
    -Consensus is that it started around December 30, 2009 (GeoffG1, johnetX, me)
    -Remove and reinstall silverlight (omegafiler)
    -Remove and replace netflix plugin (omegafiler)<- how="" did="" you="" do="" that="">
    -Netflix says: microsoft problem (Nitestalker)
    -Microsoft is silent (this thread - on vacation?)
    -Same problem on 32-bit and 64-bit VMC (JRSMiamiFL)
    -No applied update (johnetx)<- perhaps="" date="" related="" or="" drm="" date="">
    -Disconnect from netflix, you reconnect again - ultimately the same error (chicagokiwi)
    -Tried to reduce the number of items in the queues to well below the limit of 200 (econcepts)
    -Tried the register / unregister the third wire procedure, no joy (does not break anything else however)
    -Disabled the firewall, no change (econcepts)

    related topics:
    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/0c154c0a-1fcb-4353-8c5e-b394e885256d

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/aaab24a0-4BB9-42FA-a5ee-46a733d6560f

    http://social.answers.Microsoft.com/forums/en-us/vistamedia/thread/f05f69c7-6456-4117-B302-27c08886ea1e

    Someone else knows Netflix not being is not able to connect?  It started yesterday (30/12/2009) for me.  I looked fine the day before without problem.  The message I get says "there was a problem of data recovery.  Check the works of your internet connection and try again. Ok.  I make it work with both my VMC - one with the service pack and the other without.  My OS updates have been loaded in early December, so I don't see how this could it be.  I searched and found this problem has come up before, but I have not found a solution.  I made NO changes to my HTPC.

    Those who have and solved this problem.

    UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE *.

    2009-01-05 has attempted to start Netflix this morning and you know, it works on both my VMCs.  That's the good news.  So now the real questions are:

    Only 20 people reported it as a problem and only 6 on the green button.  I believe that it affected all the world with Media Center.  So why not discussed much?

    It already happened, causes a stir and silently slips without known cause or cure.  How can we find out what caused this and how to prevent it from happening again in the future?

    *******************************************************************************************

  • When I try to play a CD or DVD, the door opens and I get a message "insert a support and try.

    When I try to play a CD or DVD, the door opens and I get a message "insert a support and try. But the anti-virus scan of the device and report No. ERROR. Only play is not possible

    When I try to play a CD or DVD, the door opens and I get a message "the drive is empty. Insert media and try. " But many programs, such as antivirus programs analyzing the device and NO ERROR report. It is not possible to play alone.  No player of media, including Windows Media Player 11 or Windows Explorer does not recognize the presence of the media. I tried with many CD and DVD that plays normally on other computers with similar OS and also on DVD players.

    My computer has Windows Vista Home premium with Service Pack 2.

    Thanks for your reply. It was very helpful / sorry your proposed solution has not solved my problem. Kind regards. -Rajaram77

    Hello

    Click right tab taskbar - task - process - make sure WMPlayer.exe Manager, nor any other
    the player is responsible - in the affirmative PROCESS END on them and try again.

    -----------------------

    You have disk problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD burning and)
    Playback of CD and DVD). So it is not unusual for parts from 1 or 2 to not work so that others do
    correctly.

    Burning at low speed, or by using the master could help. A CD/DVD cleaner might help.

    CD have a tolerance + - and your must read on the edge outside these tolerances of discs.
    They may be delivered, but it is generally more economical to replace the disk. Can burn you
    a mastered CD and a DVD mastered on this computer and laptop and other computer
    machines? Can you do the same on the laptop and play in this machine?

    Several good info here:
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Notes on the troubleshooting and repair of readers of compact disks and CD-ROM Drives
    http://www.repairfaq.org/repair/F_cdfaq7.html#CDFAQ_014

    ===========================================

    Step 1: Please do all the same underneath if you did some before as is often total
    a process that solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double click on the device - driver tab.
    Click on update drivers (this will probably do nothing) - RIGHT click ON the drive - uninstall.
    RESTART this will refresh the default driver stack. Even if the reader does not appear to continue
    below.

    Then, work your way through these - don't forget the drive might be bad, could be a coward
    cable or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work
    http://www.pchell.com/hardware/cd_drive_error_code_39.shtml

    Your CD or DVD drive is missing or is not recognized by Windows or other programs-
    a Mr Fixit
    http://support.Microsoft.com/kb/982116

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to
    for Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error in Windows
    Vista installation after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

    ===============================

    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD
    Burn and CD and DVD read). So it is not unusual for 1 or 2 operational so that other parts
    do it right.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are
    the entries in registry that the troubleshooter does not solve and those who "might" be the cause.

    Check with your Maker system and a device for the two possible firmware updates and
    the correct registry entries for your car.

    Here are the keys that I of course are those in question - for the subkeys of the CD/DVD drive
    as there will be other subkeys in these keys. Do not forget to ask specific keys involved as well as
    the parameters.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    -----------------------------------------------------------------------

    You can probably find more info here and maybe even the exact registry for your CD/DVD settings
    drive from someone with the same model.

    Forums - a lot of expert real help
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Use DevManView to locate the CD/DVD in the registry (be careful and do a prior Restore Point)
    nothing change) - find the DevManView device and then make a right click on it free in RegEdit.

    DevManView - free - an alternative to the standard Windows Device Manager, which displays all the
    devices and their properties in flat table, instead of the tree viewer
    http://www.NirSoft.NET/utils/device_manager_view.html

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Word or excel file does not open on gives Vista error: windows cannot open c:\users... Make sure you typed the name correctly and try again.

    Word or excel file does not open on gives Vista error: windows cannot open c:\users... Make sure you typed the name correctly and try again.

    Whenever I click on a word or document it opens excel excel but it gives an error message: windows cannot open c:\users... Make sure you typed the name correctly and try again.

    I can open the document that after selecting the file only in excel or word blank document by clicking on the windows logo & choose the file and click on open.

    I need immediate assistance. I tried windows service pack 2 updates, but nothing works. Can anyone help?

    Please repost your question in the Discussion of the Office group at: http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.office.misc&lang=en&cr=US where the Word and Excel experts will be more than happy to help you with your problem.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for