The below process shows the migration of data from a Standalone SCSI Disk to a LPAR Managed by a VIOS.
Step 1 on AIX_Server:
1) Identify the disk that has to be moved to the LPAR.
# lspv
2) Check the disk to be migrated have a unique UDID.
# lsattr -EHL hdisk0
3) Identify the parent of the hdisk0
# lsdev -Cl hdisk0 -F parent
So the hdisk0 is attached to the scsi1 which has the parent sisscsia0.
4) Next step is to identify any the resources attached to the same sisscsia0.
# lsdev | grep -i siscsia0
sisscsia0 Available 00-08 PCI-X Dual Channel Ultra320 SCSI Adapter
# lsdev | grep "00-08"
So only one hdisk is allocated to the sisscsia0.
5) Obtain the hardware location code of the drive.
# lscf g -vpl siscsia0
6) Shutdown the AIX_Server with the shutdown command.
Continued...in Part II
Step 1 on AIX_Server:
1) Identify the disk that has to be moved to the LPAR.
# lspv
hdisk0 002631cd31ad04f5 rootvg
active2) Check the disk to be migrated have a unique UDID.
# lsattr -EHL hdisk0
PCM PCM/friend/scsiscsd Path Control Module
False
algorithm fail_over Algorithm
True
dist_err_pcnt 0 Distributed Error Percentage
True
dist_tw_width 50 Distributed Error Sample Time
True
hcheck_interval 0 Health Check Interval
True
hcheck_mode nonactive Health Check Mode
True
max_transfer 0x40000 Maximum TRANSFER Size
True
pvid 002631cd31ad04f5
False
queue_depth 3 Queue DEPTH
False
reserve_policy single_path Reserve Policy
True
size_in_mb 146800 Size in Megabytes
False
0000000000000000 Physical volume identifierunique_id 22080004B9710BST3146807LC03IBMscsi
False3) Identify the parent of the hdisk0
# lsdev -Cl hdisk0 -F parent
scsi1
# lsdev -l scsi1 -F parent
sisscsia0So the hdisk0 is attached to the scsi1 which has the parent sisscsia0.
4) Next step is to identify any the resources attached to the same sisscsia0.
# lsdev | grep -i siscsia0
sisscsia0 Available 00-08 PCI-X Dual Channel Ultra320 SCSI Adapter
# lsdev | grep "00-08"
hdisk0 Available 00-08-01-1,0 16 Bit LVD SCSI Disk Drive
scsi0 Available 00-08-00 PCI-X Dual Channel Ultra320 SCSI Adapter bus
scsi1 Available 00-08-01 PCI-X Dual Channel Ultra320 SCSI Adapter bus
ses0 Available 00-08-00-14,0 SCSI Enclosure Services Device
ses1 Available 00-08-00-15,0 SCSI Enclosure Services Device
ses2 Available 00-08-01-14,0 SCSI Enclosure Services Device
ses3 Available 00-08-01-15,0 SCSI Enclosure Services Device
sisscsia0 Available 00-08 PCI-X Dual Channel Ultra320 SCSI AdapterSo only one hdisk is allocated to the sisscsia0.
5) Obtain the hardware location code of the drive.
# lscf g -vpl siscsia0
sisscsia0 U78A0.001.0000000-P1-C4 PCI-X Dual Channel Ultra320 SCSI
Adapter
PCI-X Dual Channel Ultra320 SCSI Adapter:
Part Number.................97P3359
FRU Number..................97P3359Hardware Location Code......U78A0.001.0000000-P1-C46) Shutdown the AIX_Server with the shutdown command.
Continued...in Part II
Serial Number...............YL10C4061142
Manufacture ID..............000C
EC Level....................0
ROM Level.(alterable).......05080092
Product Specific.(Z0).......5702
Unique device identifier
No comments:
Post a Comment