Summary of aix vios commands

Source: Internet
Author: User

Aix vios command summary padmin view version ioslevel switch to aix shell mode oem_setup_env ====================== ============================================================== 1 create and map shared disks, create vg directly, drag lv, and drag Virtual Disk vgmkvg-f-vg viovg1 hdisk1mkvg-f-vg viovg1 hdisk1 to create LV as a virtual disk. Pay attention to the LV naming rules to facilitate subsequent division, based on different PVS, when the client partition is used, the two vbrs are allocated to a client partition, and then the two virtual PVS are mirrored in the partition, on the VIO side, there are two physical PV images mklv-lv vhost0lv viovg1 40 Gmklv-lv vhost1lv viovg2 40g. If there is no spare built-in disk, create a new VG, such as P505 device. There are only two built-in disks. You can divide the empty space of rootvg into LV to view Virtual Devices, and define LV as the Virtual device lsdev-virtualname status descriptionvhost0 Available Virtual SCSI Server Adaptervhost1 Available Virtual SCSI Server Adapter? Run the mkvdev command to allocate the virtual disk to the vhow.kvdev-vdev vhost0lv-vadapter vhost0-dev vhost0devmkvdev-vdev vhost1lv-vadapter vhost1-dev vhost1dev and use lsmap to view the mapping, confirm that the partition is correct lsmap-all ============================================== ===================================== 2. Create a shared network card to view the virtual network port, and the actual network Port device lsdev-type adaptername status descriptionent0 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902) ent1 Available 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902) ent2 Available Virtual I/O Ethernet Adapter (l-lan) use the mkvdev command to create a Shared Ethernet Adapter device and assign it to the corresponding partition vhow.kdvdev-sea ent0-vadapter ent2-default ent2-defaultid 1 lscfg-vpl ent4lsdev-Cc adapter to aggregate the actual physical Nic, create an enternet chanel Nic $ mkvdev-ln1_ent0, ent2 $ mkvdev-ln1_ent1, ent3 = =============== VIO Shared CD when you create a Profile, select the optical drive DVD or CD device as Required to vio s. Erver uses the mkvdev command to create a virtual CD device and allocate it to the corresponding partition vhow.kvdev vdev cd0-vadapter vhost0-dev vcd ============== =========================================================3 resource migration CPU memory can be migrated to the physical Nic according to the planned allowable size, the optical drive first deletes its parent device, then deletes the sub-device, and reloads it in another partition named? Run the lsdev-Cl cd0-F parent command to view the parent device name of the cd0 device. 3. Run the lsslot-c slot command to list the 4 and rmdev-dl pci9-R commands of all PCI devices. is to delete a device, -R is used to delete all sub-devices. 5. Note that the system is not dynamically partitioned when it is installed. Only after the NIC is configured, in addition, when the HOSTS file of the partition and HMC are configured successfully, it is the dynamic partition. Find the parent device of the cd0 drive and delete it in this partition # lsdev-Cl cd0-F parent-> scsi1 # lsdev-Cl scsi1-F parent-> sisscsia # lsdev-Cl sisscsia-F parent-> pci10 # rmdev-l pci10-d-R-> OK

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.