[Oracle RAC 11.2 Installation on Oracle Linux 5.8 x86_64]: Selecting packages for autostart
Selecting packages for autostart:
| Server: | node1, node2, storage |
// View which programs currently autostart at system boot.
# chkconfig --list | grep '3:on\|4:on\|5:on' |awk '{print $1}' | sort
// Create a backup of the output from chkconfig –list
# chkconfig --list > /tmp/chkconfig.backup
// The following command disables autostart for all packages at once.
# for i in $(chkconfig --list | grep '3:on\|4:on\|5:on' | awk {'print $1'}); do chkconfig --level 345 $i off; done
After that, enable the packages we need:
| Server: | All |
# {
chkconfig --level 345 network on
chkconfig --level 345 sshd on
chkconfig --level 345 crond on
chkconfig --level 345 ntpd on
}
| Server: | All |
# {
chkconfig --level 345 acpid on
chkconfig --level 345 atd on
chkconfig --level 345 auditd on
chkconfig --level 345 autofs on
chkconfig --level 345 haldaemon on
chkconfig --level 345 irqbalance on
chkconfig --level 345 messagebus on
chkconfig --level 345 netfs on
chkconfig --level 345 nfs on
chkconfig --level 345 nfslock on
chkconfig --level 345 portmap on
chkconfig --level 345 rpcgssd on
chkconfig --level 345 rpcidmapd on
chkconfig --level 345 sendmail on
chkconfig --level 345 syslog on
chkconfig --level 345 sysstat on
chkconfig --level 345 xinetd on
chkconfig --level 345 readahead_early on
chkconfig --level 345 readahead_later on
chkconfig --level 345 snmpd on
}
Will be added later:
| Server: | node1, node2 |
# chkconfig --level 345 iscsi on
# chkconfig --level 345 iscsid on
# chkconfig --level 345 oracleasm on
Will be added later:
| Server: | storage |
# chkconfig --level 345 tgtd on