[Oracle RAC 12.1 Installation on Oracle Linux 6.7 (ISCSI + ASM)]: Selecting packages for autostart


Selecting packages for autostart:

Server: node1, node2, storage

// View which programs currently autostart when the operating system starts.

# chkconfig --list | grep '3:on\|4:on\|5:on'  |awk '{print $1}' | sort

// Create a backup of the chkconfig –list output

# 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 ntpd on
}
Server: All
# {
chkconfig  --level 345 auditd on
chkconfig  --level 345 netfs on
chkconfig  --level 345 nfs on
chkconfig  --level 345 nfslock on
chkconfig  --level 345 rpcgssd on
chkconfig  --level 345 rpcidmapd on
chkconfig  --level 345 sysstat on
chkconfig  --level 345 xinetd 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