what is the difference between init runlevel and milestone?

Answers were Sorted based on User's Feedback



what is the difference between init runlevel and milestone?..

Answer / phani

A milestone is a new mechanism made to be compatible with
run-levels. Milestones define a specific state of system
readiness, each with a specific set of services enabled.
Before smf(5), system boot progresses from run level S to
3, executing scripts in /etc/rc?.d along the way. With smf
(5), system boot does not progress from milestone to
milestone, the dependency determines the order of service
start.

Except for none, and all, milestones show up as services in
SMF. However, the system can only be in one of the
following milestones at any time:

none, single-user, multi-user, multi-user-server, all

Regardless of the state of milestone/* as shown by "svcs -
a". For the system's current milestone, check the
options_ovr/milestone property of
svc:/system/svc/restarter:default

# svcprop -p options_ovr/milestone restarter:default
If this command returns the following error:

svcprop: Couldn't find property 'options_ovr/milestone'
for instance 'svc:/system/svc/restarter:default'.
then the system is in its default milestone.

To view the system's default milestone, see question 2.13.

Other milestones exist to declare that some set of services
are ready. They are available for use as dependencies. For
example, if milestone/devices is online, it indicates that
device/fc-fabric and device/local have finished. Use "svcs -
d <milestone>" to list the dependencies for the milestone.

The Answer is avaliable in
http://hub.opensolaris.org/bin/view/Community+Group+smf/faq

Is This Answer Correct ?    12 Yes 1 No

what is the difference between init runlevel and milestone?..

Answer / vijayakanth.g

Upto solaris 9 runlevel are used they are

Runlevel 0 1 2 3 4 5 6

In solaris 10 milestone is introduced. Milestone is
improved level of runlevel

In run level we use init 1 to bring system into single
user, in milestone # svcadm milestone single-user command
used to bring the system to single user Simillarly

init 2 as multi-user(more than one user),init 3 as multi-
user-sever provide multiuser mode along with nfs

runlevel 4 is currently unused

runlevel 5 ie init 5 shutdown and power off

runlevel 6 ie init 6 shut down and restart

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

Have you done the patching, the patching is done by you only or some one will assign to you?

0 Answers   HP,


How do you check the no of user logged into the system

3 Answers  


tell me the steps to configure the vg

2 Answers   Wipro,


What are the steps to be follow to add a disk in veritas & before add the disk what are the steps to be follow

2 Answers  


I want to create a 30Gb of size in three different disks 10Gb,5Gb and 15Gb respectively in VxVm , how can we create it kindly explain step by step procedure.

4 Answers   ITC Infotech,






What are the types of cluster configuration?

2 Answers   IBM, Wipro,


Were will be the configuration for metadevice

1 Answers  


How to configure root mirroring in veritas volume manager

5 Answers   L&T,


How to check the communication between 2 nodes?

5 Answers  


please post few interview questions ? or any url related to solaris

0 Answers  


Explain setuid, setgid and stickybit

2 Answers  


What is the difference between dsk and rdsk

3 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)