/etc/rc.d/rc3.d
The file also starts up the virtual terminals on the ESX server mingettytty2 through mingetty tty5. The mingetty process is minimum getty. /etc/rc.d/rc.localA text file used most commonly when we need to share the serviceconsole NIC with the VM kernel. This may be required in say a bladeserver which has only 2 NICs, and we need to dedicate 1 NIC toVmotion.
insmod vmxnet_console devName=vmnic0 ifup eth0
/etc/rc.d/rc2.d Contains start-up scripts for run level 2 /etc/rc.d/rc3.dContains start-up scripts (logical links) for run level 3. Run level 3 isused most of the time as it is command line full multi-user mode. Theones we are interested in are shown below:
S00vmkstartS12syslogS55sshdS56xinetdS90vmwareS91httpd.vmware
chkconfig --listThis service console tool displays a table showing which daemons areenabled for the run levels for the vmnix operating system.
ntpd 0:off 1:off 2:on 3:on 4:on 5:off 6:offsyslog 0:off 1:off 2:on 3:on 4:on 5:off 6:offsnmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
If we wanted to change a service so that it is enabled for a particularrun level, then we can use chkconfig –level.
chkconfig --level 1 ntpd on
The above command would turn on ntpd for run level 1, this would notaffect the run levels that ntpd was already set for. So in this example,the ntpd run levels would be
ntpd 0:off 1:on 2:on 3:on 4:on 5:off 6:off
service --status-allThis lists all the service daemons and their status. We can find runningservices by looking for the running status
service –-status-all |grep running
would produce an output similar to the following:
crond (pid 1423) is runninghttpd (pid 1486 1482 1479) is runningsyslogd (pid 1136) is running
Add a Comment