Skip to main content

Posts

Showing posts from August, 2020

Syslog in Solaris

 Syslog is system messaging feature  which takes system activities and  events which can be helpful for an administrator to maintain the system  and  for troubleshooting tasks. Daemon : Syslogd Database Files: /etc/syslog.conf : This file contains two different fields. a). Selector  b). Action a. Selector: It specifies that at which     event system report is to be generated.    It is sub-divided into two parts:     1. Facility : It specifies report         generation based on activities         in regards to user process,mail-system        ,authorisation process,daemons,        scheduler facilities etc.           2. Level : It defines importance of message         system task.There are various levels such as         Emerg for panic conditions , Crit for critic...

Core Dump and Crash Dump Solaris

Crash Dump : When an operating system  or system hardware has an error (fatal) system generates crash dump. Core Dump : When any user process or application has an error system generates core dump. Note: When an operating system crashes, the save core command runs automatically during the first boot. This command retrieves the crash dump from the dump device [by default partition] and then writes crash dump to the file at the following  location i-e  /var/crash/hostname/file Crash Dump saves Kernel core information in the below mentioned file i-e /var/crash/hostname/vmcore.x and it saves name list information along with symbolic information in the  below file i-e /var/crash/hostname/unix.x Note: Within the crash dump directory file named as "Bounds" is created  automatically when dumping happens  for the first time. This file holds a number that is used as suffix for the next dump  to be set.This dump is used by root administrator for system problem...

Autofs In Solaris

If remote share information is specified in  /etc/vfstab file located at nfs client then  whenever nfs client boots it runs mountall  command and tries to mount all local as well as remote file systems.If remote server is down nfs client fails to mount the file system  specified in /etc/vfstab file. Autofs allows to automatically mount remote  file systems when remote server comes up. The daemon associated with autofs service  is auotmountd. The database files that holds the automount info are : 1. /etc/auto_master : It contains mount points    with maps. 2. /etc/auto_home : It contains indirect maps    for the home directory across the network. 3. /etc/auto_direct : This file is not available     by default , it has to be created and it     contains directory maps of network shares. Autofs can only be configured at client side.

NFS in Solaris

NFS i-e Network File System is used to share data, printer, storage etc across unix systems. Daemons that a NFS file system uses. 1. mountd : It does access control and handles       file systems mount request from remote      client. 2. nfsd : It handles client file systems request. 3. stated : It works with lockd daemon to  provide crash recovery function. 4. lockd : It does record locking operations on     nfs files. 5. nfs lockd : It provides operational login. The Database Files associated with Network file  system are : 1. /etc/dfs/dfstab : It lists local resources to be      shared. 2. /etc/dfs/sharetab : It lists local resources     that are currently being shared by the nfs      server. 3. /etc/dfs/fstype : It lists default file system      types for remote file system. 4. /etc/mnttab : It contains list of file systems     currently mounted on local syste...