09-12-2009
Removing the CD ROM from DLPAR and assigning it to another LPAR
On the LPAR find out where the CD-ROM is assigned:
# lsdev -Cc cdrom
cd0 Available 03-08-00 SATA DVD-ROM Drive
# lsdev -Cl cd0 -F parent
sata0
# lsdev -Cl sata0 -F parent
sissas0
# lsslot -c slot
# Slot Description Device(s)
HEA 17 Logical I/O Slot lhea1 ent0
U789D.001.DQD52DG-P1-T1 Logical I/O Slot pci4 usbhc2 usbhc3
U789D.001.DQD52DG-P1-T3 Logical I/O Slot pci3 sissas0
U9117.MMA.6534BE4-V4-C0 Virtual I/O Slot vsa0
U9117.MMA.6534BE4-V4-C4 Virtual I/O Slot vscsi0
U9117.MMA.6534BE4-V4-C8 Virtual I/O Slot vscsi1
U9117.MMA.6534BE4-V4-C22 Virtual I/O Slot vscsi3
U9117.MMA.6534BE4-V4-C24 Virtual I/O Slot vscsi4
# lsdev -Cc cdrom -F "name physloc"
cd0 U789D.001.DQD52DG-P4-D1
Then from HMC -- go to --> Dynamically Logical Partitioning --> Physical Adapters --> Remove
Remove the controller and then assign to another partition.
Also: the other way
# lsdev -Cc cdrom
cd0 Available 03-08-00 SATA DVD-ROM Drive
# lsdev -C | grep 03-08-00
cd0 Available 03-08-00 SATA DVD-ROM Drive
hdisk5 Available 03-08-00 SAS Disk Drive
hdisk6 Available 03-08-00 SAS Disk Drive
sas0 Available 03-08-00 Controller SAS Protocol
sata0 Available 03-08-00 Controller SATA Protocol
ses0 Available 03-08-00 SAS Enclosure Services Device
ses1 Available 03-08-00 SAS Enclosure Services Device
ses2 Available 03-08-00 SAS Enclosure Services Device
# lscfg
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
* = Diagnostic support not available.
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
+ sys0 System Object
+ sysplanar0 System Planar
* pci1 U789D.001.DQD52DG-P1 PCI Bus
* pci3 U789D.001.DQD52DG-P1 PCI Bus
+ sissas0 U789D.001.DQD52DG-P1-T3 PCI-X266 Planar 3Gb SAS Adapter
* sas0 U789D.001.DQD52DG-P1-T3 Controller SAS Protocol
10 More Discussions You Might Find Interesting
1. AIX
I have a standard template I deploy for each of my AIX servers. It's in a mksysb format which I pulled via the nim server after I originally set it up.
I'm trying to restore this mksysb over the wire to a remote system. The remote system is an lpar running under vio (no HMC attached). The disk... (1 Reply)
Discussion started by: scottsl
1 Replies
2. UNIX for Dummies Questions & Answers
Can you have a Dynamic LPAR without VIO and if yes is there a benefit to having both? I am attempting to implement VIO and Resource pooling at my company and want to understand the limitations.
Also, I have been told the managing and allocation of the Logical Volumes is a time consuming task as... (0 Replies)
Discussion started by: bombers73
0 Replies
3. AIX
We have a frame the uses 2 vios that assign disk storage to LPAR's. We have a LPAr with multiple disk and I want to know how do I tell which vio is serving the disk. For example the LPAr has hdisk 0, 1, 2, 3 all the same size. I want to know which vio is serving hdisk0, 1. (4 Replies)
Discussion started by: daveisme
4 Replies
4. AIX
Hi,
I am little confused about the virtual Ethernet configuration on VIO and Client Partitions. There is alot of info on the internet but it gets more confusing....
If I have LHEA, it is very simple. Just assign LHEA (logical host ethernet adapter) to client partition -> run smitty tcpip and... (10 Replies)
Discussion started by: filosophizer
10 Replies
5. AIX
I am wondering if there is a command I can run from **with-in** LPAR server (server01) to find out the hostname or IP address or other parameters for VIO server in charge of server01? (1 Reply)
Discussion started by: ms1232
1 Replies
6. AIX
Just a question which may seem dumb to some out there, but then again I am not a super technie so that's my excuse.
Is it possible to say provision a test AIX LPAR (has a 10gb boot lun and 20gb data) under a VIO which has connectivity to SAN Array A so it can see the disks provisioned to it,... (2 Replies)
Discussion started by: Johnny1314
2 Replies
7. AIX
Hi All,
i would like to know if it's possible to know all the IP Addresses of all LPAR's interfaces from HMC (without connect into LPAR).
And if i can know also the "Application" hostname of LPAR from HMC.
Thanks in advance.
Bye
Mario (2 Replies)
Discussion started by: Zio Bill
2 Replies
8. AIX
Hi All,
I've been trying to create a new LPAR for some days now but I can't get the VIO server to recognize the new LPAR. This is what I did:
On HMC create new LPAR
On HMC create new virtual scsi adapter for LPAR in VIO profile
On HMC add new virtual scsi adapter for LPAR with DLPAR... (6 Replies)
Discussion started by: petervg
6 Replies
9. AIX
Hi
In my vio server I have the below output
$ lsvopt | grep -i SAPSITGS
sapsitgs_cdrom TL12UP.iso 3182
In my vio client lpar I have the below output
root@sapsitgs:/ # lsdev -Cc cdromcd0 Available Virtual SCSI Optical Served by VIO Server
cd1... (1 Reply)
Discussion started by: newtoaixos
1 Replies
10. AIX
Does anyone know of a command that can be run on the lpar to show the name of the lpars managing HMC?
We have a large environment and records a little old on which HMC manages which lpars....if i could login to an lpar and just issue a command to show me its managing hmc that would be great. (2 Replies)
Discussion started by: Foiled
2 Replies
LEARN ABOUT REDHAT
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)