Avaya 12 manual Verifying files using pkgchk

Page 47

Checking file differences between the old system and the new system

Checking file differences between the old system and the new system

When upgrading an older system, file properties may be updated with the new version of CMS, Solaris, and other software that is installed. In addition, files used on the old system could be renamed or are not required on the new system. The procedures in this section show you how to check for these differences.

! Important:

The CUE master disks are created with the correct file properties. It is important to look for discrepancies, but before you change any file properties, be advised that the upgraded system will operate properly as installed. Any changes to file properties must be reviewed by a knowledgeable person to correctly assess the final status of each file.

There are two procedures to check file properties:

Verifying files using pkgchk on page 47

Comparing directory and file permissions on page 48

Verifying files using pkgchk

The pkgchk command is a CMS tool that checks specific system files in the new system for directory/file permissions, modes, ownership, file size, and file checksum discrepancies. Although the system may display error messages when using this tool, it does not mean that the system will not function properly.

If you find any permission, mode, and ownership discrepancies between what was expected and what it actually is, and if you think the discrepancies may cause problems, use the chmod and chown commands to fix the discrepancies. You can ignore any modtime, file size, and file checksum discrepancies.

To check files using the pkgchk tool:

1.Enter: pkgchk -n cms

2.Determine if the files listed require attention.

Issue 1.0 December 2003 47

Image 47
Contents Avaya Call Management System CMS Comments Preface Installing CMS patches Copying customer data Related documents OverviewTechnician support for the United States Frequently asked questions FAQsSupport Customer support for the United StatesPreparing for the upgrade Trouble escalation Required documentationRemote support Hardware additions Switch compatibilitySoftware considerations Customization issuesDisk mirroring Parts listCMS CD-ROM Checking for printer requests and large mail filesChecking for ACD More /etc/hosts Ls -l /etc/hostsIssue 1.0 December 2003 Page Extracting the customer’s administration and options Cvueextract Error Tail -f /var/tmp/new/var/log/cvuelog Following message about supported tape drives is displayedTo add temporary ACD Enter cmsadm Extracting the customer’s administration and options Following message is displayed Extracting the customer’s administration and options Nnnnn blocks Following messages are displayed and you continue with Step Isql will not be installed in the upgraded system Odbc will be installed Pg /var/tmp/new/var/log/cvuelog Usr/sbin/shutdown -y -i0 -g0 Ls -l /dev/dsk/c0t0d0s0Prerequisites Removing and replacing disk drivesRemoving and labeling the old disk drives Disk upgrade proceduresDisk upgrade procedures Installing the new boot disk drive Booting up the system with the new boot disk drive Boot /sbus@3,0/SUNW,socal@d,10000/sf@0,0/ssd@0,0 -ar Boot /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@0,0 -arEnter pkginfo -x cms Press Enter to accept the default valueOnstat -d egrep On-Line Checking the status of the boot disk driveOpt/informix/bin/setenv Ls -l /dev/rmt/*mbn wc -l Verifying that the upgrade can continueChecking the status of the tape drives Page Procedure Procedure Etc/init.d/volmgt stop Etc/init.d/volmgt start Installing CMS patchesEject cdrom Page Cvuecopy Copying customer dataCD-ROM Verifying files using pkgchk Nohup ./verifyfileproperties /nohup.out Comparing directory and file permissionsCd /cdrom/cdrom0 VerifyfilepropertiesLn -s ./inet/hosts /etc/hosts Linking the /etc/hosts filePress Enter Message similar to the following is displayed Installing the remaining disk drivesVerifying that the system recognizes all disk drives Page Metastat grep State grep -v Okay pg Checking the status of the disksOnstat -d egrep PDX pg One of the following occurs MetadbTail -f /var/log/cvuelog Activating customer optionsCvueactivate Activating customer options Page Activating customer options Enter cd /cdrom/cdrom0 Enter cd /adminsave/init.dAdminsave/init.d.completed Script name Description How to recover Removing temporary ACD Verifying that CMS is operating Turning on CMSCat /var/log/cvuelog grep merged manually pg Checking manual merge discrepanciesChecking Free Space Allocation Aom start Updating the switch setupTurning on Visual Vectors server optional Cvuecleanup Setting the Informix configuration parametersRemoving the upgrade files Cvuecleanup process is complete...Wed Aug 23 135600 MDT Migrating customer data Migrating system administration dataPg /cms/migrate/r3mig.log Field Value to enter or option to selectMigrating agent and call center administration data Agent/Call Center Admin data Vi /etc/default/login Resetting the Console parameterOnstat -d egrep PDX pg Turning the upgraded system over to the customerReplacing the customer’s tapes