You are on page 1of 6

Logica Mobile networks

_______________________________________________
Integration services

Title

Telepath SR2700

Adding a mirror copy for vg00

Control
Document ID:
Version:
Location:
Originator
Creation Date
Status
Approver

Mirroring_vg00
1.1
10.16.0.2 /products/SMSC/2700/standard_config/TP2700_parameters/Unix/mop
David Mathevet
03/04/01
Released
Stephen McElroy

5 Custom House Plaza, Harbourmaster Place, Dublin 1
Phone (+353) 1819 3400, FAX (+353) 1819 3401

McElroy 2 . McElroy S. Dublin 1 Phone (+353) 1819 3400 Fax (+353) 1819 3401 Approved By S. THIS GUIDE IS FOR INTERNAL LOGICA USE ONLY AND NOT CUSTOMER FACING. Harbourmaster Place.0 1. IFSC.1 David Mathevet David Mathevet David Mathevet 03/04/01 03/04/01 09/05/01 First Draft First release Added instructions to remove one disk from the vg00 5 Custom House Plaza. McElroy S.1 1.Logica Mobile networks ________________________________________ Integration services Abstract This documents gives instructions for an onsite engineer to mirror the vg00 volume group. Distribution Stephen McElroy Colin Fennelly Jean Marc Berroyer Brendan McGoldrick Stephen Tighe JL Valentin Paul Smyth David Mathevet History Version Modified By Date Description 0.

This document or any part thereof may not. Harbourmaster Place. specification. in any form or by any means. transmitting or storing it in any medium or translating it into any language. documentation.1 September 1994) The information contained herein is believed to be accurate and reliable. All rights reserved. magnetic or otherwise. (Rev 1. Aldiscon Limited accepts no responsibility for its use by any means or in any way whatsoever Aldiscon Limited shall not be liable for any expenses. transcribing. be copied. drawings. reprinted or reproduced in any material form including but not limited to photocopying. Dublin 1 Phone (+353) 1819 3400 Fax (+353) 1819 3401 3 .Logica Mobile networks ________________________________________ Integration services Copyright 1996 © Logica Limited 5 Customer House Plaza. software listings. trade marks. The information contained herein is subject to change without notice. The information (including but not limited to data. trade names. xerographic. patents and other intellectual property rights in the documentation are the exclusive property of Aldiscon Limited unless otherwise specified. source or object code) shall not at any time be disclosed directly or indirectly to any third party without Aldiscon Limited’s prior written consent. (Rev 1. costs by damage that may result from the use of the information contained within this document. IFSC. Harbourmaster Place. (Rev 1. be it electronic. mechanical.1 September 1994) The information contained in this document is proprietary and confidential and all copyright.1 September 1994) 5 Custom House Plaza. optical. without the written consent of Aldiscon Limited. Dublin 1.

............... IFSC............................... Removing one mirror copy for the root volume group (vg00).............................System Installation and Upgrade Checklist . 6 5 Custom House Plaza............................................................................ Dublin 1 Phone (+353) 1819 3400 Fax (+353) 1819 3401 4 ................ Harbourmaster Place............... 4 1. 5 2........ 5 Appendix A:............................. Adding a mirror copy for the root volume group (vg00)..Logica Mobile networks ________________________________________ Integration services Table of Contents Table of Contents..........................

add a mirror copy into the second disk Example assuming we have lvol1 up to lvol9: # for i in 1 2 3 4 5 6 7 8 9 > do > lvextend –m 1 /dev/vg00/lvol$i /dev/dsk/ cXtYdZ > done This last part may that one hour to complete because disks have to synchronize. then you have to do the following: Identify the device file of the disk you want to remove from the root volume group (cXtYdZ) and the final number of mirror copies for the volume group (<i>) For each of the logical volumes of vg00: # lvreduce –m <i> /dev/vg00/lvol /dev/dsk/cXtYdZ Then remove the disk from the volume group: # vgreduce /dev/vg00 /dev/dsk/cXtYdZ Finally recreate the links for the boot area: # rm /dev/root # lvlnboot –v –R # lvlnboot –r /dev/vg00/lvol3 # lvlnboot –b /dev/vg00/lvol1 # lvlnboot –s /dev/vg00/lvol2 5 Custom House Plaza. IFSC.0)/hp-ux” /dev/rdsk/ cXtYdZ # vgextend /dev/vg00 /dev/dsk/ cXtYdZ Then for each logical volume of the vg00.and dump volume # lvlnboot –r /dev/vg00/lvol3 # lvlnboot –b /dev/vg00/lvol1 # lvlnboot –s /dev/vg00/lvol2 # lvlnboot -R 2. Finally. Harbourmaster Place. boot. Adding a mirror copy for the root volume group (vg00) First identify the disk you want to use as a mirror: # ioscan –fnuC disk Take note of its /dev/rdsk/cXtYdZ parameter raw device file. Dublin 1 Phone (+353) 1819 3400 Fax (+353) 1819 3401 5 . Removing one mirror copy for the root volume group (vg00) In case you have to remove one of the mirror copies of the vg00. # pvcreate –f –B /dev/rdsk/cXtYdZ # mkboot –l /dev/rdsk/ cXtYdZ # mkboot –a “hpux (. prepare LVM logical volume to be root.Logica Mobile networks ________________________________________ Integration services 1. primary swap.

Logica Mobile networks ________________________________________ Integration services Appendix A:. Dublin 1 Phone (+353) 1819 3400 Fax (+353) 1819 3401 6 . IFSC. Harbourmaster Place.System Installation and Upgrade Checklist Date Started_______________ System Name________________ Component Customer_______________ IP Address________________ Sub-Component Completed/Details Filesystem size Assigned engineer _____________________ Approved by _________________________ 5 Custom House Plaza.