MPP change on all of the hosts, adapters, and LUN

Hello

Is there a way I can change the PSP on my host, HBA and LUN instead of changing each manually in vSphere client?

I have 47 machines, 6 HBAs and 3 hosts per cluster, I hope that I can automate this instead of manually changing each of them.

Also, is it possible to change the defauly used PSP when I add a new LUN?

-chris

Yes, you want to use esxcli for the to do.

for example

esxcli nmp device setpolicy --device naa.500000e11053d940 --psp VMW_PSP_RR

You'll want to make a simple loop on all your devices, and then set the psp you want to use

In regards to the PSP by default for all devices, you can accomplish that by using the setdefaultpsp which requires 2 arguments: the psp you want to use and associated with the ATAS.

for example here define us alternate default PSP if you use an array of EMC SYM

esxcli nmp satp setdefaultpsp --psp VMW_PSP_RR --satp VMW_SATP_SYMM

We define in our kickstarts so that any device added from this type of table, you will receive a RR PSP or any other rule that you want to add as a values by default so that you do not need to fix at a peripheral level

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

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at: http://www.virtuallyghetto.com/

Twitter: @lamw

repository scripts vGhetto

Introduction to the vMA (tips/tricks)

Getting started with vSphere SDK for Perl

VMware Code Central - Scripts/code samples for developers and administrators

VMware developer community

If you find this information useful, please give points to "correct" or "useful".

Tags: VMware

Similar Questions

  • Export all of the hosts, VM, and LUN info

    Is there a way to export all the Host, VM and location of the LUNS in a spreadsheet? I thought to check with you guys before I do it manually. Thank you.

    Have you looked at RVTools?

  • Data warehouses do not appear on all of the hosts even though storage devices appear on all hosts

    I have a frustrating problem that I can't solve, my data stores do not appear on all of the hosts even though storage devices appear on all hosts.  Tips on troubleshooting this would be greatly appreciated, it is connected to a Synology NAS iSCSI environment and I use it for my VCAP studies right now, or was

    Tried a lot of things so far...

    -Recreate the target and starting from scratch

    -recreate the cluster from scratch

    -Restart the storage

    -Restart the hosts (I think that I did in all cases)


    And probably a few other things, would appreciate any other advice/lessons

    Post edited by: a.p. - title shortened to allow for answers

    Please take a look at KB VMware: vSphere management LUNS identified as LUN snapshot to see if that helps.

    André

  • Can I change the host name and the IP of the ESXi servers?

    For reasons, I need to change the host name and IP address of my ESXi hosts on which is located the offices of the view.

    I can change it directly? or view desktop computers will be affected by the change?

    This thread will help you

    Re: Hosts view change ESXi and Vcenter Ip addresses

    If you found my answer helpful, review the allocation of points by choosing answers useful/correct

  • Windows7 won't let me edit the hosts file and save it

    Windows7 won't let me edit the hosts file and save it. What should I do to save the edited host file?

    This is a built-in security feature.  There is an easy solution.  Click onStart-> all programs-> Accessories.  Right click onNotepadand then click run as administrator.  If you are prompted for an administrator password or a confirmation, type the password, or clickallow or Yes.

    Open the Hosts file (from the notebook, that you opened), make your changes, and then click file ->Save.

    Barbara

  • Update of Firefox, and now all of the web pages and icons are inflated. How do I put back it as it was?

    Update of Firefox, and now all of the web pages and icons are inflated. How do I put back it as it was?

    Hello

    Firefox on Windows is now after display, scaling options that can make the biggest text on screens at high resolution.
    You can adjust the resolution of your screen.
    To change it follow these steps:

    • Type of topic: config in the Firefox address bar and hit the Enter key.
    • If the warning that this might void your warranty , click I'll be careful, I promised.
    • Search for layout.css.devPixelsPerPx

    • Double-click layout.css.devPixelsPerPx to edit its value. The default value is - 1.0 in Firefox 22 and above. Change it to 1.0 to run as in previous versions of Firefox.

    If necessary, further adjust the value of 0.1 or 0.05. Values between 1.0 and around 0.5 to reduce the size of the elements. Use a value greater than 1.0 to increase the size. For example, a value of 1.25 will increase the font size of the 125% to account for the default DPI setting in Windows 8. Check the value that you enter. Definition of a value that is too small will take everything away and too high will explode things.

    If the web pages should always be adjusted so you can watch the extension Default FullZoom Level or NoSquint .

    To adjust the font size for the user interface, you can use the extension of theme font & size changer .

    This solve your problems? Please report to us!

    Thank you.

  • The file names changed in wingdings, including the file extension and I can't delete, change them, open, etc. Here are the pictures.

    Have (had) a file with multiple files it contains with pictures in each file.  A week ago the pictures were there.  Now, the names are replaced by wingdings as names and file extensions.  When I try to open it, it is not accessible and that the file name, directory name or volume label syntax is incorrect.  When I try to delete it, it says that the file name you specified is invalid or too long and specify a different name.  When I try to rename it, it tells me that if I change the file name extension, the file may become unusable.  If I try to change anyway, it says I've specified file name is not valid or too long.  Only tried for the name 1.  I did a restore in the case where a program interfered with that.  However, nothing has changed.  All of the suggestions.

    You can download and try to delete the file Unlocker http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtmlwilh.  Although it is not designed for this particular circumstance, it may very well work in all cases, as it has been very successful in a wide variety of situations are not specifically highlighted in the directions (where do not work the normal Vista options).  NOTE: Some antivirus flag programs this program as a malware, but it is a 'false positive' and is safe to use perferctly.  My own software to flag, but several other well-known software products it clean and the warning is included in the documentation of the program.

    I wish there was a way to save the images, but at this point, it seems that the only option is to delete because you can't rename files EHF (if this option is available-I hope that work above).  Unfortunately, System Restore does not affect the files of data, so even if a program caused this, System Restore can eliminate the cause, but it would not restore the files to their previous names.

    If you have Vista Business, Vista Ultimate or Vista Enterprise, you can be lucky because they retain the files called snapshots http://windows.microsoft.com/en-AU/windows-vista/Previous-versions-of-files-frequently-asked-questions.  It can be used to recover previous versions of files that have been changed or deleted accidentally.  Here's how: http://www.microsoft.com/windows/windows-vista/features/shadow-copy.aspx.

    If you have Vista Basic or Premium of Vista, you don't have a shadow, but there is a free program for you that does essentially the same thing called Shadow Explorer: http://www.shadowexplorer.com/.  I suggest that you download and implement as soon as POSSIBLE to protect you if you accidentally delete or modify a file.  It will not help you in this instance, but it can help save the next time.

    I'm more concerned about why this has happened in the first place and prevent it from happening again.  I saw file names change before, but never of wingdings which then do not let you open, edit, delete, or rename.  We will check some of your system files: go to start / all programs / accessories / command prompt and right click on command prompt, and then click Run as administrator.

    Type sfc/scannow, go and let it run.  It will scan and try to correct some of your system files.  If all goes well he comes complete with no corruption, it could not repair (if it has these post of corruption here or try to analyze it to find the problem or files using http://support.microsoft.com/kb/928228.  If you find any these corrupted files, try to post them here.  Maybe we can replace the good files on the disc.

    While in the command prompt, type chkdsk /f /r and enter and let it run.  It will scan and try to solve any corruption or bad sectors on your hard drive and remove especially as a cause.

    If this does not work, then please post repetitive errors in Event Viewer about the name change (Start / Control Panel / administrative tools / Event Viewer).  Here's how to use Event Viewer: http://www.bleepingcomputer.com/forums/topic40108.html.

    If this does not work, you will need to do a repair/system upgrade using the Windows Vista Installation disc authentic (you own or that you can borrow from someone).  Here is the procedure: http://www.vistax64.com/tutorials/88236-repair-install-vista.html as well as the upgrade from an earlier version of the Windows section of the following: http://support.microsoft.com/kb/918884.  Although this will not affect your data, settings or programs, you should always back up your data before you start just be on the safe side. If other procedures do not work, it is almost certain to work - but it will probably not fix your renamed files.  You can have a lot of updates to re - install (including all you need to remove service packs).  If the version on system with SP1 or SP2 preinstalled cane and the disc is an earlier version, then you will need to do a slipstream drive as follows: http://www.vistax64.com/tutorials/151606-vista-sp1-slipstream-installation-dvd.html.

    I hope one of these procedures can solve your problem.  If this isn't the case, after return and we will try something else.  Return message anyway so we know how it turns out.

    Good luck!

    Lorien - a - MCSE/MCSA/network + / A +.

  • When using an adjustment layer to change the hue/sat (to make the fall colors), how to change hue/sat off the clothes clients and faces?

    When using an adjustment layer to change the hue/sat (to make the fall colors), how to change hue/sat off the clothes clients and faces?

    Choose the mask on the layers adjustment layer and paint in black in the areas that you don't want the adjustment layer to change

  • Advice on how best to configure the network adapters and virtual switch in ESX host

    I'm new to VMware and am its implementation.  I got my training a few weeks ago, and now I'm configing my hosts.  I have 3 guests, each have 2 network cards.  There is a virtual switch that ESX creates when it is installed (vSwtich0).  The books said that it is advisable to delete the VM network port of virtual machine that is assigned to the value group default virtual switch and put it on another virtual switch so that you keep your management network separated from the network of the vm for performance and security.  If I do this, all my virtual machines will have to go to 1 NIC b/c I only have 2 NICs per host.  I thought that I have just to keep all my groups of ports on the default vSwitch0 and add my second NETWORK adapter so that I can take advantage of the Association of NICs for redundancy and load balancing.  However, I'm not sure on the performance and the security risks.  Do you have any ideas or advice?  I could also create two virtual switches and put my virtual machines on one which would have a NETWORK card dedicated and put my service and Kernal VM console on another virtual switch with a dedicated network card.  However, in this scenario, I have no fault tolerance or load balancing.  We are a small shop and we have about 10-15 VMs on each host.  I don't have access to b/c distributed switching we paid only for the company (not more).  Thank you.

    Hi and welcome to the forums,

    With 10-15 VMs per box and I guess that I would seriously consider adding two extra cards for each host in the production machines. You could then do something like:

    vSwitch0 - vmnic0, vmnic2, vmnic3 - Console of Service, VM LAN network

    vSwitch1 - vmnic1 - VMkernel

    That would give you redundancy and performance to access your hosts (SC) and also for all your virtual machines. The VMkernel would get a NETWORK card dedicated for vMotion and could be on a separate network. He didn't need redundancy really as if the NIC sank the only issue is that you cannot vmotion virtual machines. In this case you would just move one of the NIC workgroup through to those switches manually.

    If you only have 2 network cards, then I would say having a vSwitch with two attached network adapters and VLAN the VMkernel may be off. I want absolutely to the redundancy of having two cards together.

    Hope this helps,

    Dan

  • Change to read only the "Hosts" file get an error, that you have not permission to save in this location

    Original title: change read only document___

    In Windows7 Home 64 bit, I'm editing a document "Hosts" in System32 > drivers > etc >

    It comes up with "you don't have permission to save in this location...".

     

    I am registered as an administrator and I can't seem to change the blue box 'read only '.

     

    I went to the command line using "attrib" but the answer is "no recognized internal or external command".

     

    Help!

     

    John


    Hi John,.

    Step 1: Follow the steps mentioned in the article below, which deals with a similar question

    You cannot change the Hosts file or the Lmhosts file in Windows Vista and Windows 7

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

    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.

  • Clocks additional all tell the same time and I can't change the time at all

    I need to understand how the clock on my computer application construction. There additional clocks that are all about the same time as mine and it does not give me any other time zone applied to them. How to fix this? It is said for the moment available only box is there a fix Ulaanbaatar.

    OK did it... now what?

    Back to additional clocks. See all changes if you click on this pointer.

    If nothing changes, then read this tutorial. It's verification options from drives that are designed to right the wrongs of your disks. Read it all first, particularly two method, step 3 and 4, with regard to changes in the disk check.
    When finished I wrapped up ready, start with a method.
    Remember, you will need to restart in order to start the disk check.

    t-4-2

  • How can I change my Site of the host installation webcenter?

    I installed sites Webcenter using localhost, but now I need to access the admin using the ip address, so when I enter the ip address on a different computer case drove to the local host, I just went to the futuretense file and changed the localhot to the ip address. And I try to enter to / http://10.10.40.119:8080/cs/page show me on the localhost once again, then what file I need to change to be able to use my ip address?

    case. Properties

    cas.securityContext.serviceProperties.service = http://10.10.40.119:8080 / cases/services/j_acegi_cas_security_check

    cas.securityContext.casProcessingFilterEntryPoint.loginUrl = http://10.10.40.119:8080/case/login

    cas.securityContext.ticketValidator.casServerUrlPrefix = http://10.10.40.119:8080 / AR

    cas.themeResolver.defaultThemeName = default

    cas.viewResolver.basename = fatwire_views

    property # moved to the host.properties file

    # $host.name = case

    #database.hibernate.dialect = org.hibernate.dialect.OracleDialect

    #database.hibernate.dialect = org.hibernate.dialect.MySQLDialect

    Database.Hibernate.Dialect = org. Hibernate.Dialect.HSQLDialect

    Hello!

    To do that you must display the following file settings

    SSOConfig.xml

    This file is located inside the web application of cs under WEB-INF/classes

    Look for the following entry:

    name of the property = "casUrl."

    The value of this field is the one you need to change

    Best regards

    Pedro

  • Change the host name and the url of the Oracle Application

    Hello, I need help to change the url of Application Oracle
    OLD url - http:// appssvr.XYZ.com:8007
    NEW url - http://erp.XYZ.co.in:8002

    Help, please

    Hi Richa,

    Please go through the below mentioned Notes Metalink.
    You just need to change the appropriate settings in the context of requests ($APPL_TOP/admin/*.xml, location) file and run Autoconfig.

    341322.1 how to change the hostname of a stream of Applications using automatic configuration
    338003.1 how to change the host name or port of the database layer using automatic configuration

    Let me know if you still have doubts.

    Concerning
    Neeraj Sharma

  • I can't open attachments Yahoo mail, but can in Internet Explorer. Tried all of the suggested fixes and nothing works.

    I tried all that on the previous thread for the same problem and I can not open attachments. I have no problem with attachments in Internet Explorer. It looks like a problem of FireFox for me.

    Whuch suggestions did you try? Here are two recent threads, I found:

    • / issues/978924 Cannot open the pdf attachment in Yahoo Mail. Worked in 25.0 not 25.0.1. Still works with IE.

    Have you tried /questions/977835? page = 2 #answer-506091 (change the parameters of 'Complete' to 'Basic')?

    Are you accessing Yahoo Mail directly from https://mail.yahoo.com/ instead of via a bookmark? Edit: I see already suggested this and linked to another thread, philipp/issues/971042

  • I downloaded a music software and then deleted. It has changed my title of the home page and I can't change back to Firefox. I don't know how to change this, but it does not work. Can you help me?

    Music software is imesh and I changed my title of the homepage with Firefox, in my internet options for Windows. Whenever I close the page, the home page changes back to the imesh search page. I deleted my computer including imesh go to windows Explorer and remove imesh all that I can find nothing will do.

    Steps to remove iMesh as your home page:

    1. In the address bar, type Subject: config and press ENTER.
    2. In the filter at the top text box, type: keyword. URL
    3. You will be presented with the entry for the keyword. URL
    4. Double-click it, delete the channel and press OK.
    5. Release of Firefox.

    Then, you must assign the desired as your homepage site. Open Firefox and follow the instructions provided in this article: How to set the home page.

Maybe you are looking for

  • LabVIEW Interface Kinect question

    Hello.  I hope someone can help with this problem.  I try to get the Kinect Demo.vi LabVIEW and additional vi (from Kinect LabVIEW using Microsoft Kinect API Interface) to run on my system: 64-bit Windows 7 Professional SP1 LabVIEW 2011 w / Vision Mi

  • How do I sett the link of web cam web Cam

    I want sett my Web on my pc except live comin video from another email address how this UI

  • Windows-no disk error message?

    Processing Message C0000013 parameter. What is the cause and how to fix it? Help please

  • Why my games rolled up to the taskbar at random intervals?

    So my problem is this: I'm playing a game, and with no sign windows puts up the taskbar in random intervals. (It's really annoying). The operating system does not drop an error or warning. I used Windows 7 RC 64-bit since almost 3-4 months and so far

  • 4850 HP Scanjet Windows 7 drivers not yet available.

    Posted in the wrong place and moved here 01/06/10 I have a new HP e9260f with an old, but perfectly ok Scanjet 4850.  The Image Zone 5.3 software will not load under Windows.  4850 driver does not work although the windows base driver seems to be ok.