Monday, 7 November 2011

solaris 5k console commands with outputs ?

XSCF> showhardconf -u
SPARC Enterprise M5000; Memory_Size:256 GB;
    +-----------------------------------+------------+
    |              FRU                  |  Quantity  |
    +-----------------------------------+------------+
    | MBU_B                             |       1    |
    |     Type:2;                       |   (   1)   |
    |     CPUM                          |       4    |
    |         Freq:2.660 GHz;           |   (   8)   |
    |     MEMB                          |       4    |
    |         MEM                       |      32    |
    |             Type:8B; Size:8 GB;   |   (  32)   |
    |     DDC_A                         |       4    |
    |     DDC_B                         |       2    |
    | IOU                               |       2    |
    |     Type:1;                       |   (   2)   |
    |     DDC_A                         |       2    |
    |     DDCR                          |       2    |
    |         DDC_B                     |       2    |
    | XSCFU                             |       1    |
    | OPNL                              |       1    |
    | PSU                               |       4    |
    | FANBP_C                           |       1    |
    |     FAN_A                         |       4    |
    +-----------------------------------+------------+
XSCF> showuser -l
User Name:         eis-installer
UID:               100
Status:            Enabled
Minimum:           0
Maximum:           99999
Warning:           7
Inactive:          -1
Last Change:       Oct 08, 2011
Password Expires:  Never
Password Inactive: Never
Account Expires:   Never
Privileges:        useradm
                   platadm
                   mode
                   fieldeng
                   auditadm
XSCF> showboards -a -v
XSB  R DID(LSB) Assignment  Pwr  Conn Conf Test    Fault    COD
---- - -------- ----------- ---- ---- ---- ------- -------- ----
00-0   00(00)   Assigned    y    y    y    Passed  Normal   n
01-0   01(00)   Assigned    y    y    y    Passed  Normal   n
XSCF> showdomainstatus -a
DID         Domain Status
00          Running
01          Running
XSCF> shownetwork -a
xscf#0-lan#0
          Link encap:Ethernet  HWaddr 00:21:28:B0:5A:AC
          inet addr:172.17.8.225  Bcast:172.17.11.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8108437 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72383 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:787110921 (750.6 MiB)  TX bytes:24143246 (23.0 MiB)
          Base address:0xe000
XSCF> version  -c xcp
XSCF#0 (Active )
XCP0 (Reserve): 1102
XCP1 (Current): 1102
XSCF> showdomainstatus -a
DID         Domain Status
00          Initialization Phase
01          Running
XSCF> showdcl -a
DID   LSB   XSB   Status
00                Booting/OpenBoot PROM prompt
      00    00-0
---------------------------
01                Running
      00    01-0
XSCF> showlogs power
Date                          Event            Cause          DID  Switch
Oct 08 11:58:32 UTC 2011      SCF Reset        Power On       --   Locked
Oct 08 13:07:55 UTC 2011      SCF Reset        Self Reset     --   Locked
Oct 08 13:14:22 UTC 2011      System Power On  Operator       --   Locked
Oct 08 13:15:17 UTC 2011      Domain Power On  Operator       00   Locked


Tuesday, 18 October 2011

How to break a password in Solaris?


#init 6

we will get grub option

select fail safe mode

do u wish to mount on / :no
@pwd
/tmp/root
#mkdir abc
#mount /dev/dsk/c0d0s0 /tmp/root/abc
#pwd
/tmp/root
#vi  abc/etc/shadow
root :remove 13 char of Ep passwd:
:wq!
init 6

Wednesday, 12 October 2011

How to create a domain in highend servers in Solaris?

1)First login to console

2)#showplatforms -p domains : It will displays all domains.

3)In each have at least one system board and one I/O board.
   Following is the command to setup a platform
   #setupplatform -p available -d <domainname>  <systemboard> <i/o board>

4)addtag -d <domain name>  <user assigned name>

5)setkeyswitch -d  <domain name> ON  :it is for covering domain 

Tuesday, 11 October 2011

In solaris,how many domains we can create?

In E25k,we have create up to max of 18 domains.

In E15k,we have to create up to max of 18 domains.

Only difference is processor difference  between 15k and 25k.

