1. Start and close the Informix Database
1. Automatic Start of Informix
Start the Online command:Oninit
However, in general, the startup command is created in the/etc/rc2.d directory and named S96informix, so that Online starts when the operating system is started.
Edit the/etc/rc2.d/S96informix file as follows:
INFORMIXDIR=/usr/informixINFORMIXSERVER=picc_onlineONCONFIG=onconfig.piccexport INFORMIXDIR NFORMIXSERVER ONCONFIG INFORMIXDIR/bin/oninit |
Modify the file attributes as follows:$ Chmod + x/etc/rc2.d/S96informix
2. Disable Informix automatically
To disable the Online command:Onmode-ky
However, as follows, the close command is created in the/etc/rc0.d directory and named K01informix. In this way, when the operating system is disabled, Online is disabled.
Edit the/etc/rc0.d/K01informix file as follows:
INFORMIXDIR=/usr/informixINFORMIXSERVER=picc_onlineONCONFIG=onconfig.piccexport INFORMIXDIR INFORMIXSERVER ONCONFIG INFORMIXDIR/bin/onmode -ky |
Modify the file attributes as follows:$ Chmod + x/etc/rc0.d/K01informix
2. Common Informix Online work modes
Offline stop State)
Quiescent (system maintenance mode)
Online running status)