To see vhost on VIOS after creating an HMC profile


 
Thread Tools Search this Thread
Operating Systems AIX To see vhost on VIOS after creating an HMC profile
# 1  
Old 11-16-2009
To see vhost on VIOS after creating an HMC profile

I created a profile in HMC for a new LPAR and activated it but not yet installed AIX.

Is there a step to make this new LPAR available as vhostX from the VIO server after creating and activating an HMC profile?

I already shared the CD-ROM device from the HMC profile.

Thanks.


- Steve
# 2  
Old 12-02-2009
Yes, you missed several steps. There is at least one Redbook on this subject. Let me run over the high points for you.
1) Spend some time thinking about how many client partitions you are likely to need and what resources those partitions are likely to require.
2) For each client partition you will need, modify the VIOS profile to add at least one v-scsi host adapter in it. When defining the host adapters, do _not_ use the "any" option. It will just cause problems later. When defining each host adapter, make sure to specify the partition ID of the client partition that will be using it and the virtual slot number of an available virtual slot in that client. By available, I mean a virtual slot number that is not occupied by a virtual serial or virtual network adapter.
3) When the VIOS profile has been modified to your satisfaction, power off the VIOS by running "shutdown -F". You can also use the HMC to power it off, but specify the "OS option". Do not use the "immediate" option, since that is equivalent to unplugging the power cord and may leave your VIOS rootvg in a bad state. But the important point here is that in order to let the VIOS see the new partition definition, you must deactivate and reactivate it. A simple reboot will not do this.
4) Use the HMC (or IVM if that is what you have) to re-activate the VIOS with the new partition definition. When it comes back up again, the new vhostX adapters should be available. You can assign your disk resources to the vhost adapters at this point.
5) Use the HMC to modify the partition definitions for each client, to add the client vscsi adapters. Make sure to specify the correct virtual slot number in the VIOS for the corresponding vhost adapter for that client. It is possible to assign multiple client adapters to a single vhost adapter, but only the first client to be activated wins. The others will not be able to open their adapter, so will not see any disks and will fail to install.

Now, you should be able to activate the client partitions and install them. The whole magic is making sure you have the client and host adapters matched up correctly.

Hope this helps.
This User Gave Thanks to jamesp For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

IBM VIOS AIX HMC Error

hello P6 was managed by HMC, tried to install on it VIOS 2.2.6 and got this error message Hosting requires a hosting partition -- boot not permitted vios-4 - imgbb.com then after creating an lpar in HMC got this message B2001230 vios-3 - imgbb.com anyone know how to solve this... (3 Replies)
Discussion started by: filosophizer
3 Replies

2. AIX

Create vhost in vios

Hello, I would like to create new lpar , but first i need to create a vhost to associate with it, does anyone know how to create vhost and associate it with lpar? Thanks in advance (1 Reply)
Discussion started by: prpkrk
1 Replies

3. AIX

Moving VIOS, LPAR's, HMC to different subnet

Hi, Just joined to new company with one Power 720 Express (8202-E4C) server and have no much experience with IBM systems. I am trying to move everything I mentioned to different subnet as required by customer contract (currently sitting on same subnet as company lan). Access to this subnet will... (8 Replies)
Discussion started by: spricer
8 Replies

4. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

5. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

6. Red Hat

Apache not using second vhost..

I have a test setup running apache 2.2. I'm just serving up some images to my dekstop. I can't get apache to use my second vhost entry.. I know both entries work as I switched them around in my vhosts.conf. I just can't use them both at the same time. Can someone help me please? my... (0 Replies)
Discussion started by: general_lee
0 Replies

7. Shell Programming and Scripting

problem in creating execute profile file in unix

first i created a profile file(my_var.profile) which contains export my_var=20 after that i created shell scripts(my_var.sh) which contains #!/bin/bash . ./my_var.profile echo '$my_var='$my_var but when i am executing sh my_var.sh it is showing error that no such file/directory .profile.... (6 Replies)
Discussion started by: pratikjain998
6 Replies

8. Shell Programming and Scripting

problem in creating my own profile file in unix

I am new in shell scripting. currently i am using cygwin. My problem is i created a profile file in my own folder. file name is first.profile in which i gave following values to variable export a=10 now i am executing this profile file by below command ./.first.profile it executed... (4 Replies)
Discussion started by: pratikjain998
4 Replies

9. UNIX for Dummies Questions & Answers

Help creating new .profile

Hi, We have a load of users which point to the same basic profile by a link: .profile -> /export/home/dusers/INIT/dot.profile I'd like to create a seperate profile for one user -testu12. If I remove the link from his profile will it delete the actual dot.profile file? I've tried to do a... (4 Replies)
Discussion started by: Grueben
4 Replies

10. OS X (Apple)

creating a new profile from command line

Does any1 know how to preform such an operation on a mac? any help appreciated (2 Replies)
Discussion started by: cleansing_flame
2 Replies
Login or Register to Ask a Question