|
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 thecheat 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.
Systems Administration | Jack Henry& Associates, Inc.®
Paul Fenstermacher | Sys/NW Admin,Sr | Corporate Systems - POWER
663 West Highway 60 | Monett, MO 65708 | Ph. 417.235.6652 | x177389 |pfenstermacher@xxxxxxxxxxxxx
midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jim Oberholtzer
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:
Sent: Thursday, May 16, 2013 8:33 AMUnix background is really helpful. (all of my partitions are virtualized
To: Midrange Systems Technical Discussion
Subject: Re: VIOS from scratch
VIO Server is a learning curve without a doubt, a steep one. A strong
with VIOS so I deal with it quite often)
The best place to look for help is in DeveloperWorks, and don't forgetthe 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 setyour 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 Oberholtzerlist To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
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
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-lmoment to review the archives at http://archive.midrange.com/midrange-l.
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
NOTICE: This electronic mail message and any files transmitted with itare intended
exclusively for the individual or entity to which it is addressed. Themessage,
together with any attachment, may contain confidential and/or privilegedinformation.
Any unauthorized review, use, printing, saving, copying, disclosure ordistribution
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.
As an Amazon Associate we earn from qualifying purchases.
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.