Re: moving a chpid

2007-02-28 Thread Gregg Reed
Shimon,
Try (if your CP version allows)
cp vary offline -
CP VARY OFFLINE SUBCHANNEL -
cp vary offline path xx from all
CP DELETE RDEV -
cp vary offline chpid
-move- cable and vary online chpid

and maybe VARY ONLINE PATH xx to ALL
but I think they'll be there.
Gregg
No plan survives execution


   
 [EMAIL PROTECTED] 
 T.IL  
 Sent by: The IBM   To 
 z/VM OperatingIBMVM@LISTSERV.UARK.EDU 
 System cc 
 [EMAIL PROTECTED] 
 ARK.EDU  Subject 
   moving a chpid  
   
 02/28/2007 10:42  
   
   
 Please respond to 
   The IBM z/VM
 Operating System  
 [EMAIL PROTECTED] 
 ARK.EDU  
   
   




Hi,
We have disks which are mirrored using PPRC to a second DASD box.
There are channels connected to the mirror box which we use for
running backups of the mirror copies, thus saving down-time.

We changed the mirror box last night, so now the mirror copies
are on a *different* raid machine.

I wanted to move the chpid that connected to the old mirrors,
to the new mirrors:
1) vary off all mirror volumes
2) vary off path 82 from all
   (and also other chpids that went to the old mirror box)
3) vary off chpid 82
4) disconnect the escon chpid that went to the old box
   and connect in its place the escon that reaches the
   new mirror box.
5) vary on chpid 82

When I tried to vary on the chpid, I got HCP1282I,
which basically seems to mean 'No Virginia, you can NOT
move a chpid to a new device'. (CP has detected that the
channel path has been reconnected to a different device).

Do I ***REALLY*** need to reipl to move a chpid???

Thanks!!
Shimon (who wants to go home, but the backups wont run tonight if I do)


Re: moving a chpid

2007-02-28 Thread Shimon Lebowitz
 Shimon,
 Try (if your CP version allows)
 cp vary offline -
 CP VARY OFFLINE SUBCHANNEL -
 cp vary offline path xx from all
 CP DELETE RDEV -
 cp vary offline chpid
 -move- cable and vary online chpid
 
 and maybe VARY ONLINE PATH xx to ALL
 but I think they'll be there.

Um.. I don't think I like that one.
What about all the RDEVs you said to delete?
And the offline subchannels?

In actual fact, a funny thing happened.
After sending out the email, I tried again
to vary on the CHPID, and it did NOT complain!
So I tried varying on the PATH. I think that also 
took two tries.
Then when I tried to vary on the devices I got a
COMMAND REJECT message for *every* device
with an online path on that chpid.
And *then*... it worked!

(I also went through all the same messy stuff with a 
second chpid).

So.. apparently you CAN change devices, it's just messy.
I accessed the mirror dasd via the moved chpid, and saw
copied NEW data, so I am confident that I really did what I 
meant to do.

Thanks!
Shimon
P.S. Apologies to the listmaster for accidentally 
using the wrong From address on the last post.