VIOS Installation Steps

Check current DISK in AIX

# lsdev -c disk -S a
hdisk0 Available  Virtual SCSI Disk Drive


set the bootlist to hdisk0
# bootlist -m normal hdisk0

lspv --> to find the free disk

lspv -free


DISK MAPPING

$ lsdev -virtual
name             status      description
ent2             Available   Virtual I/O Ethernet Adapter (l-lan)
ent4             Available   Virtual I/O Ethernet Adapter (l-lan)
vfchost0         Available   Virtual FC Server Adapter
vfchost1         Available   Virtual FC Server Adapter
vhost0           Available   Virtual SCSI Server Adapter
vsa0             Available   LPAR Virtual Serial Adapter
name             status      description
ent5             Available   Shared Ethernet Adapter

$ lsmap -vadapter vhost0
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U8205.E6B.065469R-V2-C3                      0x00000001

VTD                   NO VIRTUAL TARGET DEVICE FOUND

$ lspv
NAME             PVID                                 VG               STATUS
hdisk0           00f75469a8db3b79                     rootvg           active
hdisk1           00f75469a6b3008b                     rootvg           active
hdisk2           none                                 None
hdisk3           00f75469c346d095                     None
hdisk4           none                                 None
hdisk5           none                                 None
hdisk6           none                                 None
hdisk7           none                                 None
hdisk8           none                                 None
hdisk9           none                                 None
hdisk10          none                                 None
hdisk13          00f75469b48b96e3                     None
hdisk14          00f75469b48b9927                     None
hdisk15          00f75469b48b9bb1                     None
hdisk16          00f75469b48b9df3                     None
hdisk17          none                                 None
hdisk18          none                                 None
hdisk21          none                                 None
$ mkvdev -vdev hdisk2 -vadapter vhost0
vtscsi0 Available
$ lsmap -vadapter vhost0
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U8205.E6B.065469R-V2-C3                      0x00000001

VTD                   vtscsi0
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk2
Physloc               U5802.001.9K8P569-P3-D3
Mirrored              false

To Remove virtual disk settings
# lsslot -c slot
# Slot                   Description       Device(s)
U8205.E6B.065469R-V2-C0  Virtual I/O Slot  vsa0
U8205.E6B.065469R-V2-C2  Virtual I/O Slot  ent2
U8205.E6B.065469R-V2-C3  Virtual I/O Slot  vhost0
U8205.E6B.065469R-V2-C4  Virtual I/O Slot  vfchost0
U8205.E6B.065469R-V2-C5  Virtual I/O Slot  vfchost1
U8205.E6B.065469R-V2-C6  Virtual I/O Slot  ent4

$ mkvdev -vdev hdisk3 -vadapter vhost0
vtscsi1 Available
$ lsmap -vadapter vhost0
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U8205.E6B.065469R-V2-C3                      0x00000001

VTD                   vtscsi0
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk2
Physloc               U5802.001.9K8P569-P3-D3
Mirrored              false

VTD                   vtscsi1
Status                Available
LUN                   0x8200000000000000
Backing device        hdisk3
Physloc               U5802.001.9K8P569-P3-D4
Mirrored              false





$  lsdev -virtual -state available
name             status      description
ent2             Available   Virtual I/O Ethernet Adapter (l-lan)
ent4             Available   Virtual I/O Ethernet Adapter (l-lan)
vfchost0         Available   Virtual FC Server Adapter
vfchost1         Available   Virtual FC Server Adapter
vhost0           Available   Virtual SCSI Server Adapter
vhost1           Available   Virtual SCSI Server Adapter
vsa0             Available   LPAR Virtual Serial Adapter
name             status      description
vtscsi0          Available   Virtual Target Device - Disk
name             status      description
ent5             Available   Shared Ethernet Adapter

$ lsdev -vpd | grep vhost
  vhost1           U8205.E6B.065469R-V2-C7                                       Virtual SCSI Server Adapter
  vhost0           U8205.E6B.065469R-V2-C3                                       Virtual SCSI Server Adapter

 
$ mkvdev -vdev hdisk1 -vadapter vhost0
vtscsi0 available

$  lsdev -virtual -type disk
name             status      description
vtscsi0          Available   Virtual Target Device - Disk





How to create LV
$ mkvg -f -vg clientvg hdisk3
clientvg

$ mklv -lv LPAR1_1v1 clientvg 5G
LPAR1_1v1

$ mkvdev -vdev LPAR1_1v1 -vadapter vhost1
vtscsi2 Available

$ lsdev -virtual -type disk
name             status      description
vtscsi0          Available   Virtual Target Device - Disk
vtscsi1          Available   Virtual Target Device - Disk
name             status      description
vtscsi2          Available   Virtual Target Device - Logical Volume

$ lsmap -vadapter vhost1
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1          U8203.E4A.0666BC2-V1-C13                     0x00000002

VTD                   vtscsi2
Status                Available
LUN                   0x8100000000000000
Backing device        LPAR1_1v1
Physloc
Mirrored              N/A


Comments

  1. I have installed a VIOS using nimol, install completed successfully but I could access the VIOS from browser.
    I am seeing the following error.

    /usr/bin/ksh /usr/ios/lpm/sbin/httpdmgr start
    ready=12 Error: This is not a management partition. Done

    ReplyDelete

Post a Comment

Popular posts from this blog

How to delete SEA in VIOS

Webmin configuration for LDAP

Sample questions and answers for AWS Associate Solutions Architect Certification ---> AWS exam dumps