A. Installing Ingres on UNIX : Post-Installation Tasks : Transaction Log File as a Raw Device (UNIX Only—Not Linux) : Create and Configure the Raw Log File (UNIX)
 
Share this page                  
Create and Configure the Raw Log File (UNIX)
After Ingres is installed, you can create and configure the transaction log file as a raw device.
Note:  Check the Readme file for any variations to this procedure that are specific to your platform.
To create and configure a raw log file
1. Log in to your system as the root account.
(If you do not have access to this account, have the UNIX system administrator complete this procedure or log in for you.)
2. Create the raw devices in the locations you have chosen.
For more information about creating a raw device, see the UNIX documentation.
3. Use the ls command to verify that you have two special devices available for each raw location. Enter the following command:
ls -l /dev
This command should return output similar to this example:
crw-r----- 1 root 17, 3 Dec 16 12:52
/dev/rsd1d
brw-r----- 1 root 11, 3 Dec 16 12:52
/dev/sd1d
4. Go to the location of the system files for your instance.
For C shell:
% setenv II_SYSTEM dirname
% set path = ($II_SYSTEM/ingres/{bin,utility} $path)
% cd $II_SYSTEM/ingres
For Bourne shell:
$ II_SYSTEM=dirname
$ export II_SYSTEM
$ PATH=$II_SYSTEM/ingres/utility:$II_SYSTEM/ingres/
bin:$PATH
$ export PATH
$ cd $II_SYSTEM/ingres
5. Issue the following command:
% mkrawlog
The mkrawlog command:
Requests the full path name of the raw device files.
Sets Ingres as the owner of all devices.
Checks that the locations and sizes of the raw devices are valid.
Note:  All raw partitions of a multi-partition raw log file must be the same size.
Sets up file system links to the raw log files in the log subdirectory.
The raw log file is configured.