difference betwwen run level and mile stones


 
Thread Tools Search this Thread
Operating Systems Solaris difference betwwen run level and mile stones
# 1  
Old 10-03-2011
difference betwwen run level and mile stones

hi,
kindly tell me difference between RUN levels and mile stones in SOLARIS

thnx and regards
shekhar
# 2  
Old 10-03-2011
a RUN level determines what services are started and what file systems are mounted. its like the difference between windows safe mode, safe mode with netowrking or a normal boot.

A milestone is baically a check to determine what services are started up and when a set of specified services have been started the milestone is marked online.
This User Gave Thanks to Tommyk For This Post:
# 3  
Old 10-03-2011
Quote:
Originally Posted by Tommyk
a RUN level determines what services are started and what file systems are mounted. its like the difference between windows safe mode, safe mode with netowrking or a normal boot.

A milestone is baically a check to determine what services are started up and when a set of specified services have been started the milestone is marked online.

thanx i got it almost 80%...but could you just elaborate it ;;

for example if i use init s or boot single-user..then what is the difffernce between these two

thnx shekhar
# 4  
Old 10-03-2011
init s is your run level and defines what services are running (which for single user mode is not very many).

if you run the following command you can see what milstones are online.

Code:
#svcs "svc:/milestone/*"
STATE          STIME    FMRI
disabled       Aug_18   svc:/milestone/patching:default
online         Aug_18   svc:/milestone/name-services:default
online         Aug_18   svc:/milestone/devices:default
online         Aug_18   svc:/milestone/network:default
online         Aug_18   svc:/milestone/single-user:default
online         Aug_18   svc:/milestone/sysconfig:default
online         Aug_18   svc:/milestone/multi-user:default
online         Aug_18   svc:/milestone/multi-user-server:default

each milestone is marked as online when the pre-requisite services are running, so if you ran init s you should see single usermode online.

Multi user mode would be disbaled because the services required for this would be stopped.

a run level defines what services are stopped/started, a milestone marks whether the required services have been started i.e. has the milestone for that group been reached.
This User Gave Thanks to Tommyk For This Post:
# 5  
Old 10-03-2011
MySQL

Quote:
Originally Posted by Tommyk
init s is your run level and defines what services are running (which for single user mode is not very many).

if you run the following command you can see what milstones are online.

Code:
#svcs "svc:/milestone/*"
STATE          STIME    FMRI
disabled       Aug_18   svc:/milestone/patching:default
online         Aug_18   svc:/milestone/name-services:default
online         Aug_18   svc:/milestone/devices:default
online         Aug_18   svc:/milestone/network:default
online         Aug_18   svc:/milestone/single-user:default
online         Aug_18   svc:/milestone/sysconfig:default
online         Aug_18   svc:/milestone/multi-user:default
online         Aug_18   svc:/milestone/multi-user-server:default

each milestone is marked as online when the pre-requisite services are running, so if you ran init s you should see single usermode online.

Multi user mode would be disbaled because the services required for this would be stopped.

a run level defines what services are stopped/started, a milestone marks whether the required services have been started i.e. has the milestone for that group been reached.

thnx i got it now Smilie
# 6  
Old 10-03-2011
Run level S corresponds to milestone single-user. Run level 2 corresponds to multi-user and Run level 3 corresponds to multi-user-server.

When shutting down, use the run levels, eg init S or init 5

When booting up, use the milestone, eg boot -m milestone=single-user

boot -m milestone=none is even less than single-user.

On SPARC, you just enter the boot command at the OK prompt. On x86 you edit the grub menu, add the parameter at the end of the kernel line, and then boot it.
# 7  
Old 10-03-2011
To clarify, starting from Solaris 10, run levels are obsolete and have been replaced by SMF milestones which emulate them.
This User Gave Thanks to jlliagre For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Change run level at boot

for solaris 11, how does one change the run level at boot from 3 to 2? i checked "/etc/inittab" file where i usually change it in other *nix but it seems solaris is not using it. (1 Reply)
Discussion started by: badbanana
1 Replies

2. Shell Programming and Scripting

Perl - what run level

Is there a way to tell what runlevel is currently being used, for example is a user is using the gui or is the have pressed Alt+Ctrl+F1 to drop to the terminal?? (3 Replies)
Discussion started by: ab52
3 Replies

3. Solaris

Solaris 10 - Run Level Modification

Hello, I'm creating a VM Image of Solaris 10 on VM Player. I've completed the installation & I am using the Java Desktop as my default logon. I need to modify the Run Level to Console Mode (permanently). Unlike previous versions or Linux, modifying inittab file is not an option here. Please... (2 Replies)
Discussion started by: DevendraG
2 Replies

4. UNIX for Dummies Questions & Answers

When the run level is changed from 5 to 3?

A Bourne Shell script is placed in /etc/rc.d/rc3.d called S57apache. What will happen with this script when the run level is changed from 5 to 3? many thanks (4 Replies)
Discussion started by: lemon_06
4 Replies

5. Solaris

Difference between run level & init level

what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies

6. Solaris

How to get the initdefault run level in Solaris 10

Hi All, In Solaris 9 and below I will get the init run-level by checking the /etc/inittab entry is:3:initdefault: But in Solaris 10 we are using the smf functionality. Here how I can get the init default run level. Please help me in this problem. Regards, ... (2 Replies)
Discussion started by: kalpeer
2 Replies

7. Solaris

Run Level 1, S and small s

Hi Experts, A stupid question for experts :confused: !! What is the difference between run level ‘1', runlevel ‘S' and small ‘s'. As per my understanding the difference between S and 1 is that in case of ‘S' it only going to mount the critical file system which ideal should be... (2 Replies)
Discussion started by: kumarmani
2 Replies

8. SuSE

Run Level Services file

Hello, I recently updated a test system from Suse 8 to 9.3. Now our runlevel services program doesn't work, but works fine on our other 9.3 boxes. We have a file in /etc/init.d/rc3.d called S99fooprog(not actual name ofcourse). It just has a command to start a program daemon up. Anyways... (3 Replies)
Discussion started by: benefactr
3 Replies

9. Solaris

Confusion In run level...

Dear Friends..!! i am quit confused about the SOLARIES RUN level that is 0 . 1 or s S ... please let me know the diffirence between these run level ... 0,1 and s S... have a great day Uday naikwadi (1 Reply)
Discussion started by: udayn
1 Replies

10. Filesystems, Disks and Memory

Find run-level in solaris 8.

When the solaris 8 have come up, which command can find out the current run-level? thanks. (2 Replies)
Discussion started by: nianzhe
2 Replies
Login or Register to Ask a Question