Lucent Technologies 585-210-940 manual Maintaining the chkDisks crontab, Canceling chkDisks

Page 46

Maintaining Mirrored Systems

CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems

Maintaining the chkDisks crontab

40

 

 

Maintaining the chkDisks crontab

Activating chkDisks

Verifying chkDisks

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. This section shows how to start and stop chkDisks, and how to verify that it will run.

Activate chkDisks by doing the following steps:

1.Enter the command: # crontab -e

The system starts the editor and loads the cron file.

2.Find the line for /olds/chkDisks. If it is commented out, uncomment it by deleting the pound sign at the beginning of the line. If there is no line for /olds/chkDisks, add the following line to the end of the file:

15 0 * * * /olds/chkDisks > /dev/null 2>&1

To verify that cron is running, enter the following command:

#crontab -l

Check the listing to see that there is an entry for chkDisks.

Changing the scheduled run time

Canceling chkDisks

The /olds/chkDisks line in the cron file is generally in the following format:

15 0 * * * /olds/chkDisks > /dev/null 2>&1

This line tells the system to run chkDisks every day at 15 minutes past hour zero, or 12:15 AM. You can change that schedule by changing the first five fields as necessary. The fields, in order of appearance, are: minute, hour, day of the month, month of the year, and day of the week. An asterisk means “all legal values.” For more information, see the manual (man) page for the crontab command.

To stop cron from running, enter the following command:

#crontab -e

With the file loaded in the editor, comment out the entry for chkDisks and write and quit the file.

Image 46
Contents CentreVu Call Management System Comments Table of Contents CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Index CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems IiiCentreVu CMS Release 3 Version 8 Disk-Mirrored Systems Metadevices Disk mirroring definedBacked up just as often as unmirrored systems Concatenated Mirrors State databasesSolstice DiskSuite D19 How CMS implements disk mirroringD21 D20 D15 D11D13 D12 D17 D16Root filesystem Cms filesystem Mirror layoutsMirror d13 Mirror d21 Mirror d17 Submirror DisksEnterprise Required software Additional referencesHow CMS implements disk mirroring How to upgrade an Enterprise platform to disk mirroring Disk drive slotsIncreasing system capacity Identify mirror devicesDevice Names Submirror d15 Submirror d16Do this step only if you have an Enterprise 3500 system System# ls -l /dev/dsk/c1t6d0s0 How to upgrade an Enterprise platform to disk mirroring Do this step only if you have an Enterprise 3000 system Ok boot -r# ls -l /dev/dsk/c2t6d0s0 Enter format partitionFlag 3500Disk Part Starting# metadb -a -c3 -f /dev/rdsk/device Enter partition q# export PATH=$PATH/usr/opt/SUNWmd/sbin/olds # metadbDx y 1 device # metainit -f d13 D13 Concat/stripe is set up Set up the mirrors for the root file system# metainit -f d11 D11 Concat/stripe is set up # metainit -f d12 D12 Concat/stripe is set up# metaroot d13 Password password# /usr/sbin/shutdown -i6 -g0 -y # metainit d17 D17 Concat/stripe is set up Set up the mirrors for the swap space# metainit -f d15 D15 Concat/stripe is set up # metainit d16 D16 Concat/stripe is set up# swap -a /dev/md/dsk/d17 Set up the /cms mirror Verify disk space Disk Space VerificationCreate an alternate boot device # ls -l /dev/rdsk/newbootdev# /usr/sbin/shutdown -y -i0 -g0 Ok nvalias bootdevice2 deviceOk boot bootdevice2 Sbus@3,0/SUNW,fas@3,8800000/sd@2,0Factory installation procedures for disk mirroring Install the hardwareInstall the application software 3500 Disk PartCheck the disk.type file # stty erase Ctrl-H # ksh -o# olds -mirrored -mkfiles Run the setup scripts Ok boot -r Hostname console login root Password password14376992 14446400 14171072 1420577614309888 14550512Disk Space Verification Install the CMS software Enter the following command ok devalias # chmod +x /olds/chkDisks Factory installation procedures for disk mirroring Using the alternate boot device Ok setenv boot-device disk # eeprom boot-device=diskActivating chkDisks Verifying chkDisks Canceling chkDisksMaintaining the chkDisks crontab # crontab -lPrint the vfstab file Doing a Cmsadm backup on a mirrored systemRun the backup # lp /etc/vfstabLabel and store the tapes Restoring from a Cmsadm Backup # cpio -icmudv -C 10240 -I deviceRestoring from a Cmsadm Backup Repairing /cms Repairing or rebuilding the /cms file system# umount /cms If you altered the vfstab file earlier , do the following Rebuilding /cmsIf you did not alter the vfstab file, do the following # metadetach d21 d20 D21 submirror d20 is detached # metainit d19 D19 Concat/Stripe is set up# metainit d21 mirror is set up # metaclear d20 D20 Concat/Stripe is cleared14585216 14654624 # newfs Dev/md/rdsk/d2114724032 14793440 Restoring a mirrored system from a Cmsadm backup Power off the systemTask Action Result Ok boot cdromSelect Language Confirm Information Identify the systemContinue Click ContinueSet the Name Service options 255.255.255.0 isGeographic Region Installation InitialSet the date and time RegionAllocate Client Installation screen isServices? screen is Select LanguagesSelect the hard disks GB Disk Slice NameClick Reboot Click Begin Installation Reboot/No RebootClick Continue Mount Remote File Complete the OS installation # /olds/olds -cleanup Reestablish the disk mirrors# olds mirrored -mkfiles Success, creating md.tab.new # PATH=$PATH/usr/opt/SUNWmd/sbin/olds # export Path# olds -mirrored -checkdisk Success, checking md.tab.new Hostname login root Password root password Restoring specific files from a Cmsadm backup Adding new disks to a standard mirrored system # /usr/opt/SUNWmd/sbin/metastat# olds -mirrored -mkfiles c0t10d0 c0t11d0 # olds -mirrored -setup newdisk1 newdisk2 Adding new disks to a nonstandard mirrored system # df -k /cms# metattach d19 newdisk1 # metattach d20 newdisk2 # metattach d19 c0t10d0s1 # metattach d20 c0t11d0s1# growfs -M /cms /dev/md/rdsk/d21 # metastatIdentify the faulty disk Replacing a faulty disk# ls -l /dev/dsk/c Lrwxrwxrwx 1 root Root Dbase State Hot Spare C0t2d0s1 Okay Stripe Device Identify the submirrorsSize 14960160 blocks Stripe Device Dbase State Hot Spare C0t4d0s3 OkayDetach the submirrors Metadetach metamirror submirrorRemove state database replicas boot disks only Replace the faulty disk driveRecreate the state database replicas # metainit d20 Reboot the system boot disks onlyYou may delay this step until a more convenient time # metattach d21 d20# metadb -d -f /dev/dsk/c0t0d0s1 Setting up replicas Replacing replicasState Database Replicas # metadb -d -c4 -f /dev/dsk/c0t0d0s1Enter # format Partitioning disks with the format commandFC-AL E Enter partition q How to tell whether your mirrored system is standard Root Metadevice Device NamesValid vfstab file for a non mirrored R3V8 CMS system Examples of valid system filesValid vfstab files Valid vstab file for an R3V8 CMS system with mirrored disksValid md.tab file for a 3 disk non mirrored R3V8 CMS system Valid md.tab filesValid md.tab file for a 4 disk mirrored R3V8 CMS system Unmount /cms umount /cms Excessively long resyncEnter mount /cms Remounts /cms Enter setenv auto-boot? false If you receive a This command may hang the systemSystem fails to recognize all disk drives Ok boot -r Console login root Password Ok setenv auto-boot? trueToshiba XMS5701TASUN12XCD099704/09/97 Fixing needs maintenance messages C0t0d0s0 OkayPrimary boot device is not available Boot problemsOk setenv boot-device bootdevice2 Excessive reboot time Touch /etc/notrouter# ls /olds/chkDisks Log filesFile Name Description # /olds/chkDisksMessage Explanation Response Error messagesError Messages Explanation Response # metareplace -e d13 c0t0d0s0Device devicename will not be used Device devicename cannot be setup or does Not existDisk diskname already setup, exiting Message ExplanationMessage Response Metadb hostname cxtyd0sz has a Metadevice database replica No disks found! Internal errorCommand not found Metadetach systemname d21 resync ProgressMessage Error Messages Response Disk is not recognized by cms DiskSuite Software must be installed To run this scriptFile filename could not be restored /cms filesystem needs to be mountedUnbalanced configurations not supported Enter reset-allTouch /cms/db/unixstart cannot create You must be root in order to run this command Configuration, configure manuallyUsage olds -mirrored -checkdisks Symbols IndexNeeds maintenance messages How Are We Doing?

