Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another LPAR question

Status
Not open for further replies.
Aug 13, 2008
8
0
0
When I created a new LPAR it was created with partition ID 6,
and a local VIOS disk (hdisk5) was assigned to vhost 6 using
`mkdev -vdev hdisk5 -vadapater vhost6 -dev test_vhd5.

When I run `lsmap -all` on the VIOS it shows the new
device, but for vhost6 it doesn't have a client partition id
of 0x00000006. Since the lpar was created with partition id
of 6 I would expect that vhost6 would have partiton id 6 in lsmap
for the new backing device.

hdisk5 will be used for the AIX OS installation. Will lsmap
show vhost6 with a client partition id = 6 after the OS is
installed or did I miss something? Will the OS install to
hdisk5 for this client partition (6) since that vhost6 was
used for mkvdev? This will be a NIM install.

Is the vhost number, say vhost4 associated to the partition
id used during LPAR creation?

What if you have 32 LPARs and only vhost0-vhost8 are
available on the VIOS, how do you create vhost9-vhost32?

Thanks!
 
IMHO yes the lsmap -all will show the partition id once you install the OS and activate the partition. This can be seen from the examples in this link for lsmap command:


For other questions, you should find their answers in the links provided in the previous thread:


and here:


Regards,
Khalid
 
Code:
What if you have 32 LPARs and only vhost0-vhost8 are
available on the VIOS, how do you create vhost9-vhost32?

If you need to create more vhosts then you have to change this in the VIO profile (adding more virtual adapters) and then reboot the VIO to take the new changes.

Regards,
Khalid
 
So running `mkdev -vdev hdisk5 -vadapater vhost6 -dev test_vhd5`
is the correct way to add a local VIOS disk to my new client partition?

I also ran the same command on the second VIOS. When I get to the NIM
installation I assume it will show me two disks to use for the OS
installation which will be shown as hdisk0 and hdisk1 and I will install
to hdisk0 then on the client just use mirrorvg?

I have two virtual ethernet adapters assigned to my new client lpar
and when I activated the lpar and got my sms menu I have gone to "Setup
Remote IP" and it shows two NIC adapters as "Interpartition Logical LAN"
each with a different location code. When I do the NIM install and it
asks for the Client address, I assume I can select one of the two NIC
adapaters and enter the Client IP address for the new client LPAR?

Do I install the client LPAR using NIM as I would a standalone AIX server?

And just for my own clarification, when using mkvdev, the vhost(X) is the
same number as the client partition id when the client lpar was created?

Thanks!
 
according to the command definition

mkvdev -vdev TargetDevice -vadapter VirtualSCSIServerAdapter [-dev DeviceName]

Yes your statement is correct!

Installing an LPAR using NIM is just as you are doing it using a standalone Server!


Code:
I also ran the same command on the second VIOS.  When I get to the NIM 
installation I assume it will show me two disks to use for the OS 
installation which will be shown as hdisk0 and hdisk1 and I will install
to hdisk0 then on the client just use mirrorvg?

Yes

Code:
And just for my own clarification, when using mkvdev, the vhost(X) is the
same number as the client partition id when the client lpar was created?

I would again advice you to read my links :)


You will find all your answers by reading! reading is the starting point as you will aquire the knowledge of doing!

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top