Operating System - HP-UX
1753701 Members
4852 Online
108799 Solutions
New Discussion

move dvd from one vpar to another

 
donna hofmeister
Trusted Contributor

move dvd from one vpar to another

in an rx7640, there are several vpars configured (vpar version a.05.04).  vpar 'p01' (11.31) has a dvd configured:

ext_bus 7 1/0/0/3/1 mpt CLAIMED INTERFACE SCSI Ultra320
                  /dev/mpt7
target 1 1/0/0/3/1.2 tgt CLAIMED DEVICE
disk 0 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5170A
                 /dev/dsk/c7t2d0 /dev/rdsk/c7t2d0

fwiw, 1.0.0.3 shows up in 'p01' IO Details (in vparstatus).

 

we want to move the to 'p04' (currently down...)

 

for an added wrinkle, we'll need to boot from this dvd once it's moved, so for simplicity's sake setting it as the altboot device probably makes the most sense.

 

what vpar___ commands are needed to do this?  (we know 'p01' needs to be down...)

3 REPLIES 3
Eric SAUBIGNAC
Honored Contributor

Re: move dvd from one vpar to another

Bonjour,

 

I have not been working with vPar for a while. So I won't try to find adequate commands ;-)

 

My post just to underline that DVD is tied to the core IO of a given cell. Here cell 1. If you want to move the dvd to another vPar, you also have to move all attached devices to the same core I/O. In fact all devices whose path begins with 1/0/0

 

Hope this help

 

Eric

Patrick Wallek
Honored Contributor

Re: move dvd from one vpar to another

vparmodify is the command you're looking for.

 

To remove I/O components from a vPar:

 

# vparmodify -p <vpar name>  -d io:<iopath>

 

To add I/O to a vPar:

 

# vparmonidy -p <vparname> -a io:<iopath>

donna hofmeister
Trusted Contributor

Re: move dvd from one vpar to another

Just to follow up....  We're looking at attaching an external dvd drive along one of the IO paths that the subject vpar can 'see'.  The thought of (more or less) tearing the box apart to move the current dvd is frightening ;-)