Well,
So far i've done the following:
Installed the VIOS (for the 4th time), during the first step i noticed that
you can change the Edition it installs (which is weird, since it should
check with the FSP to see whether Express,Standard or Enterprise is enabled)
extended rootvg to the second disk (got 4x 73Gb xseries disks on the CEC)
enabled mirroring
made sure both disks were added to the bootlist
logged as padmin and accepted the license terms

Now, i went to the HMC, created a virtual Eth device and assigned the first
logical port of the LHEA to the VIOS partition.
I tried to make a SEA (Shared Ethernet Adapter), as per unixguru's video
(good resource, has lots of basic VIOS/HMC tasks):
http://www.dailymotion.com/video/x6t5ve_virtual-ethernet-setup_tech
And this is why i originally created this thread, i couldn't get it to work
(mkvdev command returned a invalid response)
I found this redbook on IVE (Integrated Virtual Ethernet):
http://www.redbooks.ibm.com/redpapers/pdfs/redp4340.pdf
And found the problem:
"If you assign a logical port to a Virtual I/O Server through a physical
port without the
promiscuous mode enabled, the Virtual I/O Server is not able to use the
mkvdev command to
define the SEA. SEA requires HEA as a dedicated adapter, capable of viewing
all network
packets in order to deliver them to all LPARs or to drop them when they do
not belong to the
defined network."
So i went to the HMC and made sure the logical port was set to promiscuous
and assigned to the VIOS partition.
This time, the mkvdev command worked and the SEA got created.
Assigned TCPIP settings per unixguru's video and did a happy dance.

Now i found myself with the task of creating the SCSI adapters and disk
devices.
And again i hit a wall:
All the tutorials and developerworks threads i'm finding talk about AIX.
Do the disks for AIX work for IBM i? i mean, they used to have a 512 to 522
bytes per sector difference that made them incompatible so i suppose i have
to create disks for IBM i with a specific parameter, or does it work with
normal disk devices?

Best Regards!

Roberto




On Fri, May 17, 2013 at 5:07 PM, Roberto José Etcheverry Romero <
yggdrasil.raiker@xxxxxxxxx> wrote:

Pete,

IVM is present whenever you DONT use an HMC, i have a power4 blade (JS21)
gathering dust and i've been meaning to test it with VIOS; but i thought it
better to start with the HMC and the big POWER6 machine...
If i'm not mistaken, you cant access the IVM part of VIOS when the system
is HMC managed, since the HMC takes over those functions.

Best Regards,



On Thu, May 16, 2013 at 3:37 PM, Pete Helgren <pete@xxxxxxxxxx> wrote:

My experience has all been on a JS12 Blade but I would think there are
many similarities between VIOS on a Power 6 blade and any other Power 6
hardware. I used the "IBM i on a Power Blade Read-me First.pdf" from
Vess Natchev (IBM) and though much of it applied to getting the blade
configured with the BCS chassis, the section on using the console with
VIOS and the initial configuration steps are very readable (starting
around section 5.2.2)

I pretty much use the IVM for everything and rarely need to go to the
command line in AIX. Is the IVM, a component of PowerVM, not included
on other hardware? The GUI is pretty simple to use and outside of
getting an IP address configured, I don't recall much else in command
line configuring.

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java

On 5/16/2013 12:26 PM, Roberto José Etcheverry Romero wrote:
Most of these i already had (not the one for expanding the vg and
enabling
mirroring), but it's good to get them all in the same place and with
explanations no less!

I'll explain my problem then, maybe an idea will pop:
This POWER6 has no 5701/5706, it only has the internal 4 port IVE 1Gb
card.
I had found a video tutorial for setting up TCPIP on VIOS but it assumed
you had a real card. the only entX devices i have are from the LHEA
card. i
assigned a logical port from the HMC and created a virtual eth adapter
but
when attempting the mkvdev between them i get "unrecognized error" the
syntaxis is the same as when making a bridge between virtual eth and
5701/5706 cards...
I remember getting TCPIP working (as in, HMC sees VIOS via TCPIP) but
using
a dedicated port on the LHEA card, and i want to make it use the bridge
device...

