Sponsored Content
Operating Systems AIX To see vhost on VIOS after creating an HMC profile Post 302376865 by jamesp on Wednesday 2nd of December 2009 01:32:55 PM
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:
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
reboot(1M)																reboot(1M)

NAME
reboot - reboot the system SYNOPSIS
time] message] time] message] DESCRIPTION
The command terminates all currently executing processes except those essential to the system, then reboots the system, or halts, or makes the partition ready for reconfiguration. When invoked without arguments, syncs all disks before rebooting the system. Options The command recognizes the following options: Shut down the system and halt. Shut down the system and reboot automatically (default). Shut down the system to a ready-to-reconfigure state and reboot if possible. If the partition is unable to reboot, it will stop at a ready-to-reconfigure state. However, if the option is also specified, the system will always stop at ready-to-reconfigure state. This option is available only on systems that support hardware partitions. Shut down the system to a ready-to-reconfigure state and do not reboot. This option can be used only in combination with the option. This option is available only on systems that support hardware partitions. Do not sync the file systems before shutdown. The and options are ignored with this option. Sync the file systems before shutdown; for file systems that were cleanly mounted, modify the flag from to (default). Quick and quiet. Suppress broadcast of warning messages, terminate processes by brute force (with and immediately call with arguments as indicated by the other options (see reboot(2)). No logging is performed. The and options are ignored with this option. Specify what time will bring the system down. time can be the word (indicating immediate shutdown) or a future time in one of two for- mats: and The first form brings the system down in number minutes; the second brings the system down at the time of day indicated (based on a 24-hour clock). Display message at the terminals of all users on the system at decreasing intervals as reboot time approaches. The message must not contain any embedded double quotes. At shutdown time a message is written in the file (if it exists), containing the time of shutdown, who ran and the reason. Only users with appropriate privileges can execute the command. WARNINGS
does not invoke the shutdown scripts associated with subsystems to bring them down in a cautious manner. See shutdown(1M). If the option is used in a virtual partition environment on a partitionable system, then the requested reconfiguration will not take place until all the virtual partitions on that hard partition are shut down and the virtual partition monitor is rebooted. AUTHOR
was developed by HP and the University of California, Berkeley. FILES
Shutdown log SEE ALSO
vpartition(1), reboot(2), partition(5). reboot(1M)
All times are GMT -4. The time now is 04:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy