DefaultPSP change by PowerCLI/Host profile does not stick...

5.0u2 ESXi

$vH = get-Cluster 'Test ' | Get-VMHost 'Test1 '.

$vHcli = get-EsxCli - VMHost $vH

$vHcli.storage.nmp.satp.list)

$vHcli.storage.nmp.satp.set ($true, "VMW_PSP_RR", "VMW_SATP_DEFAULT_AA")

$vHcli.storage.nmp.satp.set ($true, "VMW_PSP_RR", "VMW_SATP_ALUA")

$vHcli.storage.nmp.satp.list)

Shows that the DefaultPSP is changed correctly.

However, after a reboot of the host, reset! If I SSH as ROOT and change the parameter it takes and rest!

On a side note, the host NMP profile settings have the same behavior applies, it does not stick after reboot.

Anyone know why this problem occurs, or how to fix so I can perform PSP checks and rehabilitation through PowerCLI instead of going to each host as Root to set adequate configs?

-vFantastic

Well, I found the default Round Robin ESXi 5.0U1 PSP, and it solved my problem. with the following...

$vHs = get-VMHost

{ForEach ($vH to $vHs)

#Getting ESX CLI for each host

$vHcli = get-EsxCli - VMHost $vH

#Does it have the correct PSP for IBM SVC

$SVC = $vHcli.storage.nmp.satp.list () | Where {$_.} Name - eq "VMW_SATP_SVC" - and $_. DefaultPSP - don't 'VMW_PSP_RR"} | Select @{N = 'Cluster'; E={$VH.parent.name}},@{N="vmhost '; E = {$VH. Name}}, DefaultPSP, Name

If ($SVC. Name - eq "VMW_SATP_SVC" - and $SVC. DefaultPSP - don't 'VMW_PSP_RR') {}

#Create a low-level object that points to the ATAS namespace:

$LowLevel = $vHcli.TypeManager.CreateDynamicManagedObject ($vHcli.storage.nmp.satp.id)

#Create a hashtable containing parameter values. Note that here we do not specify a value for the boot parameter:

$Params = @{'DefaultPSP' = "VMW_PSP_RR"; ATAS = "VMW_SATP_SVC"}

#Invoke set operation on the $LowLevel object:

$LowLevel.InvokeOperation ("set", $Params)

}

#Does it have the correct PSP to default values

$DAA = $vHcli.storage.nmp.satp.list () | Where {$_.} Name - eq "VMW_SATP_DEFAULT_AA" - and $_. DefaultPSP - don't 'VMW_PSP_RR"} | Select @{N = 'Cluster'; E={$VH.parent.name}},@{N="vmhost '; E = {$VH. Name}}, DefaultPSP, Name

If ($DAA. Name - eq 'VMW_SATP_DEFAULT_AA' - and $DAA. DefaultPSP - don't 'VMW_PSP_RR') {}

#Create a low-level object that points to the ATAS namespace:

$LowLevel = $vHcli.TypeManager.CreateDynamicManagedObject ($vHcli.storage.nmp.satp.id)

#Create a hashtable containing parameter values. Note that here we do not specify a value for the boot parameter:

$Params = @{'DefaultPSP' = "VMW_PSP_RR"; ATAS = "VMW_SATP_DEFAULT_AA"}

#Invoke set operation on the $LowLevel object:

$LowLevel.InvokeOperation ("set", $Params)

}

}

Tags: VMware