I'm going to a client tonight so i'll have to leave for next week.

Thanks all, i'll update with info as i get it.

Best Regards,

Roberto


On Thu, May 16, 2013 at 11:48 AM, Jim Oberholtzer <
midrangel@xxxxxxxxxxxxxxxxx> wrote:

Here's a starter. Some of these I ripped off from Larry Bolhuis:

***To mirror VIOS first include the second disk in the Volume Group
extendvg rootvg hdisk1

*** Then mirror to it
mirrorios hdisk1

*** Configure Devices. Must be done whenever DLPAR is done for VIOS.
cfgdev

***List Physical Volumes
lspv

***List Logical volumes on a pv
lspv -lv hdisk0

***List Volume Groups
lsvg

***List Logical volumes in a Volume Group

lsvg -lv iStorage1

***List all disks

lsdev -type disk -field name phydfsloc

***Make a new File Backed Logical Volume

mkbdsp -bd IBMi01_04 -sp iStorage1 36000M
mkbdsp -bd IBMi01_10 -sp iStorage2 36000M

mkbdsp -bd IBMia1_09 -sp iStorage1 36000M
mkbdsp -bd IBMia1_10 -sp iStorage2 36000M

***Make a bunch of them!

i=10
while [ $i -lt 12 ]
do
i=$((i+1))
mkbdsp -bd IBMia1_$i -sp iStorage1 36000M
i=$((i+1))
mkbdsp -bd IBMia1_$i -sp iStorage2 36000M
done


mkbdsp -bd IBMi02LS -sp iStorage1 36000M
mkvdev -dev vtscsi31 -vadapter vhost5 -vdev IBMi02LS

mkbdsp -bd IBMi02_01 -sp iStorage2 36000M
mkvdev -dev vtscsi32 -vadapter vhost5 -vdev IBMi02_01

mkbdsp -bd IBMi02_02 -sp iStorage1 36000M
mkvdev -dev vtscsi33 -vadapter vhost5 -vdev IBMi02_02

mkbdsp -bd IBMi02_03 -sp iStorage2 36000M
mkvdev -dev vtscsi34 -vadapter vhost5 -vdev IBMi02_03

***Remove a logical volume

rmlv IBMi01_04

i=0
while [ $i -lt 10 ]r
do
i=$((i+1))
mkbdsp -bd EPIa_10 -sp SSD1 36000M
done

rmlv -f IBMi01_$i
***List all disks mapped to their virtual host adapters:

lsmap -all

***List disks mapped to a single virtual host adapters:

lsmap -vadapter vhost1

***Make a virtual disk named vtscsi4 mapped to adapter vhost1 file
backed by IBMi01_05

mkvdev -dev vtscsi4 -vadapter vhost1 -vdev IBMi01_05

*********** VIOS Image Catalog ***************
***Make a repository in the rootvg that's 20G capacity

mkrep -sp rootvg -size 20G

***Import a file(image) from a directory into the catalog READONLY

mkvopt -name image.name -file /home/padmin/image.name -ro
mkvopt -name V7R1_Upg_01 -file /home/padmin/V7R1_Upg_01 -ro

mkvopt -name V7R1BUILD -file /home/padmin/v7/licpgm/V7R1BUILD -ro
mkvopt -name V7R1BUILD01 -file /home/padmin/v7/licpgm/V7R1BUILD01 -ro
mkvopt -name V7R1BUILD02 -file /home/padmin/v7/licpgm/V7R1BUILD02 -ro
mkvopt -name V7R1BUILD03 -file /home/padmin/v7/licpgm/V7R1BUILD03 -ro
mkvopt -name V7R1BUILD04 -file /home/padmin/v7/licpgm/V7R1BUILD04 -ro

