Rocket UniVerse Administering The . - Rocket Software

Transcription

Rocket UniVerseAdministering the Recoverable File SystemVersion 12.1.1June 2019UNV-1211-RFSU-1

NoticesEditionPublication date: June 2019Book number: UNV-1211-RFSU-1Product version: Version 12.1.1Copyright Rocket Software, Inc. or its affiliates 1985–2019. All Rights Reserved.TrademarksRocket is a registered trademark of Rocket Software, Inc. For a list of Rocket registered trademarks goto: www.rocketsoftware.com/about/legal. All other products or services mentioned in this documentmay be covered by the trademarks, service marks, or product names of their respective owners.ExamplesThis information might contain examples of data and reports. The examples include the names ofindividuals, companies, brands, and products. All of these names are fictitious and any similarity tothe names and addresses used by an actual business enterprise is entirely coincidental.License agreementThis software and the associated documentation are proprietary and confidential to Rocket Software,Inc. or its affiliates, are furnished under license, and may be used and copied only in accordance withthe terms of such license.Note: This product may contain encryption technology. Many countries prohibit or restrict theuse, import, or export of encryption technologies, and current use, import, and export regulationsshould be followed when exporting this product.2

Corporate informationRocket Software, Inc. develops enterprise infrastructure products in four key areas: storage, networks,and compliance; database servers and tools; business information and analytics; and applicationdevelopment, integration, and modernization.Website: www.rocketsoftware.comRocket Global Headquarters77 4th Avenue, Suite 100Waltham, MA 02451-1468USATo contact Rocket Software by telephone for any reason, including obtaining pre-sales informationand technical support, use one of the following telephone numbers.CountryToll-free telephone numberUnited 295Japan0800-170-5464Netherlands0-800-022-2961New Zealand0800-003210South Africa0-800-980-818United Kingdom0800-520-0439Contacting Technical SupportThe Rocket Community is the primary method of obtaining support. If you have current support andmaintenance agreements with Rocket Software, you can access the Rocket Community and reporta problem, download an update, or read answers to FAQs. To log in to the Rocket Community or torequest a Rocket Community account, go to www.rocketsoftware.com/support.In addition to using the Rocket Community to obtain support, you can use one of the telephonenumbers that are listed above or send an email to support@rocketsoftware.com.3

ContentsNotices. 2Corporate information. 3Chapter 1: Introduction to the Recoverable File System.7Recommended knowledge base. 7RFS system requirements. 7RFS two-process architecture (UNIX only).8Enabling and setting up RFS. 8Excluding individual files and accounts from RFS. 9Chapter 2: Logging.11Setting up and configuring logging.11Components of logging. 12Log files. 12Types of log files.12Log file size.13File-level log size.14Log file location. 14Log file overflow. 14The log configuration file.15Checkpoints.17Chapter 3: Archiving. 19Activating and configuring archiving. 19Files required for archiving. 20The archconfig file. 21The mediaconfig file.22Managing archive backup. 23Synchronizing backups with archive files.23Backing up archives automatically. 24Messages.25Slow backups. 25Failed backup.27Starting and stopping the database. 27Executing the SUSPEND.FILES ON or uv -admin -L command. 27Backing up archives manually.28Chapter 4: Recovering from a system failure. 30Chapter 5: Recovering from a media failure.33Data lost, logs and archives unaffected.33Data and archive files unaffected, logs lost. 36Data and log files unaffected, archives lost. 37Data and logs lost, archives unaffected.37Data and archives lost, logs unaffected.41Logs and archives lost, data unaffected.44Disk containing uvhome directory lost, archives unaffected. 45Chapter 6: Monitoring and tuning RFS. 49The uvsysmon utility. 49uvsysmon fields and values.50BIG statistics section. 50Latching statistics section.51tm status section. 51SHM info section.514

ContentsLog file statistics section.52Lower portion of log file statistics section.52Record info section.53Trans info section. 53Performance tips. 53Tuning the N PUT and N BIG configuration parameters.54Adjusting the log files.55Adjusting the archive files.55UniVerse Active File Table (AFT). 55AFT sections. 56AFT hash buckets.56UniVerse session hash buckets.57UniVerse session open file limit. 57Sizing shared memory segments. 57Calculating the system buffer's shared memory segment size. 57Calculating the system control shared memory segment size.58Calculating the global lock manager shared memory segment size. 58Tuning system parameters for the uvdb user. 58Chapter 7: Troubleshooting RFS. 59Failure of UniVerse to start. 59Logs are too small. 59UniVerse daemon killed. 60Archive files are full. 61Parameter limits exceeded. 61MAX OPEN FILE.61N AFT.61Appendix A: RFS commands and daemons. 62RFS commands. 62uvcntl install.62uvrfs.control.file. 63system.status file. 63restart.newblk file.64restart.fileend file. 64uvforcecp. 64uv -admin -mediarec. 64uv -admin -start. 66uvunload.67RFS daemons. 69uvsm.69uvsh/user. 70uvbimglog.70uvaimglog. 70uvarchive. 71uvar backupd. 71uvsyncd.71Appendix B: RFS configuration parameters.72Modifying uvconfig parameters. 72UniVerse RFS parameters.72AIMG BUFSZ.73AIMG FLUSH BLKS. 74AIMG MIN BLKS.74ARCH FLAG.74ARCH WRITE SZ. 74ARCHIVE BACKUP.74BIMG BUFSZ.755

ContentsBIMG FLUSH BLKS.75BIMG MIN BLKS. 75CHKPNT TIME. 75GLM MEM SEGSZ. 75GRPCMT TIME.76LOG OVRFLO.76N AFT.76N AFT SECTION.76N AFT SECTION BUCKET.

Rocket Global Headquarters 77 4th Avenue, Suite 100 Waltham, MA 02451-1468 USA To contact Rocket Software by telephone for any reason, including obtaining pre-sales information and technical support, use one of the following telephone numbers. Country Toll-free telephone number United State