M9000 it is high end enterprise server,max we have to create 23 domains.

M5000,support 2 domains

M4000,supports 1 domain

Sunday, 9 October 2011

Veritas Volume manager commands


bash-2.05# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
Disk_0       auto:none       -            -            online invalid
Disk_1       auto:none       -            -            online invalid
Disk_2       auto:none       -            -            online invalid
Disk_3       auto:none       -            -            online invalid
Disk_4       auto:none       -            -            online invalid

bash-2.05# vxdisksetup -i Disk_2 format=sliced
bash-2.05# vxdisksetup -i Disk_3 format=sliced
bash-2.05# vxdisksetup -i Disk_4 format=sliced

bash-2.05# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
Disk_0       auto:none       -            -            online invalid
Disk_1       auto:none       -            -            online invalid
Disk_2       auto:sliced     -            -            online
Disk_3       auto:sliced     -            -            online
Disk_4       auto:sliced     -            -            online


bash-2.05# vxdg init mydg mydg02=Disk_2
VxVM vxdg ERROR V-5-1-6478 Device Disk_2 cannot be added to a CDS disk group

bash-2.05# vxdg init mydg mydg02=Disk_2 cds=off

bash-2.05# vxdg -g mydg adddisk mydg03=Disk_3 mydg04=Disk_4

bash-2.05# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
Disk_0       auto:none       -            -            online invalid
Disk_1       auto:none       -            -            online invalid
Disk_2       auto:sliced     mydg02       mydg         online
Disk_3       auto:sliced     mydg03       mydg         online
Disk_4       auto:sliced     mydg04       mydg         online

bash-2.05# vxmake -g mydg sd mydg02-01 mydg02,0,2097152
bash-2.05# vxmake -g mydg sd mydg03-01 mydg03,0,2097152

bash-2.05# vxprint -st
Disk group: mydg

SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE
SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE

sd mydg02-01    -            mydg02   0        2097152  -         Disk_2   ENA
sd mydg03-01    -            mydg03   0        2097152  -         Disk_3   ENA

bash-2.05# vxmake -g mydg plex vol01-01 layout=stripe stwidth=64 ncol=2 sd=mydg02-01,mydg03-01

bash-2.05# vxprint -st
Disk group: mydg

SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE
SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE

sd mydg02-01    vol01-01     mydg02   0        2097152  0/0       Disk_2   ENA
sd mydg03-01    vol01-01     mydg03   0        2097152  1/0       Disk_3   ENA

bash-2.05# vxprint -pt
Disk group: mydg

PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODE

pl vol01-01     -            DISABLED -        4194304  STRIPE    2/64     RW

bash-2.05# vxmake -g mydg -U fsgen vol vol01 plex=vol01-01

bash-2.05# vxprint -pt
Disk group: mydg

PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODE

pl vol01-01     vol01        DISABLED EMPTY    4194304  STRIPE    2/64     RW

bash-2.05# vxprint -vt
Disk group: mydg

V  NAME         RVG/VSET/CO  KSTATE   STATE    LENGTH   READPOL   PREFPLEX UTYPE

v  vol01        -            DISABLED EMPTY    4194304  ROUND     -        fsgen

bash-2.05# vxprint -st
Disk group: mydg

SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE
SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE

sd mydg02-01    vol01-01     mydg02   0        2097152  0/0       Disk_2   ENA
sd mydg03-01    vol01-01     mydg03   0        2097152  1/0       Disk_3   ENA

bash-2.05# vxvol -g mydg start vol01

bash-2.05# vxprint -vt
Disk group: mydg

V  NAME         RVG/VSET/CO  KSTATE   STATE    LENGTH   READPOL   PREFPLEX UTYPE

v  vol01        -            ENABLED  ACTIVE   4194304  ROUND     -        fsgen

bash-2.05# vxprint -pt
Disk group: mydg

PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODE

pl vol01-01     vol01        ENABLED  ACTIVE   4194304  STRIPE    2/64     RW

Saturday, 24 September 2011

EMC Symmetrix DMX-4 and Symmetrix V-Max: Basic Differences

In this post we will cover some important aspects / properties / characteristics / differences between the EMC Symmetrix DMX-4 and EMC Symmetrix V-Max.

