Create vhost in vios


 
Thread Tools Search this Thread
Operating Systems AIX Create vhost in vios
# 1  
Old 04-23-2014
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
# 2  
Old 04-23-2014
Alright,
You have to create a Virtual SCSI Adapter (both on VIOS and Client), the mapping is done by selecting the Server/Client virtual SCSI ID.

How you do it, from HMC, select VIO1 --> Configuration --> Manage profile --> (select the profile - generally default) --> Virtual Adapters --> Actions --> Create Virtual Adapter --> SCSI Adapter --> Select the Server ID and Client ID but make sure you check this (only selected client partition can connect) box. --> Click OK.
You can leave "This adapter is required for partition activation" blank.
This change is NOT reflected immediately, but when you reboot the VIOS, Its kind of a permanent change.

Then you do --> Dynamic Logical partitioning --> Virtual Adapters --> Actions --> Create Virtual Adapter --> SCSI Adapter --> <Do the same you did above in profile>.
Since your VIOS is up and running, you want to add the Adapter without rebooting VIOS, so you add it to VIO dynamically. This change is reflected immediately.

On the Client, you just do the Manage Profile (considering you are building the LPAR and more over with assumption that the disk is not added for it to boot - as you are using vscsi)

Now, login to VIO1 in CLI mode (putty or console).
As Prime Administrator (padmin) run the below
Code:
$ lsdev -slots
....
....
U9117.MMD.104F3F7-V1-C20     Virtual I/O Slot  UNKNOWN
....
....
$ cfgdev
....
....
U9117.MMD.104F3F7-V1-C20     Virtual I/O Slot  vhostX
....
....

Also considering that you have allocated disk to VIOS  to map it to client. Make sure you do the disk settings (as in algorithm, hcheck_interval, queue_depth, reserve_policy)> Now you can add this disk to LPAR.

$ mkvdev -vdev hdiskX -vadapter vhostX -dev <device name>
Note: Device name is any name of your choice for that target device on VIOS, check with peers and give a sensible name.

Repeat the same steps on other VIO (VIO2) and make sure from client you add the vscsi adapter to both VIOS.

I Hope this helps.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Apache vhost - debug web request

Hello all, I have several vhost and not sure which vhost is serving the requests to my url http://www.mydomain.tld i have ssh access to the web server is there a way e.g curl to know exactly which vhost served the request. one of my friend suggested logs but i want to find another... (4 Replies)
Discussion started by: coolatt
4 Replies

2. Web Development

Vhost issue in apache ..Unable to figure out

Hi I have vhosts configured for my sites like: <VirtualHost ip_abc:8081> ........ ..... .... </VirtualHost> Now I have added a new vhost but on entering the same information on some other port say: <VirtualHost ip_abc:8082> ........ ..... .... </VirtualHost> (2 Replies)
Discussion started by: ankur328
2 Replies

3. Solaris

/usr/lib/vhost.so missing Solaris 5.10

Hi, i have a solaris 5.10 machine on which i am getting below error while executing cat command ld.so.1: cat: fatal: vhost.so: open failed: No such file or directory Killed it is related to file vhost.so missing Also when i did ldd cat result is as below libc.so.1... (1 Reply)
Discussion started by: Jcpratap
1 Replies

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

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

Apache vhost redirect to a cgi file

Hi guys, I've been trying to figure this out all day however havent managed to as of yet. I have a server called netmon (network monitoring) which runs a multitude of programs to monitor the network. I also have a cname pointing to netmon called smokeping. At the moment to access smokeping... (0 Replies)
Discussion started by: JayC89
0 Replies

7. AIX

VIOS

Can anybody provide me with usefull links to get knowledge how VIOS works and how to configure Lpars on it? I am tired and feel lazy to search through IBM redbooks :-) .. so pls help me :p (3 Replies)
Discussion started by: wwwzviadi
3 Replies

8. AIX

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. -... (1 Reply)
Discussion started by: learner1
1 Replies

9. AIX

IVE and VIOS

I would like to hear your opinions, comments, pros and cons about the IVE (Integrated virtual ethernet) and VIOS (virtual i/o server) With the VIOS can create virtual ethernet and virtual disk With the IVE I dont need to create the vios and I can have virtual ethernet (physical and logical... (3 Replies)
Discussion started by: lo-lp-kl
3 Replies

10. Shell Programming and Scripting

Whats the Vhost Command for the Unix Shell

anyone know? would be greatly thankful. (4 Replies)
Discussion started by: shellnewbie
4 Replies
Login or Register to Ask a Question