Manual steps required for disk assignment requirement for MOI x86 appliance installation
search cancel

Manual steps required for disk assignment requirement for MOI x86 appliance installation

book

Article ID: 224903

calendar_today

Updated On:

Products

Mainframe Operational Intelligence

Issue/Introduction

A MOI Customer is required to create five disks on their Linux machine to be used by the MOI appliance for installation and ongoing usage.  The commands contained in this Knowledge Document resolution can be used to format four of the five disks that are needed to be attached to the logical volume groups (LVM's) LVM0 - LVM3 that will be used by the MOI appliance. 

Environment

Release : 2.0

Component : MF OPERATIONAL INTELLIGENCE

Resolution

To display the five available disks that were created on the x86 Linux box for the MOI appliance installation, please execute the following Linux command: 

moi-diskutil.sh disks

[root@"MOI appliance" ~]# moi-diskutil.sh disks
devdisk=‘/dev/sda’; devsize=‘53.7GB’; devtype=‘scsi’; devpath=‘pci-0000:03:00.0-scsi-0:0:0:0’; devmodel=‘VMware Virtual disk’; devstat=‘Free’; devvg=‘’
devdisk=‘/dev/sdb’; devsize=‘107GB’; devtype=‘scsi’; devpath=‘pci-0000:03:00.0-scsi-0:0:1:0’; devmodel=‘VMware Virtual disk’; devstat=‘Free’; devvg=‘’
devdisk=‘/dev/sdc’; devsize=‘107GB’; devtype=‘scsi’; devpath=‘pci-0000:03:00.0-scsi-0:0:2:0’; devmodel=‘VMware Virtual disk’; devstat=‘Free’; devvg=‘’
devdisk=‘/dev/sdd’; devsize=‘107GB’; devtype=‘scsi’; devpath=‘pci-0000:03:00.0-scsi-0:0:3:0’; devmodel=‘VMware Virtual disk’; devstat=‘Free’; devvg=‘’
devdisk=‘/dev/sde’; devsize=‘107GB’; devtype=‘scsi’; devpath=‘pci-0000:03:00.0-scsi-0:0:4:0’; devmodel=‘VMware Virtual disk’; devstat=‘Free’; devvg=‘’

For the following lvm's required for a MOI appliance installation(lvm0, lvm1, lvm2, and lvm3),  please perform these steps:

1)  Note: The first  disk listed above should NOT BE FORMATTED since it is used for the root directory. 

         Format each additional disk i.e. devpath from the moi-diskutilsh disks command above using the following commands:  

moi-diskutil.sh format /dev/disk/by-path/<devpath of second disk name displayed by moi-diskutil.sh disks>

moi-diskutil.sh format /dev/disk/by-path/ <devpath of third disk name displayed by moi-diskutil.sh disks>

moi-diskutil.sh format /dev/disk/by-path/<devpath of fourth disk name displayed by moi-diskutil.sh disks>

moi-diskutil.sh format /dev/disk/by-path/<devpath of fifth disk name displayed by moi-diskutil.sh disks>

2)  Add each lvm using the disks formatted above using the following commands:  

moi-diskutil.sh lvmadd lvm0 <devpath of second disk name displayed by moi-diskutil.sh disks>

moi-diskutil.sh lvmadd lvm1 <devpath of third disk name displayed by moi-diskutil.sh disks>

moi-diskutil.sh lvmadd lvm2 <devpath of fourth disk name displayed by moi-diskutil.sh disks>

moi-diskutil.sh lvmadd lvm3 <devpath of fifth disk name displayed by moi-diskutil.sh disks>

3)  Display disk assignment status after the lvm add using the following command: 

moi-diskutil.sh fsinfo

fsname=‘/’; fsstatus=‘Healthy’; fspath=‘/dev/sda3’; fssize=‘46G’; fsused=‘1.4G’; fsavail=‘45G’; fspcent=‘3%’
fsname=‘/lvm0’; fsstatus=‘Healthy’; fspath=‘/dev/mapper/lvm0_vg-lvm0_lv’; fssize=‘99G’; fsused=‘17G’; fsavail=‘77G’; fspcent=‘18%’
fsname=‘/lvm1’; fsstatus=‘Healthy’; fspath=‘/dev/mapper/lvm1_vg-lvm1_lv’; fssize=‘99G’; fsused=‘392M’; fsavail=‘93G’; fspcent=‘1%’
fsname=‘/lvm2’; fsstatus=‘Healthy’; fspath=‘/dev/mapper/lvm2_vg-lvm2_lv’; fssize=‘99G’; fsused=‘274M’; fsavail=‘94G’; fspcent=‘1%’
fsname=‘/lvm3’; fsstatus=‘Healthy’; fspath=‘/dev/mapper/lvm3_vg-lvm3_lv’; fssize=‘99G’; fsused=‘323M’; fsavail=‘93G’; fspcent=‘1%’