ADSM-L

TDP for Informix Linux ia32 shmat: [22]

2005-01-01 21:40:57
Subject: TDP for Informix Linux ia32 shmat: [22]
From: Braulio Junior <bjunior AT BJUNIOR.ETI DOT BR>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Sun, 2 Jan 2005 00:40:35 -0200
Hi!

I have a server with Informix Dynamic Server Version 7.31.UD2, using
Linux Red Hat Linux release 7.3 (Valhalla), kernel 2.4.18-3bigmem. I
have another server with TSM Version 5, Release 2, Level 1.0, and TDP
for Informix.

My onconfig (on TSM Server):

ROOTNAME        rootdbs         # Root dbspace name
ROOTPATH        /dev/online_root # Path for device containing root dbspace
ROOTOFFSET      0               # Offset of root dbspace into device
(Kbytes)
ROOTSIZE        20000           # Size of root dbspace (Kbytes)
MIRROR          0               # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH                      # Path for device containing mirrored root
MIRROROFFSET    0               # Offset into mirrored device (Kbytes)
PHYSDBS         rootdbs         # Location (dbspace) of physical log
PHYSFILE        1000            # Physical log file size (Kbytes)
LOGFILES        6               # Number of logical log files
LOGSIZE         500             # Logical log size (Kbytes)
MSGPATH         /usr/informix/online.log        # System message log
file path
CONSOLE         /dev/console                    # System console message
path
ALARMPROGRAM    /usr/informix/etc/log_full.sh   # Alarm program path
SYSALARMPROGRAM /usr/informix/etc/evidence.sh   # System Alarm program path
TBLSPACE_STATS  1
TAPEDEV         /dev/tapedev    # Tape device path
TAPEBLK         16              # Tape block size (Kbytes)
TAPESIZE        10240           # Maximum amount of data to put on tape
(Kbytes)
LTAPEDEV        /dev/tapedev    # Log tape device path
LTAPEBLK        16              # Log tape block size (Kbytes)
LTAPESIZE       10240           # Max amount of data to put on log tape
(Kbytes)
STAGEBLOB                       # Informix Dynamic Server/Optical
staging area
SERVERNUM       0               # Unique id corresponding to a Dynamic
Server instance
DBSERVERNAME                    # Name of default database server
DBSERVERALIASES                 # List of alternate dbservernames
NETTYPE                         # Configure poll thread(s) for nettype
DEADLOCK_TIMEOUT 60             # Max time to wait of lock in
distributed env.
RESIDENT        0               # Forced residency flag (Yes = 1, No = 0)
MULTIPROCESSOR  0               # 0 for single-processor, 1 for
multi-processor
NUMCPUVPS       1               # Number of user (cpu) vps
SINGLE_CPU_VP   0               # If non-zero, limit number of cpu vps
to one
NOAGE           0               # Process aging
AFF_SPROC       0               # Affinity start processor
AFF_NPROCS      0               # Affinity number of processors
LOCKS           2000            # Maximum number of locks
BUFFERS         200             # Maximum number of shared buffers
NUMAIOVPS                       # Number of IO vps
PHYSBUFF        32              # Physical log buffer size (Kbytes)
LOGBUFF         32              # Logical log buffer size (Kbytes)
LOGSMAX         6               # Maximum number of logical log files
CLEANERS        1               # Number of buffer cleaner processes
SHMBASE         0x10000000L     # Shared memory base address
SHMVIRTSIZE     8000            # initial virtual shared memory segment size
SHMADD          8192            # Size of new shared memory segments
(Kbytes)
SHMTOTAL        0               # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL       300             # Check point interval (in sec)
LRUS            8               # Number of LRU queues
LRU_MAX_DIRTY   60              # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY   50              # LRU percent dirty end cleaning limit
LTXHWM          50              # Long transaction high water mark
percentage
LTXEHWM         60              # Long transaction high water mark
(exclusive)
TXTIMEOUT       300             # Transaction timeout (in sec)
STACKSIZE       32              # Stack size (Kbytes)
OFF_RECVRY_THREADS      10      # Default number of offline worker threads
ON_RECVRY_THREADS       1       # Default number of online worker threads
DRAUTO          0               # DR automatic switchover
DRINTERVAL      30              # DR max time between DR buffer flushes
(in sec)
DRTIMEOUT       30              # DR network timeout (in sec)
DRLOSTFOUND     /usr/informix/etc/dr.lostfound  # DR lost+found file path
CDR_LOGBUFFERS  2048    # size of log reading buffer pool (Kbytes)
CDR_EVALTHREADS 1,2     # evaluator threads (per-cpu-vp,additional)
CDR_DSLOCKWAIT  5       # DS lockwait timeout (seconds)
CDR_QUEUEMEM    4096    # Maximum amount of memory for any CDR queue
(Kbytes)
CDR_LOGDELTA    30      # % of log space allowed in queue memory
CDR_NUMCONNECT  16      # Expected connections per server
CDR_NIFRETRY    300     # Connection retry (seconds)
CDR_NIFCOMPRESS 0       # Link level compression (-1 never, 0 none, 9 max)
BAR_ACT_LOG             /tmp/bar_act.log
BAR_MAX_BACKUP          0
BAR_RETRY               1
BAR_NB_XPORT_COUNT      10
BAR_XFER_BUF_SIZE       31
BAR_BSALIB_PATH         /opt/tivoli/tsm/client/informix/bin/libTDPinf.so
ISM_DATA_POOL   ISMData         # If the data pool name is changed, be
sure to
                               # update $INFORMIXDIR/bin/onbar.  Change to
                               # ism_catalog -create_bootstrap -pool
