Académique Documents
Professionnel Documents
Culture Documents
December 7, 2010 12:54 pm January 2011
Virtual I/O Server(VIOS) useful M T W T F S S
1 2
commands 3 4 5 6 7 8 9
by admin in AIX
10 11 12 13 14 15 16
Initialize the LPAR Configuration : 17 18 19 20 21 22 23
24 25 26 27 28 29 30
# mkgencfg -o init 31
« Dec
[OS] Software Management :
Tag cloud
To display VIO Server level:
NIM SSH Printing filesystem
# ioslevel login Error HMC linux
backup mksysb HACMP
To update the IOS software: sendmail lvm LDAP ODM
command NPIV debug jfs2
# updateios –dev /update - device VIOS powerha Oracle
Boot VIO network Remove GPFS
To installs a new filesets (mainly used for TL updates): recovery SEA Shell CDE VG paging-space
performance IBM AIX tcpip
# updateios –dev /cd0 -install -accept security NFS Migration restore
process WPAR NIC
To commit all applied :
Categories
# updateios –commit
AIX (700)
To rejects all uncommitted updates : application (2)
Cluster (20)
# updateios –reject Database (2)
Fun (5)
To clean all incomplete pieces of the previous installation : HPUX (6)
linux (28)
# updateios –clean Misc (4)
network (6)
To remove a fileset : Perl (5)
security (1)
# updateios –remove fileset_name
Shell Script (20)
To take the OS backup in a CD ROM : Solaris (24)
Storage (31)
# backupios –cd /dev/cd1 -cdformat TSM (3)
UNIX Interview questions and
To take the OS backup in a DVD-RAM : answers (3)
Virtualization (18)
# backupios –cd /dev/cd1 -udf Webspere (1)
# license –view
Software Management:
Blogroll
To list all the installed software : Themes
# lssw UNIX
unix.com
To list all the installed software and their history
Meta
# lssw –hist
Log in
Management of Virtual Terminals: RSS Feed
Comments RSS
To open a virtual terminal for partition with id 2 :
# mkvt –id
# rmvt –id 2
Device Management:
# cfgdev
# cfgdev –dev
To unconfigures the children of pci1 but not the PCI bus pci1 :
To create a virtual target device that maps lv20 as a virtual disk for a
client partition hosted by the vhost0 virtual server adapter :
partitions served by the virtual Ethernet adapters ent6 and ent7, using
ent6 as the default adapter and 8 as the default id :
To list all virtual target devices and backing devices mapped to virtual
server adapter vhost2 :
To list all virtual target devices and backing devices where backing
devices are of type LV :
# lsdev
# lsdev –virtual
# lsdev –slot s
Volume Group
To create a vg on hdisk1 :
To remove a PV from a VG :
To activate a vg :
# activatevg vg03
To deactivate a vg :
# deactivatevg vg03
To mirror the VIO Server’s rootvg to hdisk4 and reboots VIO Server :
To mirror the VIO Server’s rootvg to hdisk4 but don’t reboot the server
:
# unmirrorios hdisk4
To export a VG :
# exportvg vg3
To sync a VG :
To sync a LV :
To sync a PV :
Logical Volume :
To extend an LV by 3MB :
# extendlv lv01 3M
# rmlv lv05
# lslv lv03
# lslv –free
Physical Volume
# lspv
# lspv hdisk03
To list all the available PVs used as virtual SCSI backing devices :
# lspv –avail
To list PVs that can be used as virtual SCSI backing devices and are not
currently a backing device :
# lspv –free
# mksp -f client_data
# lssp
# lssp –default
To remove storage from a Virtual SCSI adapter, And makes sure backing
device is not deleted :
Network Configuration :
TCP/IP Configation:
# lstcpip –stored
# lstcpip –adapters
# lstcpip –hostname
# lstcpip –namesrv
# lstcpip –routtable
# lstcpip –state
# rmtcpip –all
# rmtcpip –f -routing
# rmcpip –namesrv
# hostmap –ls
# hostmap-rm 192.100.1.7
# startnetsvc ALL
# startnetsvc telnet
# startnetsvc ftp
# startnetsvc ssh
# startnetsvc ldap
# startnetsvc cimserver
# startnetsvc xntpd
# startnetsvc tracelog
# startnetsvc errorlog
# stopnetsvc ALL
# stopnetsvc telnet
# stopnetsvc ftp
# stopnetsvc ssh
# stopnetsvc ldap
# stopnetsvc cimserver
System p
Training
Certified Training in
Sacramento, San
Fran, Irvine, and
Phoenix
www.muxdatasystems.com
-Shell Scripting
Training
-Best Redhat Partner
for 3 years -Linux
Shell Scripting
Courses
www.networknuts.net
Free
Downloadable
Videos
Download The Most
Viewed End Time
Bible Prophecy
Videos Online Today!
www.WorldsLastChance.c…
stopnetsvc xntpd
# stopnetsvc tracelog
# stopnetsvc errorlog -
# lsnetsvc ftp
# cfgnamesrv -ls
# optimizenet –h udp_recvspace
Network Monitoring:
# entstat ent0
# traceroute nis.nsf.net
System Monitoring :
# sysstat
# topas
# shutdown
# shutdown –force
# shutdown –restart
# errlog –ls
# errlog –rm 0
# errlog –rm 5
# chlang –ls
# diagmenu
# invscout –report
# invscout –vpd
To overwrite MOTD :
# cfgassist
To do filesystem scan :
# fsck /dev/lv01
# showmount hostname
# startsysdump
# viostat –adapter
# lsfware –all
Managing Agents:
# lssvc agent_name
# lssvc
User Management:
To create a user :
# mkuser
# chuser
# lsuser
# rmuser
# passwd
Security Commands:
# lsfailedlogin
# lsgcl
# viosecure –view
To allow IP activity on the ftp-data, ftp, ssh, www, https, rmc, and
cimon ports, and to deny other IP activity :
# viosecure –firewall on
name »
e-mail »
site »
AIX Solaris HPUX UNIX Linux system storage administration ksh/perl scripting 2010. "Life is
Simple" is a simple theme for WordPress, powered by Chereshka.