Lucent Technologies CentreVu Release 3 Version 8 Disk-Mirrored Systems User Manual
Lucent Technologies CentreVu Release 3 Version 8 Disk-Mirrored Systems User Manual

Lucent Technologies CentreVu Release 3 Version 8 Disk-Mirrored Systems User Manual

Call management system, release 3 version 8 disk-mirrored systems
Table of Contents

Advertisement

Quick Links

CentreVu
Release 3 Version 8
Disk-Mirrored Systems
®
Call Management System
585-210-940
Comcode 108502352
Issue 1
December, 1999

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CentreVu Release 3 Version 8 Disk-Mirrored Systems and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Lucent Technologies CentreVu Release 3 Version 8 Disk-Mirrored Systems

  • Page 1 ® CentreVu Call Management System Release 3 Version 8 Disk-Mirrored Systems 585-210-940 Comcode 108502352 Issue 1 December, 1999...
  • Page 2 Disclaimer Copyright 1999 Lucent Technologies Intellectual property related to this product (including trademarks) All Rights Reserved and registered to AT&T Corporation has been transferred to Lucent Printed in U.S.A. Technologies Incorporated. Notice Any references within this text to American Telephone and Telegraph Every effort was made to ensure that the information in this book was Corporation or AT&T should be interpreted as references to Lucent complete and accurate at the time of printing.
  • Page 3: Table Of Contents

    CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Table of Contents Chapter 1: Introduction to Disk Mirroring Disk mirroring defined ........Metadevices.
  • Page 4 CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Chapter 3: Maintaining Mirrored Systems Using the alternate boot device ....... . Maintaining the chkDisks crontab .
  • Page 5 CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Partitioning disks with the format command ......How to tell whether your mirrored system is standard ....Examples of valid system files .
  • Page 6 CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems...
  • Page 7: Introduction To Disk Mirroring

    Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Disk mirroring defined Introduction to Disk Mirroring This chapter introduces you to “disk mirroring,” an optional feature of CentreVu Call Management System (CMS) that provides you with a completely redundant set of data, helping to ensure data security.
  • Page 8: Concatenated Metadevices

    Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Disk mirroring defined The illustration below shows a simple, two-slice metadevice. Physical Disks A & B Metadevice d0 c0t0d0s2 c0t0d0s2 c1t0d0s2 c1t0d0s2 Concatenated A metadevice can be configured as any one of three basic types: striped, metadevices concatenated, or concatenated stripes .
  • Page 9: State Databases

    Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Disk mirroring defined The total capacity of this concatenated metadevice is the combined capacities of the three drives. If each drive is 4 gigabytes, for example, the metadevice has an overall capacity of 12 gigabytes. State databases The Solstice DiskSuite software tracks which disk partitions belong to which metadevices with a state database.
  • Page 10 Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Disk mirroring defined Metadevice d19 Chunk 1 Chunk 2 Metadevice d21 Chunk 3 Chunk 4 Chunk 1 Chunk 2 Solstice DiskSuite Chunk 3 Chunk 4 Chunk 1 Chunk 2 Chunk 3 Chunk 4 Metadevice d20...
  • Page 11: How Cms Implements Disk Mirroring

    Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How CMS implements disk mirroring How CMS implements disk mirroring A nonmirrored, CMS system with Solstice DiskSuite uses it to create a single metadevice, named d19, containing all the disk partitions used to store CMS data.
  • Page 12 Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How CMS implements disk mirroring In a CMS computer system with /cms mirrored, root is also mirrored. The root mirror is d13; its submirrors are d11 and d12. For example: / (root) c0t0d0s0 c0t1d0s0...
  • Page 13: Mirror Layouts

    Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How CMS implements disk mirroring Mirror layouts Mirror layouts on a factory-installed mirrored system differ depending upon the platform. When a system is upgraded to mirroring in the field, mirror layouts are essentially unpredictable, and depend on how many disk drives are already installed, and what their target numbers are.
  • Page 14: Mirror Layout On A Sun Enterprise 3500 Computer

    Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How CMS implements disk mirroring Mirror layout on a Sun On a Sun Enterprise 3500 platform, the mirror layout must always be Enterprise 3500 based upon the bays in which the disks are installed. Submirrors 11, 15, computer and 19 are the disks in the lower bay (targets 0 through 3 on controller 0);...
  • Page 15: Required Software

    Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How CMS implements disk mirroring Required software In order for your CMS system to be mirrored, it must be running the following software: CMS R3V8 Solaris 7 dated 3/99 Solstice DiskSuite 4.2 any CMS r3v8 load For a list of other software required for your system, see the Lucent...
  • Page 16 Introduction to Disk Mirroring CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How CMS implements disk mirroring...
  • Page 17: Installing Mirrored Systems

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring Installing Mirrored Systems This chapter contains procedures for upgrading existing computer systems to use disk mirroring and for installing a mirrored system under factory conditions.
  • Page 18: Increasing System Capacity

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring Increasing system If you intend to increase your system capacity as well as mirror your system, first install the new disks needed to increase capacity. For capacity instructions, see the documentation that came with the new drives or the appropriate Lucent Technologies installation documents.
  • Page 19 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring b. Record existing nonboot disks under submirror 19, and empty slots for new nonboot disks under submirror 20. Example: Imagine a system that already has two disk drives in slots 0 and 1.
  • Page 20: Step 2: Install The Mirror Disks On An Enterprise 3500 System

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring Step 2: Install the Do this step only if you have an Enterprise 3500 system. mirror disks on an It is likely that your Enterprise 3500 system is currently using controller 1 Enterprise 3500 (c1) for the internal CD-ROM drive.
  • Page 21 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring 3. Install the new disk drives in the upper drive bay. The illustration below shows where to install the new drives.
  • Page 22: Step 3: Install The Mirror Disks On An Enterprise 3000 System

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring 4. From the ok prompt, do a reconfigure boot by entering the following command: ______________________________________________________ ok boot -r ______________________________________________________ 5. Log in as root. 6.
  • Page 23 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring 4. Enter: partition> print The partition table displays and the partition> prompt returns. Compare the display to the Partitioning table below to see whether you need to re-partition the disk.
  • Page 24: Step 5: Create The State Database Replicas

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring 8. Enter: y The partition> prompt returns. 9. Enter: partition> q The format> prompt returns. 10. To select the next disk to be partitioned, enter: format> disk and return to item 2.
  • Page 25 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring The root metadevice definitions go into the #metaroot section, which you must create for the occasion; d20 goes into the #/cms section, which already exists in the file.
  • Page 26: Step 7: Set Up The Mirrors For The Root File System

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring Step 7: Set up the Set up the mirrors for the root file system with the following steps: mirrors for the root 1.
  • Page 27 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring 6. Set up d13 as the root mirror: # metaroot d13 7. Reboot the system and log in as the root user: # /usr/sbin/shutdown -i6 -g0 -y .
  • Page 28: Step 8: Set Up The Mirrors For The Swap Space

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring Step 8: Set up the Set up the mirrors for the swap space with the following steps: mirrors for the 1.
  • Page 29 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring 6. Edit /etc/vfstab. The relevant portion of the file looks like this: ----------------- /etc/vfstab ---------------- . . . /dev/dsk/c0t0d0s4 swap /dev/dsk/c0t2d0s4 swap --------------------------------------------------...
  • Page 30: Step 9: Set Up The /Cms Mirror

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring Step 9: Set up the 1. Edit /etc/vfstab. Copy the d19 entry to the succeeding line. Then comment out the original and change “d19” to “d21”. For example: /cms mirror ---------------- /etc/vfstab - EXAMPLE ONLY ----------------- .
  • Page 31: Step 10: Verify Disk Space

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring Step 10: Verify disk 1. Display available disk space by entering a df -k command. The system responds with a file system table. For example: space Filesystem kbytes...
  • Page 32: Step 11: Create An Alternate Boot Device

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring # metastat . . . d21: Mirror Submirror 0: d19 State: Okay Submirror 1: d20 State: Okay . . . d19: Submirror of d21 State: Okay Size: 14398560 blocks...
  • Page 33 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to upgrade an Enterprise platform to disk mirroring 3. Reboot the system with the following command: # /usr/sbin/shutdown -y -i0 -g0 The system displays the ok prompt. 4. Create a device alias for the new boot device by entering the following command (for example): ok nvalias bootdevice2 <device>...
  • Page 34: Factory Installation Procedures For Disk Mirroring

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring Factory installation procedures for disk mirroring This section describes how a mirrored system is installed on a new Sun Enterprise 3xxx computer in the factory. You may use these instructions in the field to bring an existing system up to factory specifications.
  • Page 35: Step 3: Install The Application Software

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring Partitioning (Note: Never change the default size of the overlap slice!) CMS R3V8 CMS R3V8 9.1-GB Disk SCSI 4.2-GB Disk (E3000) and FC-AL (E 3500) Disk Size...
  • Page 36: Step 4: Check The Disk.type File

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring Step 4: Check the The olds commands, which you will be using to configure the Solstice DiskSuite software, obtain information about your disk configuration from disk.type file the /olds/disk.type file.
  • Page 37 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring 5. Check the disks: # olds -mirrored -check_disks number of external scsi controllers with disks is = 0 number of disks is = 4 .
  • Page 38: Step 6: Run The Setup Scripts

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring Step 6: Run the 1. Create the state database replicas by entering the following command: setup scripts # olds -mirrored -metadbs Success, setting up metadb replicas 2.
  • Page 39: Step 7: Verify Disk Space

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring 5. Setup the /cms metadevices by entering the following commands: # ksh -o vi # export PATH=$PATH:/olds # olds -mirrored -setup 3962848, 13997552, 14032256, 14066960, 14101664, 14136368, 14171072, 14205776, 14240480, 14275184, 14309888, 14344592, 14376992, 14411696,...
  • Page 40 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring 2. Complete the table below by filling in (1a) and (1b) as instructed. Disk Space Verification Total No. /cms size in MB /cms size in MB of Disks (4-GB disks) (9-GB disks)
  • Page 41: Step 8: Install The Cms Software

    Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring Step 8: Install the Now you will complete the installation of the usual software by installing CMS. In general, the steps are as listed below. Detailed installation CMS software instructions can be found in CentreVu CMS R3V8 Software Installation and Setup (585-210-941).
  • Page 42 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring 5. Enter the following command: ok devalias 6. Check the output for a line like this: bootdevice2 < device definition> where, again, <device definition> is the string recorded in item 2. 7.
  • Page 43 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring 13. Enter the following command: # chmod +x /olds/chkDisks 14. Do a CMSADM backup. For instructions, see the CentreVu CentreVu CMS R3V8 Administration (585-210-910) document or the maintenance and troubleshooting document for your hardware platform.
  • Page 44 Installing Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Factory installation procedures for disk mirroring...
  • Page 45: Maintaining Mirrored Systems

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Using the alternate boot device Maintaining Mirrored Systems This chapter contains procedures you are likely to need to maintain a disk-mirrored system, including replacing disk drives, recovering from disk failures, and using the olds scripts. Using the alternate boot device When you set up your mirrored system, you created an alternate boot device named bootdevice2.
  • Page 46: Maintaining The Chkdisks Crontab

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Maintaining the chkDisks crontab Maintaining the chkDisks crontab The chkDisks crontab runs each night and checks to see whether any potential or actual drive problems have been logged. The results of the search are logged to /olds/elog and mailed to the root user.
  • Page 47: Doing A Cmsadm Backup On A Mirrored System

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Doing a CMSADM backup on a mirrored system Doing a CMSADM backup on a mirrored system This section describes how to perform a traditional CMSADM backup on a mirrored system. NOTE: Mirroring is intended as a way to minimize data loss should a system crash occur, not as a way to avoid backing up data.
  • Page 48: Step 3: Label And Store The Tapes

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Doing a CMSADM backup on a mirrored system 3. Display the CentreVu CMS Administration menu by entering a cmsadm command. For example: # cmsadm Lucent Technologies CentreVu(R) Call Management System Administration Menu Select a command from the list below.
  • Page 49: Restoring From A Cmsadm Backup

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring from a CMSADM Backup Restoring from a CMSADM Backup This section contains the procedure for restoring /cms data files from a traditional CMSADM backup tape. You may want to perform a CMSADM restore when, for example, your file systems are still intact, but some data has been corrupted.
  • Page 50 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring from a CMSADM Backup NOTE: You may get error messages concerning the /home directory. These errors display when the directory is already present. Ignore them. 4. Restore any CentreVu CMS maintenance backups dated after the latest CDMADM backup.
  • Page 51: Repairing Or Rebuilding The /Cms File System

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Repairing or rebuilding the /cms file system Repairing or rebuilding the /cms file system This section contains procedures for reinitializing the /cms file system. You may need to perform this procedure in case of disk corruption or some other catastrophic system problem.
  • Page 52: Rebuilding /Cms

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Repairing or rebuilding the /cms file system The system prompt should return without error, as shown above. (Of course, file and block counts in the last line will vary.) In that case, continue with the next step.
  • Page 53 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Repairing or rebuilding the /cms file system 1. Add the Solstice DiskSuite directories to your path: # export PATH=$PATH:/usr/opt/SUNWmd/sbin:/olds 2. Detach the d20 submirror: # metadetach d21 d20 d21: submirror d20 is detached 3.
  • Page 54 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Repairing or rebuilding the /cms file system 9. Prepare the cms mirror for a new file system (this will take 15 to 30 minutes to complete): # newfs -m 0 /dev/md/rdsk/d21 14550512, 14585216, 14619920, 14654624, 14689328, 14724032, 14758736, 14793440, 14828144, 14862848, 14897552, 14929952,...
  • Page 55: Restoring A Mirrored System From A Cmsadm Backup

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Restoring a mirrored system from a CMSADM backup This section shows you how to restore an entire mirrored system from a CMSADM backup.
  • Page 56: Step 3: Boot The System From The Compact Disk

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Step 3: Boot the The following tasks boot the system from the compact disc. system from the Task Action Result compact disk Turn on the power to the The system begins to boot.
  • Page 57: Step 4: Identify The System

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Step 4: Identify the The following tasks identify your system for the installation. system Task Action Result No action required. The Host Name screen is displayed.
  • Page 58: Step 5: Set The Name Service Options

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Step 5: Set the The following tasks set the name service options. Name Service Task Action Result options No Action Required. The Name Service screen is displayed.
  • Page 59: Step 6: Set The Date And Time

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Step 6: Set the date The following tasks set the date and time. and time Task Action Result No action required. The Time Zone screen is displayed.
  • Page 60: Step 7: Select The Operating System Files To Be Installed

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Step 7: Select the This procedure selects Solaris system files for the installation. operating system Task Action Result files to be installed No Action Required.
  • Page 61: Step 8: Select The Hard Disks

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Step 8: Select the This procedure selects hard disks for partitioning. hard disks Task Action Result No Action Required. The Select Disks screen is displayed.
  • Page 62 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup a. Click the space at the right Slice numbers of the slice number. b. Type the slice name (see the table below). c.
  • Page 63: Step 10: Install The Operating System

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Step 10: Install the This procedure installs the Solaris 7 3/99 operating system using the system software and disk partitioning already specified. operating system Task Action...
  • Page 64: Step 11: Complete The Os Installation

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Step 11: Complete This procedure completes the operating system installation. the OS installation Task Action Result No action required. When the On this screen you can create a root password.
  • Page 65: Step 13: Restore The Backup

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup Step 13: Restore With the system prompt displaying, insert the CMSADM backup tape into the tape drive and enter the following command: the backup # cpio -icmudfv -C 10240 -I /dev/rmt/0c -M “Insert Tape %d”...
  • Page 66 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup 4. Add the Solstice DiskSuite directories to your path: # PATH=$PATH:/usr/opt/SUNWmd/sbin:/olds # export PATH 5. Create md.tab.new: # olds - mirrored -mk_files Success, creating md.tab.new 6.
  • Page 67 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring a mirrored system from a CMSADM backup 10. Reboot using a boot -r command and log in as the root user: ok boot -r <hostname> login: root Password: <root password> 11.
  • Page 68: Restoring Specific Files From A Cmsadm Backup

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Restoring specific files from a CMSADM backup Restoring specific files from a CMSADM backup To restore specific files from CMSADM backup tapes, enter the following commands at the system prompt (for example): # cd / # cpio -icmudv -C 10240 -I /dev/rmt/0c -M “Please remove the current tape, insert tape number %d, and...
  • Page 69: Adding New Disks To A Standard Mirrored System

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Adding new disks to a standard mirrored system Adding new disks to a standard mirrored system The procedure in this section adds new disks to a system that is already mirrored.
  • Page 70 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Adding new disks to a standard mirrored system 6. Reboot the system and log in as the root user: ok boot -r . . . <hostname> login: root password: <password> .
  • Page 71 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Adding new disks to a standard mirrored system 13. Add the new disks to the existing metadevices by entering the following command: # olds -mirrored -setup <newdisk1> <newdisk2> (where, again, <newdisk1> and <newdisk2> are the device names of the disks you have added).
  • Page 72: Adding New Disks To A Nonstandard Mirrored System

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Adding new disks to a nonstandard mirrored system Adding new disks to a nonstandard mirrored system A “nonstandard” disk drive addition is one that cannot take advantage of advanced features of the olds setup scripts because the disk configuration is not standard.
  • Page 73 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Adding new disks to a nonstandard mirrored system 7. Add the olds directories to your path: # PATH=$PATH:/usr/opt/SUNWmd/sbin:/olds # export PATH 8. Create new versions of the setup files by entering the following command: # olds -mirrored -mk_files <newdisk1>...
  • Page 74 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Adding new disks to a nonstandard mirrored system 13. Grow the /cms file system by entering the following command: # growfs -M /cms /dev/md/rdsk/d21 If the operation should fail, do the following: a.
  • Page 75: Replacing A Faulty Disk

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Replacing a faulty disk Replacing a faulty disk This section explains how to replace a faulty disk. The system does not need to be powered off or rebooted to perform this procedure. Step 1: Identify the A disk problem is usually indicated in the /var/adm/messages file.
  • Page 76: Step 2: Identify The Submirrors

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Replacing a faulty disk Step 2: Identify the 1. Add the Solstice DiskSuite directories to your path: submirrors # export PATH=$PATH:/usr/opt/SUNWmd/sbin:/olds 2. Enter a metastat command: # metastat 3. Scan the output of the metastat command to find the name of the faulty disk.
  • Page 77: Step 3: Detach The Submirrors

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Replacing a faulty disk Step 3: Detach the To detach a submirror means to put it off line so you can access its constituent disk drives. You detach a submirror with a metadetach submirrors command.
  • Page 78: Step 4: Remove State Database Replicas (Boot Disks Only)

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Replacing a faulty disk Step 4: Remove When you replace a boot disk, you must remove the state database replicas from the old disk and recreate them on the new one. A boot disk state database is one that is a member of metadevice d11 or d12 (see “Step 2: Identify...
  • Page 79: Step 6: Recreate The State Database Replicas

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Replacing a faulty disk Step 6: Recreate 1. Recreate the primary boot disk replicas you removed earlier by entering the following command: the state database replicas metadb -a -c4 -f /dev/rdsk/ devname 2.
  • Page 80: Step 7: Reattach The Submirrors

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Replacing a faulty disk Step 7: Reattach 1. Enter a metainit command to reinitialize the submirror. For example: the submirrors # metainit d20 If you receive an “already set up” message, ignore it. 2.
  • Page 81: State Database Replicas

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems State Database Replicas State Database Replicas Setting up replicas 1. Verify that the /etc/opt/SUNWmd/md.tab file is correct (see “Examples of valid system files” on page 79). 2. Enter the metadb command: # metadb -a -c4 -f /dev/dsk/c0t0d0s1 # metadb -a -c3 -f /dev/dsk/c0t1d0s1 Replacing replicas...
  • Page 82: Partitioning Disks With The Format Command

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Partitioning disks with the format command Partitioning disks with the format command To use the format command to partition a disk, do the following steps: 1. Enter: # format A menu of disks displays.
  • Page 83 Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Partitioning disks with the format command 6. Enter: partition> print The partition table displays and the partition> prompt returns. Compare the display to the Partitioning table to make certain you have repartitioned the disk properly.
  • Page 84: How To Tell Whether Your Mirrored System Is Standard

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems How to tell whether your mirrored system is standard How to tell whether your mirrored system is standard To tell whether mirroring was installed as a “standard” or “nonstandard” configuration, you can do one of two things.
  • Page 85: Examples Of Valid System Files

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Examples of valid system files Examples of valid system files Valid vfstab files Valid vfstab file for a non mirrored R3V8 CMS system: ___________________________________________________________________ #device device mount fsck mount mount #to mount to fsck...
  • Page 86: Valid Md.tab Files

    Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Examples of valid system files Valid md.tab files Valid md.tab file for a 3 disk non mirrored R3V8 CMS system: ____________________________________________________ #state database replicas mddb00 c0t0d0s1 mddb01 c0t1d0s0 #/cms d19 3 1 /dev/rdsk/c0t0d0s3 1 /dev/rdsk/c0t1d0s1 1 /dev/rdsk/c1t0d0s1 d21 -m d19 ____________________________________________________...
  • Page 87: Troubleshooting

    Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Solstice DiskSuite problems Troubleshooting This chapter contains procedures for troubleshooting problems you may experience while installing or maintaining systems that use disk mirroring. Solstice DiskSuite problems The root filesystem If you run out of space on the / (root) file system—while trying to install Solaris patches, for example—you probably installed your /cms swap file runs out of space on root .
  • Page 88: The System Fails To Recognize All Disk Drives

    Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems The system fails to recognize all disk drives The system fails to recognize all disk drives If the system should fail to recognize all disk drives, do the following: 1. Reboot the system by entering the following command: # /usr/sbin/shutdown -y -g0 -i0 The system reboots and displays the ok prompt: 2.
  • Page 89 Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems The system fails to recognize all disk drives /sbus@3,0/SUNW,fas@3,8800000 Target 0 Unit 0 Disk SEAGATE ST34371W SUN4.2G74629737K6748 Copyright(c) 1997 Seagate All rights reserved Target 6 Unit 0 Disk Removable Read Only device TOSHIBA XMS5701TASUN12XCD099704/09/97 7.
  • Page 90: Fixing "Needs Maintenance" Messages

    Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Fixing “needs maintenance” messages Fixing “needs maintenance” messages On rare occasions mirrors may get severely out of sync. An extreme example is when a disk is removed from a powered system without first being detached with a metadetach command.
  • Page 91: Boot Problems

    Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Boot problems Boot problems Generally speaking, most boot problems are the result of one of two problems: either you are trying to boot from the wrong device or the primary boot device is not available. This section suggests remedies for those situations.
  • Page 92: Excessive Reboot Time

    Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Boot problems Excessive reboot Problem: The system takes a long time to come back up after a reboot and seems to stop at the configuring multicast point. time Possible workaround: The Enterprise 3000, by default, tries to configure itself as a router/gateway.
  • Page 93: Log Files

    Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Log files Log files A disk-mirrored system contains the following system log files: File Name Description /var/adm/messages Contains all console error messages, including hardware messages. (For an example of how to use this log to detect a bad disk drive, see Replacing Faulty Disks”...
  • Page 94: Error Messages

    Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Error messages Error messages The table that follows lists and explains error messages you can receive related to Solstice DiskSuite and disk mirroring. The messages are presented in alphabetical order, ignoring special characters and replacement strings.
  • Page 95 Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Error messages Error Messages (Continued) Message: component is attached metattach: hostname : d21: growing of metadevice delayed Explanation: Submirrors are out of sync. Response: Enter the command: metasync d21 This command effectively resyncs submirrors. Message: device: devicename cannot be setup or does not exist...
  • Page 96 Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Error messages Error Messages (Continued) Message: /etc/system has been updated since the last reboot. CMS cannot run without an up- to-date /etc/system file. Explanation: /etc/system can change when a particular Solaris patch is applied to the system or when state database replicas are removed and re-added during a boot disk replacement.
  • Page 97 Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Error messages Error Messages (Continued) Message: metadb: hostname : cxtyd0sz has a metadevice database replica Explanation: The slice named in the message already has a replica. Response: If you really need to add another replica, choose a different slice.
  • Page 98 Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Error messages Error Messages (Continued) Message: panic: vfs_mountroot: cannot mount root rebooting... resetting..Explanation: The system is misconfigured. Response: There are two possible causes: 1. You attempted to boot from a nonbootable device. Check the device name and try again.
  • Page 99 Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Error messages Error Messages (Continued) Message: stale databases Response: The state database contains old information. Recreate Recreating the Replicas and Reattaching the (see “ Disk” in Chapter 3). Message: state database information not found, DiskSuite must not be installed Response: Install and set up Solstice DiskSuite before doing this...
  • Page 100 Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Error messages Error Messages (Continued) Message: The disk is not recognized by cms. Explanation: The disk is either not a standard Sun disk drive, or is larger than 4.2 gigabytes. Response: Replace the disk with a standard Sun disk drive of not more than 4.2 gigabytes capacity.
  • Page 101 Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Error messages Error Messages (Continued) Message: This command may hang the system if a Stop- A or halt command has been executed. Please type reset-all to reset the system before executing this command. Do you wish to continue? Response: 1.
  • Page 102 Troubleshooting CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Error messages Error Messages (Continued) Message: Usage: olds -mirrored -check_disks| -mirrored -mk_files|-metadbs|-cleanup| -mirrored -setup [disk name] Explanation: You have mistyped a command. Response: Retry the command. See Chapter 3 for information about olds command syntax.
  • Page 103: Index

    CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Index Symbols disk partitioning ....56, disk partitions ....1 disks.type file .
  • Page 104 CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems needs maintenance messages ... 84 tape drives st.conf file..... 43 three-way mirror .
  • Page 105 How Are We Doing? Document Title: CentreVu Call Management System Release 3 Version 8 Disk-Mirrored Systems Document No.: 585-210-940 Issue 1 Date: December 1999 Lucent Technologies welcomes your feedback on this document. Your comments are of great value in helping us to improve our documentation.

This manual is also suitable for:

Centrevu

Table of Contents