Académique Documents
Professionnel Documents
Culture Documents
you get the root credentials (without even been asked for a password). By default the ioscli commands are not available for the root user. All ioscli commands are in fact calls of /usr/ios/cli/ioscli with the command as argument. You see this if you list the aliases of the padmin user. Knowing this you can use all ioscli commands as user root by appending /usr/ios/cli/ioscli. Instead of lsmap -all you would type
root@vios# /usr/ios/cli/ioscli lsmap -all
2. IOS Version
$ ioslevel 2.2.0.10-FP-24
Warning: If you use vendor specific device drivers (such as the SDD or EMC drivers) you see all hdisks as free. You have to limit the list to your logical devices, e.g.
$ lspv -free | grep vpath
After dynamically adding the server hostadapters you have to rerun the configuration mamager before you can see the new vhost device:
$ cfgdev
The option -recursive can be used to remove all still attached child devices. Then remove the adapters dynamically from the VIO server aswell as from the VIOS' profile.
The VIO server assigns the next free number (19 here) and creates the mapping device
vtscsi19. But you can specify your own name for the mapping device by making use of the dev option: $ mkvdev -vdev hdisk22 -dev vthdisk22_barney -vadapter vhost1 vthdisk22_barney available
If you use LVs rather than whole disks or LUNs the same rules apply:
# default mapping device $ mkvdev -vdev lpar21_lv03 -vadapter vhost1 vtscsi19 available # custom mapping device $ mkvdev -vdev lpar21_lv03 -dev vtdisk21_lv03 -vadapter vhost1 vtdisk21_lv03 available
Virtual Devices: Fibre Channel IBM introduced the support of NPIV technology with VIOS (Virtual I/O Sever) 2.1 with a client AIX running either AIX 5.3 TL9 or later, or AIX 6.1 TL2 or later, or AIX 7.1. Earlier releases are not supported.
Name Physloc ClntID ClntName ClntOS ------------- ---------------------------------- ------ -------------- -----vfchost1 U8203.E4A.05A6DD1-V1-C43 4 mylpar8 AIX Status:LOGGED_IN FC name:fcs1 Ports logged in:2 Flags:a<LOGGED_IN,STRIP_MERGE> VFC client name:fcs0 FC loc code:U789C.001.DQDH231-C3-T2 VFC client DRC:U8203.E4A.05A6DD1-V4-C43-T1
y y
a virtual adapter as defined in the VIOS' profile: <VIRT> an internal VLAN ID: <VLAN>
If you use the Shared Ethernet Adapter Failover capability of recent IOS releases you also need
y
Example: To create a Shared Ethernet Adapter on top of an virtual adapter ent11 using VLAN 20, the physical adapter ent2 as backend, and the virtual adapter ent13 for the control channel type:
$ mkvdev -sea ent2 -vadapter ent11 -default ent11 -defaultid 20 -attr ha_mode=auto ctl_chan=ent13