***List disks in an Image Catalog ('Repository')
***Also shows which (if any) is loaded into which drive

lsrep

***Make a file backed optical drive vtopt0 attached to vhost0

mkvdev -fbo -dev vtopt0 -vadapter vhost0
mkvdev -fbo -dev vtopt9 -vadapter vhost9

***Load an image into the virtual drive vtopt0

loadopt -disk image.name -vtd vtopt0


***Unload whatever image is in the virtual drive vtopt0

unloadopt -vtd vtopt0


Good luck!

Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


On 5/16/2013 9:03 AM, Paul Fenstermacher wrote:
It would be very helpful if someone would post their version of the
cheat sheet. I've done a few VIOS installs and didn't think to create
a
list of commands but going forward it would be helpful. Thanks Jim.

Paul Fenstermacher | Sys/NW Admin,Sr | Corporate Systems - POWER
Systems Administration | Jack Henry& Associates, Inc.®
663 West Highway 60 | Monett, MO 65708 | Ph. 417.235.6652 | x177389 |
pfenstermacher@xxxxxxxxxxxxx

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:
midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jim Oberholtzer
Sent: Thursday, May 16, 2013 8:33 AM
To: Midrange Systems Technical Discussion
Subject: Re: VIOS from scratch

VIO Server is a learning curve without a doubt, a steep one. A strong
Unix background is really helpful. (all of my partitions are
virtualized
with VIOS so I deal with it quite often)
The best place to look for help is in DeveloperWorks, and don't forget
the AIX forums.
Start a cheat sheet with all the commands you use. Larry suggested,
and I followed the suggestion to use Notepad for all the commands you
use,
setting up the virtual SCSI and other devices. That way you can
copy/paste
from note pad into PuttY.
One word of warning. The shell is just plain awful. Be sure to set
your Putty configuration correctly. Problem is, I have not found
anyone
(or a website) that can really tell me what those settings should be
so I
tinker with them until they work.
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


On 5/16/2013 7:52 AM, rob@xxxxxxxxx wrote:
I, too, wouldn't mind learning more about this.


Rob Berendt
-- IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept
1600 Mail to: 2505 Dekko Drive Garrett, IN 46738 Ship to: Dock 108
6928N 400E Kendallville, IN 46755 http://www.dekko.com From: Roberto
José Etcheverry Romero<yggdrasil.raiker@xxxxxxxxx> To: Midrange
Systems Technical Discussion<midrange-l@xxxxxxxxxxxx>, Date:
05/16/2013 08:34 AM Subject: VIOS from scratch Sent by:
midrange-l-bounces@xxxxxxxxxxxx I've been mucking around with a nice
POWER6 that we got cheap from IBM-Remarketing a few weeks ago.
Installed VIOS 2.x and got a feel around. I've found some videos
explaining initial configuration, but the config was not exactly the
same (it assumed i had a non-IVE network card and set up the VIOS-HMC
link and general bridge thru that). Is there a good VIOS from scratch
tutorial anywhere? Also, the HMC reports that this machine has no
5250
capabilities, but it DOES have IBM i capabilities. Would that be like
saying "You have a 1000cpw batch and 0 interactive machine"? I've
read
a lot of manuals and think i have most of the theory behind VIOS
(some
concepts are harder, like the whole IVE-LHEA but not impossible).
Infocenter has not been kind to me since it seems only CE work at
this
level (weird since i remember a big client that had its people
trained
to reinstall VIOS in case of disaster). That's about it, if anyone
has
experience with this, feel free to share. I can be more specific
about
the problems i'm having but i would rather read the book than nag
someone. Best Regards,
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
NOTICE: This electronic mail message and any files transmitted with it
are intended
exclusively for the individual or entity to which it is addressed. The
message,
together with any attachment, may contain confidential and/or
privileged
information.
Any unauthorized review, use, printing, saving, copying, disclosure or
distribution
is strictly prohibited. If you have received this message in error,
please
immediately advise the sender by reply email and delete all copies.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.