Mimic Version 1.4.2 : README Contents ******** Overview Terminology How it works Setting up Mimic Options Known bugs Changes Copyleft Overview ******** Mimic is an installation tool for automated installation of pre-packaged programs and patches on IRIX-systems. Mimic uses the installation tools provided with the OS in order to keep the installation database consistent. Using Mimic in conjuction with a distributed filesystem a large number of computers can use a single software repository to automatically install new software. The only thing the system administrator has to do is upload the software distributions to the repository and register the software components to be installed in a global selection file. Mimic was written for use with AFS (Andrew File System), but also works well with NFS. Terminology *********** The terminology used in this document tries to follow the terminology used in the SGI documentation. A software package supplied in the format used by the SGI installation tools is referred to as a product. A product is made up of one or more subsystems, a subsystem is the smallest piece of software that can be installed. A software group is one or more subsystems grouped together in the Mimic selection files. A label is a name for a group, an active label means that the label has been defined and the group is eligible for installation. How it works ************ A global selection file specifies the software subsystems to be installed on the machines using it. Subsystems can be grouped together in the global selection file using labels and the machines that uses that file can selectively install such groups by defining the labels that apply. The global selection file also specifies in which directories the actual software product files reside. Mimic is intended to be run as a cron job with a suitable interval. Each time Mimic is run it reads a local configuration file (default is /etc/mimic.local.conf). The local configuration file contains the path to the global selection file as well as the active software group labels. The global selection file pointed to by the local configuration file is scanned and the software subsystems in the active groups are tentatively selected for installation. The versions(1M) program is then called to determine which subsystems are already installed, those subsystems are then removed from the tentative selection. An inst(1M)-readable selection file containing installation directives for the remaining subsystems is then created. Finally inst(1M) is run with the created selection file as input. Each run produces a log file (default /tmp/mimic.log) with the output from the inst-program. Setting up Mimic **************** Setting up Mimic entails creating the software repository, a global selection file and a local configuration file. The global selection file ------------------------- The default name of the global selection file is mimic.global.conf and its path is specified either directly to Mimic or in the local configuration file. The global selection file can contain the following directives: %ifdef