Вы находитесь на странице: 1из 2

VIOS Install & Configuration

09DEC
Redbook: Advanced POWER Virtualization on IBM System p5 Introduction and Configuration Using the Virtual I/O Server How to set up the IBM Virtual I/O Server http://www.ibm.com/developerworks/aix/library/au-aix-vioserver-v2/index.html First, Virtual feature need $$$. (Just like Windows, enter a license code) Create a VIOS: Expand Configuration Create Logical Partition, choose VIO Server. Concept: Minimum, Desired, Maximum While creating the VIOS, it need to specify the above 3 value for CPU and Memmory. Normally, Machine will be the desired value after boot. Minimum: Represents the absolute memory/CPU required to make the partition active Desired: Will be allocated to the machine. Maximum : Represents the absolute maximum amount of memory/CPU for this partition. Capped or UNcapped Capped: it can only gain processing power through a DLPAR allocation, and will otherwise stay at the value (desired) given to it at time of activation. UNcapped: It can exceed the value set in Desired virtual processors and it can take however many processing units from the shared processor pool that it needs. Weight: The priority, increasing it beyond 128 up to 256 increases a partitions priority for processor allocation. If a partitions uncappeds weight is set to 0, then that partition is considered cappedand it will never own a number of processors greater than that specified in Desired processing units. Add physical I/O Desired: Can not remove by DLPAR (you can shutdown, modify profile, restart to change.) Request: Can remove or move to other LPAR, (Such as CD-Rom) Create Virtual I/O SCSI Adapter: SCSI severs: depend on how many LPARs do you want. VIO Client VG -> SCSI Client ->(connected to) SCSI Server. VLAN Physical (ent0) -> Virtual (ent1) on Server -> Create a VIO Server: Create LPAR -> CPU/Memory -> Create Virtual Adapter (SCSI Server, VLAN) Notes: While Create SCSI Server, mark the Virtual ID. Create VLAN, remember the VLAN ID. The VLAN ID on client must be the same with SEA(Virtual LAN) ID, as we saw the above map. Install VIOS: I dont know whats wrong with VIOS 1.4, I cannot boot from the CD, its hang on Starting Kernel on HMC, and there are a few such cases on internet by google it.. So I can only install from the HMC by command. Open Command Terminal on HMC (not recommend on your PCs windows, it take a long time to install.. in my cae.) Run the following command: #installios Choose the VIOS you wanna re-install Starting. This damn VIOS make me 12 hours to finish the installation>_<|||| what a . Actually, VIOS is pack with AIX, and a little different. After finish, login with the admin user for VIOS padmin without password, and then you will ask to be change the password. The shell with padmin is a restrict-ksh, you can not use a lot of shell command, however, we can change to root by running the following command in padmin:

$oem_setup_env Then you are root now. Configuration for VIOS: Our VLAN Setting:

SCSI Setting:

Login by padmin $lsdev virtual #make sure thereare virtual scsci(vhost) and virtual lan $lsmap all net #check out all the virtual net adapter $ mkvdev -sea ent0 -vadapter ent1 -default ent1 -defaultid 88 ent3 Available There is an error message? Method error (/usr/lib/methods/cfgsea): 0514-040 Error initializing a device into the kernel. Do the following: 1). Verify that the physical and virtual adapters that are being used to create the shared Ethernet device are available by running the following command: lsdev -type adapter 2). Make sure that the physical adapter is not configured. Run the following command: netstat -state The adapter should not show in the output. 3). Verify that the virtual adapters used are trunk adapters by running the following command: entstat -all entX | grep Trunk Still can not work? You must configure the adapter before running this command.. Disable the enX, and remove them by running rmvdev vdt enX X=0,1,2,3,4 Then reboot the machine, try the above command again. Create VG for Clients: $ mkvdev -vdev rootvg_nim -vadapter vhost1 -dev vnim Rootvg_nim is a lv name in our VIOS rootvg, it will be the rootvg on Client. Vhost1 is the SCSI server we created. After these steps, we can install AIX on client: Create a Client: Do not choose any physical I/O (except CD-ROM, set to require) Create SCSI client, and connect to SCSI server, create a VLAN, set the VLAN ID to the map above. Set the CPU/Memory,balabal Insert AIX CD(as we set CD-ROM is require for this client, make sure no server is using it), boot from SMS mode, install AIX

Вам также может понравиться