PowerVM Commands - Part1

To see the history of the VIO commands
lsgcl

To Turn on ntp service in VIO server
startnetsvc xntpd

To deny rsh connections from IP address 192.168.16.10
viosecure -firewall deny -port 514 -address 192.168.16.10

To display the IPL progress/LED code of the Partiton
lsrefcode -m System -r lpar

Which IOS command shows the detailed error report
errlog -ls

To display the CPU and memory resource of the Linux partition
cat /proc/ppc64/lparcfg

Which IOS command does an administrator use to report a cross partition global view of system performance
topas -cecdisp

To know what version of VIOS is running
ioslevel

What are the correct steps to mirror rootvg with hdisk1 with out user intervention
extendvg rootvg hdisk1 and mirrorios -f hdisk1

To restore a VIO server from a backup image
Run installios on the HMC

To List the LV mapping
lsmap -all

To list the virtual devices
lsdev -virtual

To list the slots
lsdev -slots

To list the adapter
lsdev -type adapter or lsdev -virtual -type adapter

To list the virtual disks
lsdev -virtual -type disk

To list all the mapped network devices
lsmap -all -net

To create aggregation
mkvdev -Inagg ent0,ent1

To check the attribute of the ent11
lsdev -dev ent11 -attr

Run from HMC to check the assigned virtual network for LPAR
lshwres -r virtualio --rsubtype eth -m MOHISRV2 --level lpar |grep mohivio3

Run from HMC to check the assigned virtual SCSI for LPAR
lshwres -r virtualio --rsubtype scsi -m MOHISRV2 --level lpar |grep mohivio3

SEA Management

To find the virtual adapters associated with SEA ent18
lsdev -dev ent18 -attr virt_adapters

To find the Control channel for SEA failover for SEA ent18
lsdev -dev ent18 -attr ctl_chan

To find the physical adapter for SEA ent18
lsdev -dev ent18 -attr real_adapter

To find the physical adapter for Etherchannel ent16
lsdev -dev -ent16 -attr

To list SEAs and their backing devices
lsmap -all -net -field sea backing

To list all SEAs in the server
lsmap -all -net -field sea

No comments:

Post a Comment