Similar Questions

  • I am the administrator on my pc. and my user profile does not load.

    recently, when I connect I get a message saying that the user profile does not, or will not, support. How can I fix it? Be admin, I can't make all the changes that my profile does not load. I can connect with my husband and children, as their loading user profiles, but, when I try to make changes and type my password properly, it won't connect so I can't do anything! Help! Thank you!

    Yes, you will lose everything when you re-install.

    If you are able to logon to an account that can back up personal files as much as you want to keep on an external hard drive, or Flash drives or DVDs.

    You will need to re - install all the programs you already have installed.

  • Drawing a custom profile does not work for me. It works for you?

    Drawing a custom profile does not work for me. It works for you?

    I can only apply on an existing line, but cannot make a new one with the selected profile. In fact if I change the profile other than the default uniform I also can't draw a new stroke with any other width than the default 1 point. This does not seem normal.

    Use the SC5 on a PC.

    You have "Art has basic appearance nine" checked in the appearance Panel Menu? If Yes... Clear the check box, and then try again.

  • How can I renew my web site? I update my site to go to confirm the changes... but firefox does not allow me to see my updated site - no button renew? !!!

    How can I renew my web site? I update my site to go to confirm the changes... but firefox does not allow me to see my updated site - no button renew? !!! Firefox becomes slow!

    Reload Web pages, and ignore the cache.

    • Hold SHIFT and click reload.
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Cmd + Shift + R' (MAC)

    See also:

  • How can I get the airplay icon to appear? Changing the settings of firewall does not work

    How can I get the airplay icon to appear? Changing the settings of firewall does not work

    Hello Drjoe378,

    I understand that you do not see the AirPlay icon in iTunes on your Mac. If you have verified that your firewall is disabled or that the problem occurs regardless of the status of your firewall, there is a little more that can help return your ability to connect to AirPlay devices.

    1. Make sure you have the latest version of iTunes and Apple TV software.
    2. Connect your computer and other devices on the same network Wi - Fi. If you are using Ethernet, connect the two devices on the same router or hub. If you use the Wi - Fi and Ethernet, plug your device AirPlay the same router that your computer uses for Wi - Fi.
    3. Restart your computer, device AirPlay and network router.
    4. Because some Airplay devices include a power switch for AirPlay option, look for the option in the settings and make sure that the feature is enabled. Refer to the user guide of the device for more information.

    Use AirPlay to stream content from iTunes on your computer wireless
    https://support.Apple.com/en-us/HT202809

    All my best.

  • Please I can't change my email address for Windows Developer Preview... I tried to go to the user acct and change the credentials, but it does not solve

    When I installed Windows Developer Preview two days ago, I hastily added an email that was not common. They said I could change later. I went to windows live Essentials/Director and enacted a replacement acct win/live/hotmail and changed the address of electronic mail by default, but my computer continues to insist that I have connect and wants me to use the original yet? Please, I can't change the email address of systems... I tried to go to the user acct and change the credentials, but it does not solve >?

    Now, whenever I try to it is said I forgot to sign in. and fills in the wrong address and wants to give me the password but I sure can't find a code to go with this ACCT... wants the past for this account? sign in? IDK... Please help = |

    Thank you both... I had to reinstall the drive, also I have re-installed the vista I have to files, Shell said, it must use to install on a system. It works now. I was in contact with the forum Dev =.) see you soon

  • in win movie maker several times during any change in my film, it does not

    in windows movie maker several times when I made changes in my movie, he does not he will accept that one change, then it will not respond

    What is the source of your file? What is a compatible format?
    Try with a small file and see if you still found a blockage when you try to make a change.

    Thank you

    Marilyn

  • Administrator profile does not

    I can not connect from the windows login page that my profile does not load, please can you suggest a fix? Please can you teel me step by step what I need to do about it, I am connected with the other profile of the user who is not an administrator for the time profile, my password does not work for updates, if I try to update something in this respect either.  Help, please!

    I can not connect from the windows login page that my profile does not load, please can you suggest a fix? Please can you teel me step by step what I need to do about it, I am connected with the other profile of the user who is not an administrator for the time profile, my password does not work for updates, if I try to update something in this respect either.  Help, please!

    Hello

    1st thing to try is the system in safe mode restore to before the problem

    http://www.windowsvistauserguide.com/system_restore.htm

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode option with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.

    If that does not solve it read more

    read the tutorial below

    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    When you log on a Windows Vista-based or a Windows 7 computer by using a temporary profile, you receive the following error message:

    The user profile Service has not logon. User profile cannot be loaded.

    http://support.Microsoft.com/kb/947215#letmefixit

    Your user profile was not loaded correctly! You have been logged on with a temporary profile.

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

    If you tried to log on to Windows and received an error message telling you that your user profile is damaged, you can try to fix it. You will need to create a new profile and then copy the files from the existing to the new profile. You must have at least three user accounts on the computer to perform these operations, including the new account that you created.

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Walter, the time zone traveller

  • my user profile does not load correctly

    my user profile does not correctly load system continues to connect with a temporary file. All I had on my screen disappeared! How can I get that back as it was? I tried to restore to an earlier time, but no luck.

    Hello

    Check this box:

    Error message when you log a computer Windows Vista-based or Windows 7 by using a temporary profile: "the user profile Service has no logon. Unable to load the user profile.

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

    Does that help?

    "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • After that I put my password, it indicates that my personal profile does not load and it gives me a temp

    original title: Login - personal profile

    After that I put my password, it says that my personal profile does not load and it gives me a temp.  He told me to go in the event log or contact administrator

    Your computer has recently made an update? There are now three consecutive profile simillar problems in this forum. I checked my update and there are 13 important updates, I invited I have to wait. I hope that someone could come up with the cause. The problem is serious, which can lead to loss of your files.

    Vista - user - logged on with a temporary profile profile error

    http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.html

    I hope I could help

  • My profile does not load. I am eager to correct it because I hate doing the profile of my mother.

    My profile does not load. I wonder why and how I can fix it. My profile has the information I need for everything. I don't understand why it will not load. I have a password that way people that I don't know will get not on my computer. My password is correct, but it tells me that my profile can not be loaded. What should I do to fix this?

    Please see the links to solve this question below. "The user profile Service has no logon. Unable to load the user profile.

    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

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

  • User profile does not load correctly, the user could not be connected.

    I tried to login to my account to administrator with my correct password and it says "user profile can be connected, user profile does not load correctly ' or something to that effect. Even when I login as a guest and enter my admin password on the user accounts settings and click ok, it won't let me access or modify accounts. Please help me, I am not able to access one of my documents or pictures of my guest account.

    ·                         Restore point:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If the above does not work:

    http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    Difficulty of a corrupted user profile

    After creating the profile, you can copy the files from the existing profile. You must have at least three user accounts on the computer to perform these operations, including the new account that you created.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

    A temporary profile is loaded after you connect to a Windows Vista-based system

    See you soon.

    Mick Murphy - Microsoft partner

  • Smartphones BlackBerry of RIM blackBerry 9220 curve - vibrate profile does not work.

    Hello RIM! :

    I have my Curve RIM 9220 for a month half and suddenly vibrate profile does not work.

    I tried the soft reset, Double Soft Reset and finally what I hated the most, is the Hard Reset.

    This phone is ideal, but with this question, I might think twice. Please help RIM. Helpsmilie::

    Hi PinoyAkoBakit,

    Welcome to the support community!

    Can you please clarify what you mean by rebooting to hot, double soft reset and hard reset?

    I would say that your database of sounds/profiles of compensation and set up your notifications again manually, without restoring these settings from a backup file. This article provides the steps to do this. 'How to clear data from the BlackBerry Smartphone user' http://bbry.lv/JtQKcw

    If this does not resolve the problem, try to back up your data and perform a clean reload of your BlackBerry® Device Software. For additional instructions, see the following KB articles.
    For Windows®: "how to perform a clean reload of the BlackBerry Device Software for Windows' http://bbry.lv/GI9beY
    For Mac: "Perform a clean reload of the BlackBerry smartphone application software on a Mac using BlackBerry Desktop Software" http://bbry.lv/J0UN1U

    Please test to make sure that the problem has been resolved before restoring all the data from your backup file.

    I hope this helps.

  • How I download/install adobe first cc on the D drive because I don't have enough on the C: drive? Ive gone to settings on creative cloud and location of the file changed already but it still does not work.

    How I download/install adobe first cc on the D drive because I don't have enough on the C: drive? Ive gone to settings on creative cloud and location of the file changed already but it still does not work.

    Hi brandong13,

    Here are the steps that you can follow.

    1 change the location of installation using Creative Cloud Desktop App, go to preference > creative cloud > Apps and change the installation location.

    2. delete the folder '%Temp%' and restart the process.

    NOTE: Application is downloaded to the default location, we can only customize the installation location using creative cloud app in this case.

  • I create my web and download it to Dreamweaver, but it came as I wanted. Now, I need to change the page, but it does not allow me to do so because that is block need help

    Hello

    I create my web and download it to Dreamweaver, but it came as I wanted. Now, I need to change the page, but it does not allow me to do so because that is block need help

    First, set the folder of your site.  Go to Site > new Site > tell DW where to save files to the local site.

    http://layersmagazine.com/defining-site-Dreamweaver.html

    Nancy O.

Maybe you are looking for