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 OSF1
lastcomm
lastcomm(8) System Manager's Manual lastcomm(8)
NAME
lastcomm - Outputs information about the last commands executed
SYNOPSIS
lastcomm [Command] [Name] [Tty]
DESCRIPTION
The lastcomm command outputs information about all previously executed commands that are recorded in the /var/adm/pacct file in reverse
chronological order.
You may specify a particular command with the Command parameter, a particular user with the Name parameter, and a particular terminal as
the command source with the Tty parameter. Output is then restricted to the specified parameters. A Tty terminal may be named fully (for
example, tty0) or abbreviated (for example, 0).
The following information is displayed for each process: Name of the command under which the process was called. Any flags collected when
the command was executed. The following flags are valid: Command was run with an effective user-id of 0. Command ran after a fork, but
without an exec system call following it. Name of the user who issued the command. The terminal the command was started from. Seconds of
CPU time used. Time the process started.
EXAMPLES
To display information about all previously executed commands recorded in the /var/adm/pacct file, enter: lastcomm Information is displayed
similar to: lastcomm ajh lat/620 1.13 secs Thu Feb 24 15:02 pg ajh lat/620 5.91 secs Thu Feb 24 15:01
ln miller ttyp1 1.14 secs Thu Feb 24 15:01 ls rob ttyp1 0.02 secs Thu Feb 24 15:01 pg
sjz ttyp1 0.33 secs Thu Feb 24 15:00 sendmail SF root __ 0.01 secs Thu Feb 24 15:00 To display information
about commands named a.out executed by the root user on terminal ttyd0, enter: lastcomm a.out root ttyd0
FILES
Specifies the command path. The current accounting file.
RELATED INFORMATION
Commands: last(8) delim off
lastcomm(8)