585-210-940 specifications

Lucent Technologies, founded in 1996 as a spin-off from AT&T, emerged as a leader in telecommunications, contributing significantly to the advancement of network technologies. The model 585-210-940, an innovative product from Lucent, exemplifies their commitment to providing cutting-edge solutions for communication networks.

The 585-210-940 is primarily recognized as a digital cross-connect system (DCS) designed to manage and route digital voice and data traffic efficiently. This system plays a crucial role in facilitating seamless communication by allowing service providers to interconnect different digital circuits and manage bandwidth effectively. One of the main features of the 585-210-940 is its ability to support multiple protocols, which enhances interoperability among diverse communication platforms.

A standout characteristic of this system is its scalability. The 585-210-940 can adapt to growing network demands, making it suitable for both small enterprises and large service providers. This flexibility ensures that users can expand their systems without a complete overhaul, thereby reducing costs and downtime during upgrades. Additionally, the system provides fault tolerance, ensuring high availability and reliability, which are essential metrics for any critical telecommunications infrastructure.

Lucent Technologies also integrated advanced monitoring and management capabilities into the 585-210-940. This feature allows operators to track performance metrics and identify potential issues in real time. The system includes a user-friendly interface that simplifies network management tasks, making it accessible to operators with varying levels of technical expertise.

Moreover, the 585-210-940 is designed to support high capacity, handling numerous channels simultaneously without compromising performance. This capability is particularly beneficial in environments with heavy data traffic, such as urban centers or large corporate hubs.

In conclusion, Lucent Technologies' 585-210-940 serves as a robust solution for telecommunications, encapsulating many of the core innovations of the late 20th century. With its support for multiple protocols, scalability, fault tolerance, and advanced management capabilities, it stands out as an essential component for any modern communication network, reflecting Lucent's legacy in the industry.