From a high level, I have tried to cover the differences in terms of performance and architecture related to the directors, engines, cache, drives, etc


Called EMC Symmetrix DMX-4
Called EMC Symmetrix V-Max
DMX: Direct Matrix Architecture
V-Max: Virtual Matrix Architecture
Max Capacity: 1 PB Raw Storage
Max Capacity: 2 PB of Usable Storage
Max Drives: 1900. On RPQ: 2400 max
Max Drives: 2400
EFD’s Supported
EFD’s Supported
Symmetrix Management Console 6.0
Symmetrix Management Console 7.0
Solutions Enabler 6.0
Solutions Enabler 7.0
EFD: 73GB, 146GB, 200GB, 400GB
EFD: 200GB, 400GB
FC Drives: 73GB, 146GB, 300GB, 400GB, 450GB
FC Drives: 73GB, 146GB, 300GB, 400GB
SATA II: 500GB, 1000 GB
SATA II: 1000 GB
FC Drive Speed: 10K or 15K
FC Drive Speed: 15K
SATA II Drive Speed: 7.2K
SATA II Drive Speed: 7.2K
Predecessor of DMX-4 is DMX-3
Predecessor of V-Max is DMX-4
DMX-4 management has got a bit easy compared to the previous generation Symmetrix
Ease of Use with Management – atleast with SMC 7.0 or so called ECC lite
4 Ports per Director
8 Ports per Director
No Engine based concept
Engine based concept
24 slots
The concept of slots is gone
1 System bay, 9 Storage bays
1 System bay, 10 Storage bays
No engines
8 Engines in one System (serial number)
64 Fiber Channel total ports on all directors for host connectivity
128 Fiber Channel total ports on directors/engines for host connectivity
32 FICON ports for host connectivity
64 FICON ports for host connectivity
32 GbE iSCSI ports
64 GbE iSCSCI ports
Total Cache: 512GB with 256 GB usable (mirrored)
Total Cache: 1024 GB with 512 GB usable (mirrored)
Drive interface speed either 2GB or 4GB, drives auto negotiate speed
Drive interface speed 4GB
Green color drive LED means 2GB loop speed, Blue color drive LED means 4GB loop speed
Only 4GB drive speed supported.
512 byte style drive (format)
520-byte style drive (8 bytes used for storing data check info). Remember the clarion drive styles, well the data stored in both the cases is different. The 8 bytes used with the Symmetrix V-Max are the data integrity field based on the algorithm D10-TIF standard proposal
FAST: Fully Automated Storage Tiering may not be supported on DMX-4’s (most likely since the support might come based on a microcode level rather than a hardware level)
FAST: Fully Automated Storage Tiering will be supported later this year on the V-Max systems
Microcode: 5772 / 5773 runs DMX-4’s
Microcode: 5874 runs V-Max
Released in July 2007
Released in April 2009
Concepts of Directors and Cache on separate physical slots / cards
Concept of condensed Director and Cache on board
DMX-4 Timefinder performance has been better compared to previous generation
300% better TImefinder Performance compared to DMX-4
No IP Management interface into the Service Processor
IP Management interface to the Service Processor, can be managed through the customer’s Network – IP infrastructure
Symmetrix Management Console is not charged for until (free) DMX-4
Symmetrix Management Console to be licensed at a cost starting the V-Max systems
Architecture of DMX-4 has been similar to the architecture of its predecessor DMX-3
Architecture of V-Max is completely redesigned with this generation and is completely different from the predecessor DMX-4
Microcode 5772 and 5773 has be build on previous generation of microcode 5771 and 5772 respectively
Microcode 5874 has been build on base 5773 from previous generation DMX-4
No RVA: Raid Virtual Architecture
Implementation of RVA: Raid Virtual Architecture
Largest supported volume is 64GB per LUN
Large Volume Support: 240GB per LUN (Open Systems) and 223GB per LUN (Mainframe Systems)
128 hypers per Drive (luns per drive)
512 hypers per Drive (luns per drive)
Configuration change not as robust as V-Max Systems
V-Max systems introduced the concept of concurrent configuration change allowing customers to perform change management on the V-Max systems combined to work through single set of scripts rather than a step based process.
DMX-4 does present some challenges with mirror positions
Reduced mirror positions giving customers good flexibility for migration and other opportunities
No Virtual Provisioning with RAID 5 and RAID 6 devices
Virtual Provisioning allowed now with RAID 5 and RAID 6 devices
No Autoprovisioning groups
Concept of Autoprovisioning groups introduced with V-Max Systems
Minimum size DMX-4: A single storage cabinet system, supporting 240 drives can be purchased with a system cabinet
Minimum size V-Max SE (single engine) system can be purchased with 1 engine and 360 drive max.
No concepts of Engine, architecture based on slots
Each Engine consists of 4 Quad Core Intel Chips with either 32GB, 64GB or 128GB cache on each engine with 16 front-end ports with each engine. Backend ports per engine is 4 ports connecting System bay to storage bay
Power PC chips used on directors
Intel Quad Core chips used on Engines
Powerpath VE support for Vsphere – Virtual machines for DMX-4
Powerpath VE supported for Vsphere – Virtual machines for V-Max
Concept of Backplane exists with this generation of storage
V-Max fits in the category of Modular Storage and eliminates the bottle neck of a backplane
DMX-4 was truly sold as a generation upgrade to DMX-3
V-Max systems have been sold with a big marketing buzz around hundreds of engines, millions of IOPs, TB’s of cache, Virtual Storage
Systems cannot be federated
The concept of Federation has been introduced with V-Max systems, but systems are not federated in production or customer environments yet
Directors are connected to the system through a legacy backplane  (DMX – Direct Matrix Architecture).
Engines are connected through copper RAPID IO interconnect at 2.5GB speed
No support for FCOE or 10GB Ethernet
No support for FCOE or 10GB Ethernet
No support for 8GB loop interface speeds
No support for 8GB loop interface speeds
Strong Marketing with DMX-4 and good success
Virtual Marketing for Virtual Matrix (V-Max) since the product was introduced with FAST as a sales strategy with FAST not available for at least until the later part of the year.
No support for InfiniBand expected with DMX-4
Would InfiniBand be supported in the future to connect engines at a short or long distance (several meters)
No Federation
With Federation expected in the upcoming versions of V-Max, how would the cache latency play a role if you had federation between systems that are 10 to 10 meters away?
Global Cache on Global Memory Directors
Global Cache on local engines chips: again as cache is shared between multiple engines, cache latency is expected as multiple engines request this IO
DMX-4 is a monster storage system
The V-Max building blocks (engines) can create a much larger storage monster
256GB total vault on DMX-4 systems
200GB of vault space per Engine, with 8 engines, we are looking at 1.6TB of vault storage
Performance on DMX-4 has been great compared to its previous generation DMX, DMX2, DMX-3
IOPS per PORT of V-Max Systems 128 MB/s Hits
385 Read
385 Write
IOPS for 2 PORT of V-Max Systems
128MB/s Hits
635 Read
640 Write
V-Max performs better compared to DMX-4 FICON
2.2 x Performance on FICON compared to DMX-4 Systems. 2 Ports can have as many as 17000 IOPS on FICON
Large Metadata overhead with the amount of volumes, devices, cache slots, etc, etc
A reduction of 50 to 75% overhead with the V-Max related to metadata
SRDF Technology Supported
New SRDF/EDP (extended distant protection) Diskless R21 passthrough device, no disk required for this passthrough
Symmetrix Management Console 6.0 supported, no templates and wizards
Templates and Wizards within the new SMC 7.0 console
Total SRDF Groups supported 128
Total SRDF Groups supported 250
16 Groups on Single Port for SRDF
64 Groups on Single Port for SRDF
V-Max comparison on Connectivity
2X Connectivity compared to the DMX-4
V-Max comparison on Usability (Storage)
3X usability compared to the DMX-4
DMX-4 was the first version of Symmetrix where RAID6 support was rolled out
RAID 6 is 3.6 times better than the DMX-4
RAID6 support on DMX-4 is and was a little premature
RAID 6 on V-Max (performance) is equivalent to RAID 1 on DMX-4
SATA II performance on DMX-4 is better than V-Max
SATA II drives do not support the 520-byte style. EMC takes those 8 bytes (520 – 512) of calculation for data integrity T10-DIF standard proposal and writes it in blocks or chunks of 64K through out the entire drive causing performance degradation.
SATA II performance on DMX-4 is better than V-Max
The performance of SATA II drives on V-Max is bad the DMX-4 systems
Fiber Channel performance better compared to DMX and DMX-2’s.
Fiber Channel performance compared to DMX-4 improved by about 36%
DMX-4 start supporting 4GB interface host connectivity
Fiber Channel performance 5000 IOPS per channel
RVA not available on DMX-4 platforms
RVA: Raid Virtual Architecture allows to have one mirror position for RAID volumes allowing customers to used the rest of the 3 positions for either BCV’s, SRDF, Migration, etc, etc.
No MIBE and SIB with DMX-4. Rather the DMX-4 directors are connected through a common backplane.
MIBE: Matrix Interface Board Enclosure connects the Odd and the Evens or (Fabric A and Fabric B) Directors together. The SIB (System Interface Board) connects these engines together using Rapid IO
Director count goes from Director 1 on the left to Director 18 (Hex) on the right
Director count goes from 1 on the bottom to 16 (F) on the top, based on each engine having 2 directors. 8 Engines, 16 Directors.
2 Directors failures if not in the same fabric or bus, rather are not DI’s (Dual Initiators) of each other will not cause a system outage or data loss / data unavailable
Single engine failure (2 Directors) will not cause Data Loss / Data Unavailable and the system will not cause an outage. Failed components can be Directors, Engines, MIBE, PS’s, Fan, Cache in a single Engine or 2 directors.

Tuesday, 20 September 2011

Solaris server models


High end servers:--
 128-core Sun SPARC Enterprise M9000
 64-core Sun SPARC Enterprise M9000
 144-core Sun Fire E25K
 ------------------------------------------------
 SUN fire v440 server:-
    it supports up to 4 ultraSPARC 3i-processor
    4 domains
    it supports up to 16GB of RAM
    Features:-
      SunAdvanced LightsOut Manager(ALOM) systemcontrolle rcard
      serialmanagementport
      networkmanagementport
 ------------------------------------------------
 Enterprise 10k:-
 ------------------------------------------------
 SUN fire E6900
 ------------------------------------------------
 Sun Fire E20K server :
  1.5 GHZ speed
  32 USIV cpus
  284 GB Memory
  9 domains
 -------------------------------------------------
 SUN Fire E25k server :
  72 usiv cpus
  576 Gb memory
  18 Domains
 -------------------------------------------------
 SUN Mid-range, E-Series, M-Series.
 SUN Fire mid range servers:-

 SUN Fire V490 :2*1.5 Ghz, 16 to 32 gb ram
 SUN Fire V890 :4*1.5 Ghz, 32 to 64 Gb
 SUN Fire E2900
 SUN Fire E4900
 SUN Fire E6900

Monday, 12 September 2011

What is a container in solaris?

 A native, default zone on the Oracle Solaris 10 OS is called a container. The other containers that run on Oracle Solaris 10 include Oracle Solaris 8 Containers and Oracle Solaris 9 Containers. Many people use the terms "zone" and "container" interchangeably.

Sunday, 7 August 2011

How to add slice to swap memory?


ADD slice to swap:-
 1)create a slice by using format utility
 2)create a file system for that slice
 3)add a slice to swap
   #swap -a /dev/dsk/c0t0d0s1
   make perment change in vfstab

how to see the LINK SPEED,STATUS,MODE in Solaris?


#ndd -get  /dev/hme link_speed

 #ndd -get  /dev/hme link_status


#ndd -get   /dev/hme   link_mode

explain setuid,sgid,stickbit ?


Setuid:-(4) When the SUID is assigned to a file, all the users who are accessing the file become the owner
         of the file at that moment.
         ex: #ls -l /usr/bin | grep passwd
             #chmod 4644 one.


SGID:-(2) .It effect for only directory.If SGID permission is assigned to a directory, then the files and sub-dir
created under the parent dir (dir impletemented with SGID) will be inheriting the group of the
parent directory
           Ex:-# chmod 2644 two
                  drwxr-sr-x 2 root root 512 Jul 23 14:48 two


Sticky bit:(1) this is effective for directory.If a directory is with impletemented with sticky bit, every user in that system has the right to
           create a file/directory inside that dir (provided with permission), but only the owner of the file candelete the file.
  ex:-# chmod 1777 three
                 drwxrwxrwt 2 root root 512 Jul 23 14:52 three


Wednesday, 20 July 2011

what is file system?what are the different types of file systems in solaris?

File system is collection of control structures used to store data in a efficient way.
3 types of file systems
  1)Disk based FS
   2)Distributed FS
   3)Virtual file systems

1)Disk Based FS:-
    UFS-unix file system.used to access the data from the disk.
    hsfs-high seira file system.used to access from cd-rom
    udfs-Universal device file system.used to access the DVD roms
    pcfs-personal computer file system.used to access the flash drives and usb's
2)Distributes file systems:-
    NFS and Autofs
3)Virtual based file system
    1)procfs-process file system.it contains process ids.
    2)devfs-it contains all device drivers information in directory /devices.
    3)swapfs-if ram is fulled then it access from swap.
    4)mntfs:-currently mounted file systems
    5)tempfs:-when we create any thing in this directory.it not permanent.when we reboot the system it is empty.

Tuesday, 19 July 2011

OK boot prompt commands in Solaris ?

By giving #init 0 it goes to ok boot prompt or by pressing stop+a.

Following are the some commonly used ok boot prompt commands

ok .speed--------->display processor speed

ok .enet-addr------>display MAC addresses.

ok show-devs------>display all connected devices.

ok show-disks------->display disks connected

ok devalias------------->display all device alias names.

ok setenv auto-boot?true----->giving default auto-boot is true.

ok probe-scsi----------------->display only locally connected devices.

ok probe-scsi-all------------->display all devices connected to internal and external.

ok reset-all---------------------->reset prom settings by default.

ok watch-net------------->check the network card statistics.

ok boot -r ------->reconfigure at boot

Monday, 18 July 2011

What is soft link and hard link?

Hard link:-Two files which are having same i-node number.when we update data in a source file ,the same data can be accessed from target.if we delete the source file we can retrieve data from target file due to the same i-node value.
Hard links are applied to files not for directories.
syntax:# ln  <sourse>  <target>

Soft link :-It is a symbolic link and acts as a shortcut.two files which are having soft link will have different i-node values.if we update any thing on source access from target.but if we delete source file,target file does not exist.due to the different i-node number.
syntax:-ls -l <source> <target>

Sunday, 17 July 2011

What is RAID5 ?

RAID5 refers to a type of RAID that involves block-level disk striping with distributed parity. In this configuration, every drive except one must be functional for the RAID to be operational. If a second drive fails, data loss is likely to occur. Block-level disk striping refers to blocks of data being stored sequentially across drives. Blocks include multiple bytes of data. Distributed parity refers to parity data spanning across all drives in the array, not just being stored on a separate disk. RAID5 is supported by FreeBSD, Linux, Microsoft Windows server operating systems, NetBSD, OpenBSD, OpenSolaris and Solaris 10.

Tuesday, 12 July 2011

Boot process in Solaris

Following is the Boot process Phases  in Solaris
1)Boot PROM phase
2)Boot program phase
3)Kernel initialization
4)Init initialization

Boot PROM phase:-
  When we power on the system it displays banner.Banner includes prom version,host id,MAC address,memory.After displaying banner to start POST(power on self test) to all connected hardware devices.then it start boot program phase.

Boot program phase:-
  Here it looks for default boot device and start reading boot program.boot program is located in 1-15 sectors of the hard disk.it contains UFS file system.it is responsible for to load the secondary boot program called UFS Boot loader.

Kernel initialization:-
  Ufs boot loader loads kernel in to memory.after loading the kernel it unmaps the ufsbootloader for loading and locating  o.s modules to get control over the o.s and start mounting the root file system.

Init initialization phase:--
   Here it starts /sbin/init process.which invokes /svc/lib/svc.startd process responsible for following.
     ->mounting all the F.S
    ->configuring all network devices
    ->Enabling all services
    ->run rc script to bring the machine in to multiuser mod.

In solaris10 svc.startd acts as a separate booting phase