Popular Posts

Dec 13, 2016

Solaris Init level and reboot commands

Solaris Init level and reboot commands

1.   This command directly take the server to single user mode, not a clean reboot ( not advisable)
         init s

2.   Proper way of booting in single user mode is
      Bring the server to OK prompt and boot in single user mode
         init 0
         boot -s
         boot mirrordisk -s

OR
3.   Restart the server and boot in single user mode
         reboot -- -s
         reboot -- cdrom2 -s

4.   Shutdown a server
         init 5

5.   Shutdown / restart the server with grace period
      Command is used to reboot a SPARC server in three minutes without prompting confirmation
         shutdown -i init-state -g grace-period -y

         shutdiwn -i6 -g180 -y

6.   Perform a reconfiguration reboot and boot the server in single user mode
         reboot -- -rs

7.   Perform a reconfiguration reboot from OS or Reconfiguration boot from OBP
         reboot -- -r
         boot -r

8.   Change Solaris default run level to single user mode (SUM)
         svcadm milestone -d svc:/milestone/single-user:default

9.   Change Solaris default run level to Multi User mode,
         svcadm milestone -d all

10.   Restart the server and boot in single user mode from cdrom
         reboot -- cdrom2 -s

11.   Restart the server and boot in single user mode from secondary disk
         reboot -- disk1 -s



Solaris init level and reboot commands, 
solaris init level,
solaris reboot commands,
Solaris default run level,
Change Solaris run level,

Change default run level in Solaris,

~Judi~

No comments:

Post a Comment

Popular Posts