<new name>
ISM_LOG_POOL    ISMLogs
RA_PAGES                        # Number of pages to attempt to read ahead
RA_THRESHOLD                    # Number of pages left before next group
DBSPACETEMP                     # Default temp dbspaces
DUMPDIR         /tmp            # Preserve diagnostics in this directory
DUMPSHMEM       1               # Dump a copy of shared memory
DUMPGCORE       0               # Dump a core image using 'gcore'
DUMPCORE        0               # Dump a core image (Warning:this aborts
Dynamic Server)
DUMPCNT         1               # Number of shared memory or gcore dumps for
                               # a single user's session
FILLFACTOR      90              # Fill factor for building indexes
USEOSTIME       0       # 0: use internal time(fast), 1: get time from
OS(slow)
MAX_PDQPRIORITY 100     # Maximum allowed pdqpriority
DS_MAX_QUERIES          # Maximum number of decision support queries
DS_TOTAL_MEMORY         # Decision support memory (Kbytes)
DS_MAX_SCANS    1048576 # Maximum number of decision support scans
DATASKIP                # List of dbspaces to skip
OPTCOMPIND      2       # To hint the optimizer

ONDBSPACEDOWN   2       # Dbspace down option: 0 = CONTINUE, 1 = ABORT,
2 = WAIT
LBU_PRESERVE    0       # Preserve last log for log backup
OPCACHEMAX      0       # Maximum optical cache size (Kbytes)
HETERO_COMMIT   0
OPT_GOAL        -1
DIRECTIVES      1
RESTARTABLE_RESTORE ON

My dsm.opt (/opt/tivoli/tsm/client/api/bin)

SErvername              vitapan
archsymlinkasfile       no

Include /siga/siga/dadosdbs/*   informixdb
Include /siga/siga/rootdbs/*    informixdb
Include /siga/siga/physdbs/*    informixdb
Include /siga/siga/contdbs/*    informixdb

Include /siga/siga/0/*          informixlog

My dsmserv.opt:

COMMMETHOD TCPIP
COMMmethod HTTP
TCPPORT 1500
TCPADMINPort 1500
HTTPPort 1580

sm_versions:

1|5.2.1|tsm|5|

Table bar_version from sysutils@siga

bar_version        bsa_version        bar_sm             sm_version

1                  5.2.1              tsm                5

When I try to run onbar -b, I have this error:

shmat: [22]: operating system error

Any idea?

Thanks,

--
Braulio Junior
IT Manager
bjunior AT bjunior.eti DOT br
Linux User #208017 - Get Counted at http://counter.li.org/

-------------------------------------------------------------------------
"The algorithm to do that is extremely nasty.  You might want to mug
someone with it."
                -- M. Devine, Computer Science 340
-------------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>