Sponsored Content
Operating Systems AIX Virtual Ethernet VIO HMC LPARs Post 302321619 by homeyjoe on Monday 1st of June 2009 05:46:51 PM
Old 06-01-2009
This can be a tough concept to grasp - I'll list the steps I do.

1. Edit VIO profile from the HMC like you list in #2.
- I noticed that the steps you listed in #2 go into the 'Dynamic Logical Partitioning' but be careful because if you don't make changes to the profile also then when you reboot the lpar (VIO or client) all changes will be lost.
- Make sure you put a checkmark in 'Access external network Trunk priority'. Also , make note of which adapter ID you give it (it doesn't matter what the number is, this will be used later when you do the mkvdev command). I used 23 because we have a .23.xxx network segment and a .41.xxx segment (you can guess what I used for the other virtual ethernet adapter id).

2. Edit the lpar client's profile from the HMC and do all of the steps you listed under #2
- BUT do NOT put a checkmark in 'Access external network'
- Use the same Adapter ID you made note of in my Step 1. I also use the same ID for the VLAN ID.

3. Create the SEA on VIO1 - (on our system the 23 segment cable is plugged into ent1)
Example from my VIO1:
# lsdev -Cc adapter |grep ent

ent0 Available 02-08 10/100/1000 Base-TX PCI-X Adapter (14106902)
ent1 Available 0A-00 10/100/1000 Base-TX PCI-Express Adapter (14104003)
ent2 Available 0A-01 10/100/1000 Base-TX PCI-Express Adapter (14104003)
ent3 Available 08-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent4 Available 08-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent5 Available Virtual I/O Ethernet Adapter (l-lan)
ent6 Available Virtual I/O Ethernet Adapter (l-lan)

## Find 23 segment (C23) virtual adapter (Ex. ent5)
# lscfg | grep ent | grep Virtual
* ent5 U9117.MMA.10FF11F-V3-C23-T1 Virtual I/O Ethernet Adapter (l-lan)
* ent6 U9117.MMA.10FF11F-V3-C41-T1 Virtual I/O Ethernet Adapter (l-lan)

## So we will create the SEA using ent1 as the physical adapter and ent5 as the virtual adapter
$ mkvdev -sea ent1 -vadapter ent5 -default ent5 -defaultid 23

4. Boot the client lpar or run cfgmgr if it's already up and running - then configure the adapter as usual with 'smitty tcpip'

Hope this helps.
Homeyjoe
 

9 More Discussions You Might Find Interesting

1. AIX

Help urgent : vio server - add extral disk on virtual lpar

Hi, I define 2 new LV on the vio server and run a cfgmgr on the partition and see my 2 new hdisk (hdisk6 and hdisk7). I extend my vg vg000 (on the partition) and add the 2 hdisks. I had a filesystem on the vg000 and when I added the disk I would like to increase the filesystem. But I cannot do a... (0 Replies)
Discussion started by: touny
0 Replies

2. UNIX for Advanced & Expert Users

Virtual Ethernet

I understand that one should setup virtual ethernet adapters in the lpars which is the best way for various lpars to communicate with each other - Does anyone have info on this or can point me to a doc that explains how to set this up? (1 Reply)
Discussion started by: capeme
1 Replies

3. AIX

Virtual Ethernet with VIO

We're using VIO (not an HMC) to manage our LPAR's We have 3 physical adapters and 4 LPARs. Through the VIO interface we assigned 2 virtual interfaces but require a 3rd interface assigned to these LPARs. I am experiencing issues understanding exactly how to create another virtual adapter, either... (1 Reply)
Discussion started by: scottsl
1 Replies

4. AIX

CDROM Issue on LPAR HMC VIO

Whenever I assign/unassign a CDROM ( RAID CTRL ) to Active LPAR from HMC, I have to reboot the LPAR. How can I do it without rebooting the LPARS. POWER6 with HMC LPARS = AIX 6.1 Any info developerWorks : AIX and UNIX : PowerVM Forum : Moving CD-ROM/DVD-ROM dynamically ... But... (5 Replies)
Discussion started by: filosophizer
5 Replies

5. AIX

Inherited VIO server an LPARs

Lucky me, someone has installed a server and got it running with the best intentions, but leaving me a headache. :wall: We have a simple p520 with 4 disks. 2x145Gb & 2x300Gb. The smaller disk pair have been built into a VIO mirrored rootvg, and quite right too. The other two disks form a... (3 Replies)
Discussion started by: rbatte1
3 Replies

6. AIX

Setting up an Integrated Virtual Ethernet adapter

All I am trying allocate an IVE to an LPAR (not a VIO) running AIX 7.1. I am getting the error: HSCL068A Explanation Logical port can not be assigned to Logical Partition because this Logical Partition is not the promiscuous LPAR for the physical port. Has anyone encountered this... (1 Reply)
Discussion started by: johnf
1 Replies

7. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

8. AIX

Connecting system to Virtual HMC

Hi, I just successfully build a Virtual Machine in virtual box with Perfectly running HMC v7. I have a IBM eServer pSeries Model 630 Model 6C4 (Power 4) i.e. 7024-6C4. I am not able to have it connect to the HMC console on the Virtual Box. Can anyone help me on how to connect it to the... (8 Replies)
Discussion started by: uzair_rock
8 Replies

9. AIX

Need to replace a broken PV in a VIO VG used for client LPARs (and it won't release the old one)

I have a broken PV in a VIO VG that's used to support client LPARs using LVs. On the client LPAR, I reduced all PVs from the relevant client VG and thus deleted it. I.e. there is no client LPAR using the VIO VG. Yet when I try to reducevg the VIO VG, it complains that the LV hosted on the PV is... (2 Replies)
Discussion started by: maraixadm
2 Replies
roar_vs_file(3) 					   RoarAudio Programmer's Manual					   roar_vs_file(3)

NAME
roar_vs_file, roar_vs_file_simple, roar_vs_new_from_file - File mode for VS API SYNOPSIS
#include <roaraudio.h> int roar_vs_file(roar_vs_t * vss, struct roar_vio_calls * vio, int closefile, int * error); int roar_vs_file_simple(roar_vs_t * vss, char * filename, int * error); roar_vs_t * roar_vs_new_from_file(const char * server, const char * name, char * filename, int * error); DESCRIPTION
These functions are used to open the VS object in file mode. In the file mode the VS API reads or writes the data from or to the file itself. The file mode uses normal VIO/DSTR so it supports streams as well. Just pass the stream URL as filename. roar_vs_file() sets up the file mode for a already opened object using the open VIO handle vio. This function requires the use of roar_vs_stream(3). roar_vs_file_simple() sets up the file mode using a given filename (or URL). It opens the file using DSTR API. By default the function assumes playback mode and tries to auto detect the audio parameters. To override the auto detection or use a diffrent stream direction use roar_vs_stream(3). roar_vs_new_from_file() creates a new VS object and enters file mode using the file (or URL) given as filename. To send data to or read data from use roar_vs_iterate(3) or roar_vs_run(3). PARAMETERS
server The server to connect to. NULL for defaults. name The application name. This should be something the user can use to identify the application. It MUST NOT be the application's binary name or the value of argv[0]. vio The VIO handle to be used by the file mode. closefile This parameter tells the file mode if the file should be closed on roar_vio_close(3). Must be ROAR_VS_TRUE (common) or ROAR_VS_FALSE. filename The filename used to open the file for file mode. The file is opend using DSTR API. All kinds of files supported by DSTR are sup- ported. This includes HTTP streams. error This is a pointer to a integer used to store the error value in case of error. This can be NULL if not used but it is very recom- mended to use this error value to report good error messages to the user. RETURN VALUE
On success roar_vs_new_from_file() return a new VS object. On error, NULL is returned. roar_vs_file() and roar_vs_file_simple() returns 0 on success and -1 on error. EXAMPLES
roar_vs_t * vss; int err; vss = roar_vs_new_from_file(NULL, "MyApp", "http://...", &err); if ( vss == NULL ) { //handle error. } if ( roar_vs_run(vss, &err) == -1 ) { //handle error. } if ( roar_vs_close(vss, ROAR_VS_FALSE, &err) == -1 ) { //handle error. } SEE ALSO
roar_vs_new_simple(3), roar_vs_iterate(3), roar_vs_run(3), roar_vs_close(3), roarvs(7), libroar(7), RoarAudio(7). RoarAudio June 2011 roar_vs_file(3)
All times are GMT -4. The time now is 08:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy