| Blogs | Classifieds | Downloads | FlashChat | Gallery | Googlemap | Invite Friends | Links | Projects | Reviews | Wiki |
| |||||||||
|
#1
| ||||
| ||||
I am sure this is a quick question ![]() With the mapping of storage to a vhost (LPAR) using the 'mkvdev -vdev..' command, how do I know that the hdisk I am mapping to the vhost will have affinity to a specific VIOS? What I am trying to determine is which is the primary VIOS in steady state for that LPAR and also in a failed over state for the same LPAR. Is it merely a case of the steady state being the VIOS that I first ran the mkdev command on? I have found a command 'mpstat -h' (not yet tried this). Thanks. JP |
|
#2
| |||||||||||
| |||||||||||
Hi popesy mpstat (-h flag does not exist or is at least not documented) Collects and displays performance statistics for all logical CPUs in the system. So how shuld that help you on the quest finding your "primary" VIO server. There is no quick and easy info on that so you better write that when you create the LPAR LUNs in some sort of documentation or your lost! You may keep them in the head or think I always take VIOx as primary. It may wor a while but as your infrastructure and IT team grows this is something that should be documented! Well lets assume you have to VIOS and one LPAR, on that LPAR a hdisk2 for example and want to know which VIO server serves it as "primary" and which one is the "backup". Here the example: Quote:
Quote:
Quote:
Quote:
Now log on to your HMC, gor to manage profiles of the lpar you just logged in and look into the active profile on virtual adapters there we have a "Adapter ID" this represents the Client slot ID. Look at number "9" in the same row the next filed shows you the connected VIO Server. If you want to know which disk the client hdisk2 on the VIO is then Note the "Connecting Adapter" in the same row and log into the VIO server which was shown in the last step. In my case its i21vio2 and my Connecting Adapter is "19". Quote:
Quote:
Quote:
Quote:
with Quote:
Be cautious this is an environment with default MPIO Fiber Disk Driver enabled. If you use any other storage devicedriver like Hitachi HDLM or SDD from IBM you might have to handle the disks on the VIO in some other way (lspath will not work as expected for example). Anyway you see this is all but easy to get to this info so you better prep your excel documents for lot of VIO-LPAR documentation... Cheers seth Edit: made it more readable |
|
#3
| ||||
| ||||
| Seth Cheers for this, it is absolutely what I was after. All path priorities are set to '1'. That being the case I understand that that means the primary one is the vscsi adapter with the lowest numeric value assigned to it i.e. out of vscsi0 and vscsi1 the primary will be vscsi0. Many thanks for your help with this, JP |
![]() |
| Bookmarks |
| Tags |
| primary, vios |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |