beautypg.com

Set up the /etc/system file -49 – HP XP P9500 Storage User Manual

Page 115

background image

To boot at the ok prompt, execute the following command:
boot boot-device kernel/sparcv9/unix other-boot-options

Set Up the /etc/system File

HDLM uses a maximum of 8 KB of the stack for the kernel thread. Add the

usage of HDLM to this maximum value, specify that total value as the stack

size for the kernel thread, and then install HDLM. In Solaris 10 or Solaris 11,
default_stksize has priority over lwp_default_stksize. Therefore, if
default_stksize is specified in /etc/system, add 8 KB to the value

specified in default_stksize. If the documentation for the volume manager

or file systems that use HDLM devices specify that the stack size for the

kernel thread is to be expanded, the value mentioned in the documentation

must be also added to the stack size.

The procedure for increasing the stack size of the kernel thread from the

default size in a system with a 64-bit kernel is as follows:

In Solaris 8 or Solaris 9

Add set lwp_default_stksize=0x6000 to /etc/system, and then restart

the host.

In Solaris 10 or Solaris 11

Add one of the following parameters to /etc/system, and then restart the

host:

¢

set lwp_default_stksize=0x8000

¢

set default_stksize=0x8000

The default_stksize parameter takes precedence when both

parameters are specified.

Set Up the /etc/syslog.conf or /etc/rsyslog.conf File

The dlmsetconf utility and the DLMgetras utility for collecting HDLM error

information output messages to syslog. See the /etc/syslog.conf or /etc/
rsyslog.conf file (system log configuration definition file), and then check if

it is set so that messages with a level of "Error" or higher are to be output.

Make sure that the /etc/syslog.conf or /etc/rsyslog.conf file contains

the following configuration entry. We recommend setting the output

destination for *.err in the /etc/syslog.conf or /etc/rsyslog.conf file to

the default /var/adm/messages directory.

*.err;kern.debug;daemon.notice;mail.crit; /var/adm/messages

When you collect audit log data, we recommend that you use any of the

extended facilities (local0 to local7) as the exclusive output destination for

the data. We also recommend that you specify info as the severity level for

the extended facility. This example shows how to specify the recommended

settings in the /etc/syslog.conf or /etc/rsyslog.conf file:

Creating an HDLM Environment

3-49

Hitachi Dynamic Link Manager User Guide for Solaris

®

This manual is related to the following products: