Sponsored Content
Full Discussion: Create vhost in vios
Operating Systems AIX Create vhost in vios Post 302898698 by ibmtech on Wednesday 23rd of April 2014 11:03:20 AM
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.
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

10. 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
PUPPET-PARSER(8)						   Puppet manual						  PUPPET-PARSER(8)

NAME
puppet-parser - Interact directly with the parser. SYNOPSIS
puppet parser action OPTIONS
Note that any configuration parameter that's valid in the configuration file is also a valid long argument, although it may or may not be relevant to the present action. For example, server is a valid configuration parameter, so you can specify --server <servername> as an argument. See the configuration file documentation at http://docs.puppetlabs.com/references/stable/configuration.html for the full list of acceptable parameters. A commented list of all configuration options can also be generated by running puppet with --genconfig. --mode MODE The run mode to use for the current action. Valid modes are user, agent, and master. --render-as FORMAT The format in which to render output. The most common formats are json, s (string), yaml, and console, but other options such as dot are sometimes available. --verbose Whether to log verbosely. --debug Whether to log debug information. ACTIONS
validate - Validate the syntax of one or more Puppet manifests. SYNOPSIS puppet parser validate [manifest] [manifest ...] DESCRIPTION This action validates Puppet DSL syntax without compiling a catalog or syncing any resources. If no manifest files are provided, it will validate the default site manifest. RETURNS Nothing, or the first syntax error encountered. EXAMPLES
validate Validate the default site manifest at /etc/puppet/manifests/site.pp: $ puppet parser validate Validate two arbitrary manifest files: $ puppet parser validate init.pp vhost.pp COPYRIGHT AND LICENSE
Copyright 2011 by Puppet Labs Apache 2 license; see COPYING Puppet Labs, LLC June 2012 PUPPET-PARSER(8)
All times are GMT -4. The time now is 08:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy