10-10-2018
padmin
The VIO user ID and commands
Quote:
Instead of using the root user ID to issue commands, an administrative user ID-padmin-is used for all of the VIO controls. This user ID has a shell called the IOS command-line interface (ioscli) that runs a unique set of commands for managing devices assigned to the VIO servers. Many of these commands are similar to regular AIX commands (for example, lsdev) but use different flags and command structures (for example, lsdev -dev). But, most of the superuser level commands are new and perform many different operations at once. In fact, when administered properly, systems administrators will rarely have to become root.
Helpful padmin commands include:
help: This command lists all of the commands available in the ioscli. If you pass a specific command into it, such as help updateios, you can see the specific flags and syntax for that command.
Quote:
cfgdev: This command is the equivalent of the cfgmgr command and detects new physical and logical devices added to the VIO server.
oem_setup_env: This command is the equivalent of running su - root but without the need to enter a password. Again, you will rarely have to become root on a VIO server.
mkvdev: This command manages the virtual devices that you create and serve up to the VIO client LPARs.
mktcpip, lstcpip, and rmtcpip: These commands manage your networking from the command line and circumvent the need for utilities such as smitty tcpip.
lsmap: This command shows the relationships between disk resources and VIO client LPARs.
Reference:
The VIO cheat sheet
8 More Discussions You Might Find Interesting
1. Solaris
Hi, this is my 1st post here, I don't know is it proper or not for the question I have, but I may try ask anyway, since it is question about sun's hw/sw issue...
I have my blade 1000 installed additional memory kits, it was originally 2G memory installed on Group0(Bank 0/2) Dimm slots, I got... (5 Replies)
Discussion started by: netshu
5 Replies
2. AIX
Hello All,
I am new to AIX VIO LPAR server. We have VIO 1.5 server installed with few logical valumes and 3-4 Virtual machines running.
I wanted to restructer the space allocation to logical values. but don't know which harddisk, hold VIO server installation.
Can someone please help to me... (8 Replies)
Discussion started by: kishorbhede
8 Replies
3. AIX
Hi,
I want to know wheather partition size for installation of vio client can be specified on vio server
example
If I am installing vio server on blade with 2*300gb hard disk,after that I want to create 2 vio client (AIX Operating system) wheather I can specify hard disk size while... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
4. AIX
trying to put VIO server software into this p520, firmware upgraded to the latest and greatest..SF240_415_318 , I think
a few questions, on this practice AIX machine on AIX 7.1
VIO can only be installed if ASMI or HMC is running ???
if so, perhaps ASMI is much simpler, since I will need to... (2 Replies)
Discussion started by: ppchu99
2 Replies
5. AIX
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
6. AIX
Hi,
I would like to know installing vio server on local disk and mirroring rootvg,
if I am creating AIX VIO CLIENT(lpar),
and any of single local hard disk failuare.
will it affect lpars? will lpars able to boot.
what needs to be done? (1 Reply)
Discussion started by: manoj.solaris
1 Replies
7. AIX
Hi,
I am facing an issue in vio server. When I run
bosboot -ad /dev/hdisk0
I am getting an error
trustchk: Verification of attributes failed: /usr/sbin/bootinfo
: accessauths
regards,
vjm
Please use code tags next time for your code and data. (8 Replies)
Discussion started by: vjm
8 Replies
8. AIX
Hi,
I would like to know after the installation of vio server. how many logical network interfaces will be created on vio server if I am having two physical interfaces on vio server.
I am asking this question because I would like know to on the basis of logical network interfaces creation on... (0 Replies)
Discussion started by: manoj.solaris
0 Replies
LEARN ABOUT OSX
moose::autobox::code
Moose::Autobox::Code(3) User Contributed Perl Documentation Moose::Autobox::Code(3)
NAME
Moose::Autobox::Code - the Code role
SYNOPOSIS
use Moose::Autobox;
my $adder = sub { $_[0] + $_[1] };
my $add_2 = $adder->curry(2);
$add_2->(2); # returns 4
# create a recursive subroutine
# using the Y combinator
*factorial = sub {
my $f = shift;
sub {
my $n = shift;
return 1 if $n < 2;
return $n * $f->($n - 1);
}
}->y;
factorial(10) # returns 3628800
DESCRIPTION
This is a role to describe operations on the Code type.
METHODS
curry (@values)
rcurry (@values)
conjoin (&sub)
disjoin (&sub)
compose (@subs)
This will take a list of @subs and compose them all into a single subroutine where the output of one sub will be the input of another.
y This implements the Y combinator.
u This implements the U combinator.
meta
SEE ALSO
<http://en.wikipedia.org/wiki/Fixed_point_combinator>
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/20469 <http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/20469>
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to
cpan-RT.
AUTHOR
Stevan Little <stevan@iinteractive.com>
COPYRIGHT AND LICENSE
Copyright 2006-2008 by Infinity Interactive, Inc.
<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.16.2 2012-08-29 Moose::Autobox::Code(3)