From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: balaji Newsgroups: gmane.os.tru64.managers Subject: SUMMARY : Moving disks between HSG's Date: Wed, 03 Jul 2002 11:00:27 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3D250023@smaug.ocis.temple.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1025709996 8995 127.0.0.1 (3 Jul 2002 15:26:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2002 15:26:36 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17Pm1a-0002Kj-00 for ; Wed, 03 Jul 2002 17:26:34 +0200 Original-Received: (qmail 15834 invoked by uid 5); 3 Jul 2002 15:00:35 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15826 invoked from network); 3 Jul 2002 15:00:35 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 3 Jul 2002 15:00:35 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GYO00KJ3HOV1Y@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 03 Jul 2002 11:00:35 -0400 (EDT) Original-Received: from nimbus.ocis.temple.edu (nimbus.ocis.temple.edu [155.247.166.101]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GYO00BIGHOSNZ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 03 Jul 2002 11:00:29 -0400 (EDT) Original-Received: from smaug.ocis.temple.edu (mailbox.temple.edu [155.247.166.76]) by nimbus.ocis.temple.edu (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id g63F0TRW024468 for ; Wed, 03 Jul 2002 11:00:29 -0400 (EDT) Original-To: tru64 managers X-Mailer: InterChange (Hydra) SMTP v3.61.08 X-WebMail-UserID: balaji@temple.edu X-EXP32-SerialNo: 50000141 Xref: main.gmane.org gmane.os.tru64.managers:809 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:809 Hello managers Sorry for this delayed reply. Following is the summary I would like to thank for there replies.(Attached) LHERCAUD@bouyguestelecom.fr Binkley Robert alan@nabeth.cxo.cpqcorp.net =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D The new UNITs you will create will keep the data but will be "seen" as differents disks by the OS. Depending on the OS version (4.0* or 5.1*), this will have to be done in different manners Lucien HERCAUD Consultant Systeme UNIX en mission chez Bouygues T=82l=82com DCSI/DEB/HSI/INL/INX * Tel. Fixe +33 1 3945 4260=09* BOUYGUES Telecom * Tel. Mobile +33 6 0944 2880=09* 24 Avenue de l'Europe * Fax +33 1 3945 4322=09* 78944 VELIZY Cedex * lhercaud@bouyguestelecom.fr =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D Robert BInkley This is the procedures for moving a raidset/unit from being online with one HSG80 to the other. NOTE: It is recommended that you try to quiesce the application if at all possible. STEP 1: This is what you are wanting to change. The State shows it "ONLINE to this controller" but the PREFERRED_PATH =3D OTHER_CONTROLLER. For load balancing purposes across the HSG80 Pair this unit d2 really needs to be "ONLINE to the other controller" to match the PREFERRED_PATH. HSG8013T> sho d2 LUN Uses Used by ---------------------------------------------------------------------- D2 R2 LUN ID: 6000-1FE1-000F-E2D0-0009-1050-6837-00BB IDENTIFIER =3D 132 Switches: RUN NOWRITE_PROTECT READ_CACHE READAHEAD_CACHE WRITEBACK_CACHE MAX_READ_CACHED_TRANSFER_SIZE =3D 256 MAX_WRITE_CACHED_TRANSFER_SIZE =3D 256 Access: ALL State: ONLINE to this controller Not reserved PREFERRED_PATH =3D OTHER_CONTROLLER Size: 355486275 blocks Geometry (C/H/S): ( 69978 / 20 / 254 ) STEP 2: Get the serial numbers of the HSG8013T dual redundant controllers. HSG8013T> sho this Controller: HSG8013T ZG94213577 Software V85F-0, Hardware E05 NODE_ID =3D 5000-1FE1-0005-FAF0 HSG8013T> sho other Controller: HSG8013T ZG03408473 Software V85F-0, Hardware E05 NODE_ID =3D 5000-1FE1-0005-FAF0 Step 3: For each unit/device that will need to be moved from one HSG80 to the other we need to get the BUS, TARGET, and LUN of each VALID path using hwmgr. Grepping for the IDENTIFIER from Step 1, enter the following command. HOSTNAME:/=3D> hwmgr -v d -cate disks | grep 132 562: /dev/disk/dsk132c DEC HSG80 IDENTIFIER=3D132 Step 4: Now using the HWID that was obtained from the last command enter this command. This will give you the First and every Valid Path. HOSTNAME:/=3D> hwmgr -show scsi -ful -id 562 SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH ---------------------------------------------------------------------- 562: 115 samson disk none 2 32 dsk132 [6/8/2] WWID:01000010:6000-1fe1-000f-e2d0-0009-1050-6837-00bb BUS TARGET LUN PATH STATE ------------------------------ 6 8 2 valid 6 9 2 valid 8 8 2 valid 8 9 2 valid 13 8 2 valid 13 9 2 valid 15 8 2 valid 15 9 2 valid 21 8 2 valid 21 9 2 valid 23 8 2 valid 23 9 2 valid 27 8 2 valid 27 9 2 valid 29 8 2 valid 29 9 2 valid 35 16 2 valid 35 17 2 valid 37 16 2 valid 37 17 2 valid 41 16 2 valid 41 17 2 valid 43 16 2 valid 43 17 2 valid 49 16 2 valid 49 17 2 valid 51 16 2 valid 51 17 2 valid 55 16 2 valid 55 17 2 valid 57 16 2 valid 57 17 2 valid Step 5: Then run scu and specify the nexus of the first BUS, TARGET and LUN that was obtained from hwmgr for the unit/device that will be moved. HOSTNAME:/=3D> scu scu> set nexus bus 6 target 8 lun 2 Device: HSG80, Bus: 6, Target: 8, Lun: 2, Type: Direct Access - OR - (you can use this other command, which means "set bus target lun") scu> sbtl 6 8 2 Device: HSG80, Bus: 6, Target: 8, Lun: 2, Type: Direct Access Step 6: Issue a show inquiry command from scu. - On the second screen of output from the inquiry reply there will be two serial numbers listed in the hex data. The first serial number is the serial number of the controller you are talking to. If this is the SAME serial number that the unit is currently online to, you need to issue the scu> set nexus command to the NEXT BUS, TARGET, and LUN from the hwmgr display for that disk. Then do the scu> show inquiry again until the first serial number is the controller you want the unit/device to be online. The other key here is that when the first serial number is the controller you want the device to be online with, the Peripheral Qualifier below will say (Peripheral Device NOT Connected). scu> sho inq Inquiry Information: Peripheral Device Type: 0 (Direct Access) Peripheral Qualifier: 0 (Peripheral Device Connected) Device Type Modifier: 0 Removable Media: No ANSI Version: 2 (Complies to ANSI X3.131-1994, SCSI-2) ECMA Version: 0 ISO Version: 0 Response Data Format: 2 (SCSI-2) Terminate I/O Process: No Additional Length: 247 Soft Reset Support: No Command Queuing Support: Yes Target Transfer Disable: No Linked Command Support: No Synchronous Data Transfers: Yes Support for 16 Bit Transfers: Yes Support for 32 Bit Transfers: No Relative Addressing Support: No Vendor Identification: DEC Product Identification: HSG80 Firmware Revision Level: V86F Vendor Specific Data: 5a 47 30 33 34 30 38 34 37 33 5a "ZG03408473" This is the controller that the disk is currently on. Need to select the next BUS,TARGET and LUN using scu>. 47 39 34 32 31 33 35 37 37 00 00 "ZG94213577" 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 70 94 00 00 00 00 " p " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 50 00 1f e1 00 " P " 0f e2 d0 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 01 01 00 00 00 " " 00 00 00 00 00 00 00 " " scu> sbtl 8 8 2 Device: HSG80, Bus: 8, Target: 8, Lun: 2, Type: Direct Access scu> sho inq Inquiry Information: Peripheral Device Type: 0 (Direct Access) Peripheral Qualifier: 0x1 (Peripheral Device NOT Connected) Device Type Modifier: 0 Removable Media: No ANSI Version: 2 (Complies to ANSI X3.131-1994, SCSI-2) ECMA Version: 0 ISO Version: 0 Response Data Format: 2 (SCSI-2) Terminate I/O Process: No Additional Length: 247 Soft Reset Support: No Command Queuing Support: Yes Target Transfer Disable: No Linked Command Support: No Synchronous Data Transfers: Yes Support for 16 Bit Transfers: Yes Support for 32 Bit Transfers: No Relative Addressing Support: No Vendor Identification: DEC Product Identification: HSG80 Firmware Revision Level: V86F Vendor Specific Data: 5a 47 30 33 34 30 38 34 37 33 5a "ZG94213577" This is the controller that you want The unit/device to be online. 47 39 34 32 31 33 35 37 37 00 00 "ZG03408473" 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 70 94 00 00 00 00 " p " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 50 00 1f e1 00 " P " 0f e2 d0 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 00 00 00 00 00 " " 00 00 00 00 00 00 01 01 00 00 00 " " 00 00 00 00 00 00 00 " " Step 7: The next thing to do will be to issue a start to bring the unit/device online with the controller which you have specified. You're finished, so now quit scu. scu> start scu> quit Step 8: Check the device on the HSG8013T to verify that the device has moved. HSG8013T> sho d2 LUN Uses Used by ---------------------------------------------------------------------- D2 R2 LUN ID: 6000-1FE1-000F-E2D0-0009-1050-6837-00BB IDENTIFIER =3D 132 Switches: RUN NOWRITE_PROTECT READ_CACHE READAHEAD_CACHE WRITEBACK_CACHE MAX_READ_CACHED_TRANSFER_SIZE =3D 256 MAX_WRITE_CACHED_TRANSFER_SIZE =3D 256 Access: ALL State: ONLINE to the other controller Not reserved PREFERRED_PATH =3D OTHER_CONTROLLER Size: 355486275 blocks Geometry (C/H/S): ( 69978 / 20 / 254 ) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Alan Nabeth Deconstruct the logical units on the source HSG: =09DELETE unit-name =09DELETE storage-set-name =09DELETE device-name ... =09Move the disks and reconstruct the units on the target =09HSG: =09ADD DISK ... =09... =09ADD MIRROR ... =09ADD UNIT ... =09Be sure to skip the INIT step, since that WILL cause the =09data on those disks to disappear. =09TRANSPORTABLE is a characteristic supported by the HS =09family operating system that doesn't allocate space =09on the disk for the operating system's metadata. The =09intent is to allow disks to be used on the HS family =09subsystem and then moved to a non-HS family subsystem =09such as a bare SCSI adapter. =09The HS family allocates some part of the space of a device =09for its metadata. This is used to keep track of bad blocks, =09so that it can replace the block, but remember that the data =09in that block was wrong. It also allows the feature of taking =09a bare disk, and turning it into a member of a mirror set. =09The data has lots of uses, but takes away some of the capacity =09that would be presented to the host. TRANSPORTABLE doesn't =09allocate this space, with the attendent loss of features. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D