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
vparremove(1M)															    vparremove(1M)

NAME
vparremove - remove a virtual partition SYNOPSIS
vp_name db_file] DESCRIPTION
The command deletes a virtual partition previously created using the command. All resources associated with the virtual partition are made available for allocation to other partitions. Unintentional use of this command has serious consequences; therefore the user is prompted to confirm the operation unless the (force) option is specified. Options recognizes the following command line options and arguments: Specifies the unique name of the virtual partition which is to be removed. Required. Removes a virtual partition from the partition database contained in db_file. If this option is omitted, the virtual partition is removed from the monitor's database. In this case, the partition must be in the state to be removed. Thus it is an error to try to remove the current virtual partition, the one in which the command is executing. Specifies the force option. Omits the confirmation dialog before removing the virtual partition. This option is intended for use by scripts and other non-interactive applications. SECURITY RESTRICTIONS
This command is restricted to processes owned by superuser. When virtual partition flexible administrative capability is enabled, a virtual partition can only be removed from within a Designated- Admin vPar. RETURN VALUE
The command exits with one of the following values: Successful completion. One or more error conditions occurred. EXAMPLES
Destroy the virtual partition in the partition database currently running in the monitor: Destroy the virtual partition in the partition database currently running in the monitor using the force option: Delete partition in partition database file ERRORS
displays error messages on standard error for any of the following conditions: o db_file does not exist, cannot be accessed, is not a virtual partition database file, or is corrupt. o vp_name does not exist in the monitor's database or in db_file. o vp_name in the monitor's database is in some state other than o The command and the virtual partition monitor are at different revision levels. o When the virtual partition flexible administrative capability is enabled and the local virtual partition is not a Designated- Admin vPar. AUTHOR
was developed by the Hewlett-Packard Company. SEE ALSO
vparadmin(1M), vparboot(1M), vparconfig(1M), vparcreate(1M), vpardump(1M), vparefiutil(1M), vparenv(1M), vparextract(1M), vparmodify(1M), vparreloc(1M), vparreset(1M), vparstatus(1M), vparutil(1M), vparresources(5), vpartition(5), vpmon(5). vparremove(1M)
All times are GMT -4. The time now is 02:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy