Re: [Veritas-bu] Linux Shared Memory Configuration

2006-09-21 Thread Kathryn Hemness
Greetings,

I made the kernel parameter changes and they had no impact, so
I decided to take a closer look at the errors.

All of the errors were for backups and backup duplications of a single
Windows client.  I've been troubleshooting EXIT 14 backup failures on
this client since May without any luck.

For some reason, this client's EXIT 14 failures started leaving 1K
disk buffer files on my media server storage unit in early September.
My backup image duplication script does not check the validity of
the backupid for files left in the disk storage unit path, so it
attempts to duplicate a non-existent backupid.

I've not yet compared my pre-change bptm/bpdm logs to see if the
changes made any difference in empty buffer delays.

-- Forwarded message --
Date: Tue, 19 Sep 2006 11:09:40 -0700 (PDT)
From: Kathryn Hemness <[EMAIL PROTECTED]>
To: "Nardello, John" <[EMAIL PROTECTED]>
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Linux Shared Memory Configuration

Greetings,

Thanks to all who respondedMost of the suggestions were helpful.

This is a good technote and I'm going to try adjusting my values.
Regarding bob944's comments, my Linux media servers ARE running
with default kernel parameters and I'm seeing shared memory errors.
The files in the /usr/openv/netbackup/db/config were recommended
for both Solaris and Linux.  It is for these reasons that I posted
my query.

I'm posting my current values for the parameters and indicating
the recommended minimal settings in parenthesis:

kernel.msgmnb = 16384 (65536)
kernel.msgmni = 16(256)
kernel.msgmax = 8192  (8192)


kernel.shmmni = 4096 (1024)
kernel.shmall = 2097152  (nothing indicated in document)
kernel.shmmax = 33554432 (16777216) - my value is already larger, so I'm 
keeping it.


kernel.sem = 25032000   32  128
(300 1024   32  1024)
   semmsl, semmns, semopm, semmni)

My Linux servers have 4GB of memory so I can always make upward adjustments.



On Tue, 19 Sep 2006, Nardello, John wrote:

> Date: Tue, 19 Sep 2006 08:21:59 -0700
> From: "Nardello, John" <[EMAIL PROTECTED]>
> To: Kathryn Hemness <[EMAIL PROTECTED]>,
>  veritas-bu@mailman.eng.auburn.edu
> Subject: RE: [Veritas-bu] Linux Shared Memory Configuration
>
> Technote talking about Linux kernel tuning recommendations:
> http://support.veritas.com/docs/263755
>
> A little old but I doubt the variables have changed any.
>
> - John Nardello
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kathryn
> Hemness
> Sent: Monday, September 18, 2006 3:59 PM
> To: veritas-bu@mailman.eng.auburn.edu
> Subject: [Veritas-bu] Linux Shared Memory Configuration
>
> Greetings,
>
> My backup enterprise currently consists of a Solaris 9 Sun V240 master
> and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.
>
> I've been getting the following messages for backups and duplications
> to storage units on my Linux media servers:
>
>"problems encountered during setup of shared memory (89)"
>
> I use disk storage units and a mixed LTO2/LTO3 library.
>
> I've attempted to setup my Linux media servers similar to my Solaris 9
> master by using the same NUMBER/SIZE_DATA_BUFFERS files in
> /usr/openv/netbackup/db/config.  But on my Solaris 9 master, I also
> had /etc/system settings for msgsys, semsys, and shmsys values.
>
> I haven't been able to find anything about needing similar
> /etc/system tuning on Linux (I believe the /etc/system equivalents are
> set
> via the /etc/sysctl.conf file).
>
> I'm hoping someone can tell me if all of the /etc/system parameters can
> be set with sysctl on Linux and if their names are the same.  Here are
> my
> current Solaris /etc/system parameters:
>
> set msgsys:msginfo_msgmap=512
> set msgsys:msginfo_msgmax=8192
> set msgsys:msginfo_msgmnb=65536
> set msgsys:msginfo_msgmni=256
> set msgsys:msginfo_msgssz=16
> set msgsys:msginfo_msgtql=512
> set msgsys:msginfo_msgseg=8192
>
> set semsys:seminfo_semmap=64
> set semsys:seminfo_semmni=1024
> set semsys:seminfo_semmns=1024
> set semsys:seminfo_semmnu=1024
> set semsys:seminfo_semmsl=300
> set semsys:seminfo_semopm=32
> set semsys:seminfo_semume=64
>
> set shmsys:shminfo_shmmax=536870912
> set shmsys:shminfo_shmmin=1
> set shmsys:shminfo_shmmni=220
> set shmsys:shminfo_shmseg=100
>
> Any help is appreciated.
> --Kathy
> ___
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>


--Kathy

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Linux Shared Memory Configuration

2006-09-19 Thread bob944

> This is a good technote and I'm going to try adjusting my values.
> Regarding bob944's comments, my Linux media servers ARE running
> with default kernel parameters and I'm seeing shared memory errors.
> The files in the /usr/openv/netbackup/db/config were recommended
> for both Solaris and Linux.  It is for these reasons that I posted
> my query.

You missed the point, or perhaps I didn't make it clearly.  You said you
copied the SIZE/NUMBER_DATA_BUFFERS from the Sol9 system to the Linux
one.  These--the tuning parameters--are what is causing your status 89s.
Remove the BUFFER forcing, let NetBackup use its defaults, backups will
run.  Again, RTFM is suggested so you understand the consequences of
what you are changing.


___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Linux Shared Memory Configuration

2006-09-19 Thread Paul Keating
Your max shared memory "shmmax" value should be at minimum:

NUMBER_DATA_BUFFERS x SIZE_DATA_BUFFERS x "number of tape drives" x "max
multiplex"

I don't have the doc readily available to cite, but in essence, 

If you have late model drives that are using a 256k buffer, and you have
4 connected drives, and you multiplex 4 streams per drive, and have 64
buffers configured, then you should have a shmmax of:

262144 x 64 x 4 x 4 = 268435456

Paul

-- 


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kathryn Hemness
> Sent: September 19, 2006 2:10 PM
> To: Nardello, John
> Cc: veritas-bu@mailman.eng.auburn.edu
> Subject: Re: [Veritas-bu] Linux Shared Memory Configuration
> 
> 
> Greetings,
> 
> Thanks to all who respondedMost of the suggestions were helpful.
> 
> This is a good technote and I'm going to try adjusting my values.
> Regarding bob944's comments, my Linux media servers ARE running
> with default kernel parameters and I'm seeing shared memory errors.
> The files in the /usr/openv/netbackup/db/config were recommended
> for both Solaris and Linux.  It is for these reasons that I posted
> my query.
> 
> I'm posting my current values for the parameters and indicating
> the recommended minimal settings in parenthesis:
> 
> kernel.msgmnb = 16384 (65536)
> kernel.msgmni = 16(256)
> kernel.msgmax = 8192  (8192)
> 
> 
> kernel.shmmni = 4096 (1024)
> kernel.shmall = 2097152  (nothing indicated in document)
> kernel.shmmax = 33554432 (16777216) - my value is already 
> larger, so I'm keeping it.
> 
> 
> kernel.sem = 25032000   32  128
> (300 1024   32  1024)
>semmsl, semmns, semopm, semmni)
> 
> My Linux servers have 4GB of memory so I can always make 
> upward adjustments.
> 
> 
> 
> On Tue, 19 Sep 2006, Nardello, John wrote:
> 
> > Date: Tue, 19 Sep 2006 08:21:59 -0700
> > From: "Nardello, John" <[EMAIL PROTECTED]>
> > To: Kathryn Hemness <[EMAIL PROTECTED]>,
> >  veritas-bu@mailman.eng.auburn.edu
> > Subject: RE: [Veritas-bu] Linux Shared Memory Configuration
> >
> > Technote talking about Linux kernel tuning recommendations:
> > http://support.veritas.com/docs/263755
> >
> > A little old but I doubt the variables have changed any.
> >
> > - John Nardello
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On 
> Behalf Of Kathryn
> > Hemness
> > Sent: Monday, September 18, 2006 3:59 PM
> > To: veritas-bu@mailman.eng.auburn.edu
> > Subject: [Veritas-bu] Linux Shared Memory Configuration
> >
> > Greetings,
> >
> > My backup enterprise currently consists of a Solaris 9 Sun 
> V240 master
> > and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.
> >
> > I've been getting the following messages for backups and 
> duplications
> > to storage units on my Linux media servers:
> >
> >"problems encountered during setup of shared memory (89)"
> >
> > I use disk storage units and a mixed LTO2/LTO3 library.
> >
> > I've attempted to setup my Linux media servers similar to 
> my Solaris 9
> > master by using the same NUMBER/SIZE_DATA_BUFFERS files in
> > /usr/openv/netbackup/db/config.  But on my Solaris 9 master, I also
> > had /etc/system settings for msgsys, semsys, and shmsys values.
> >
> > I haven't been able to find anything about needing similar
> > /etc/system tuning on Linux (I believe the /etc/system 
> equivalents are
> > set
> > via the /etc/sysctl.conf file).
> >
> > I'm hoping someone can tell me if all of the /etc/system 
> parameters can
> > be set with sysctl on Linux and if their names are the 
> same.  Here are
> > my
> > current Solaris /etc/system parameters:
> >
> > set msgsys:msginfo_msgmap=512
> > set msgsys:msginfo_msgmax=8192
> > set msgsys:msginfo_msgmnb=65536
> > set msgsys:msginfo_msgmni=256
> > set msgsys:msginfo_msgssz=16
> > set msgsys:msginfo_msgtql=512
> > set msgsys:msginfo_msgseg=8192
> >
> > set semsys:seminfo_semmap=64
> > set semsys:seminfo_semmni=1024
> > set semsys:seminfo_semmns=1024
> > set semsys:seminfo_semmnu=1024
> > set semsys:seminfo_semmsl=300
> > set semsys:seminfo_semopm=32
> > set semsys:seminfo_semume=64
> >
> > set shmsys:shminfo_shmmax=536870912
> > set shmsys:shminfo_shmmin=1
> > set shmsys:shminfo_shmmni=220
> > set sh

Re: [Veritas-bu] Linux Shared Memory Configuration

2006-09-19 Thread Kathryn Hemness
Greetings,

Thanks to all who respondedMost of the suggestions were helpful.

This is a good technote and I'm going to try adjusting my values.
Regarding bob944's comments, my Linux media servers ARE running
with default kernel parameters and I'm seeing shared memory errors.
The files in the /usr/openv/netbackup/db/config were recommended
for both Solaris and Linux.  It is for these reasons that I posted
my query.

I'm posting my current values for the parameters and indicating
the recommended minimal settings in parenthesis:

kernel.msgmnb = 16384 (65536)
kernel.msgmni = 16(256)
kernel.msgmax = 8192  (8192)


kernel.shmmni = 4096 (1024)
kernel.shmall = 2097152  (nothing indicated in document)
kernel.shmmax = 33554432 (16777216) - my value is already larger, so I'm 
keeping it.


kernel.sem = 25032000   32  128
(300 1024   32  1024)
   semmsl, semmns, semopm, semmni)

My Linux servers have 4GB of memory so I can always make upward adjustments.



On Tue, 19 Sep 2006, Nardello, John wrote:

> Date: Tue, 19 Sep 2006 08:21:59 -0700
> From: "Nardello, John" <[EMAIL PROTECTED]>
> To: Kathryn Hemness <[EMAIL PROTECTED]>,
>  veritas-bu@mailman.eng.auburn.edu
> Subject: RE: [Veritas-bu] Linux Shared Memory Configuration
>
> Technote talking about Linux kernel tuning recommendations:
> http://support.veritas.com/docs/263755
>
> A little old but I doubt the variables have changed any.
>
> - John Nardello
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kathryn
> Hemness
> Sent: Monday, September 18, 2006 3:59 PM
> To: veritas-bu@mailman.eng.auburn.edu
> Subject: [Veritas-bu] Linux Shared Memory Configuration
>
> Greetings,
>
> My backup enterprise currently consists of a Solaris 9 Sun V240 master
> and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.
>
> I've been getting the following messages for backups and duplications
> to storage units on my Linux media servers:
>
>"problems encountered during setup of shared memory (89)"
>
> I use disk storage units and a mixed LTO2/LTO3 library.
>
> I've attempted to setup my Linux media servers similar to my Solaris 9
> master by using the same NUMBER/SIZE_DATA_BUFFERS files in
> /usr/openv/netbackup/db/config.  But on my Solaris 9 master, I also
> had /etc/system settings for msgsys, semsys, and shmsys values.
>
> I haven't been able to find anything about needing similar
> /etc/system tuning on Linux (I believe the /etc/system equivalents are
> set
> via the /etc/sysctl.conf file).
>
> I'm hoping someone can tell me if all of the /etc/system parameters can
> be set with sysctl on Linux and if their names are the same.  Here are
> my
> current Solaris /etc/system parameters:
>
> set msgsys:msginfo_msgmap=512
> set msgsys:msginfo_msgmax=8192
> set msgsys:msginfo_msgmnb=65536
> set msgsys:msginfo_msgmni=256
> set msgsys:msginfo_msgssz=16
> set msgsys:msginfo_msgtql=512
> set msgsys:msginfo_msgseg=8192
>
> set semsys:seminfo_semmap=64
> set semsys:seminfo_semmni=1024
> set semsys:seminfo_semmns=1024
> set semsys:seminfo_semmnu=1024
> set semsys:seminfo_semmsl=300
> set semsys:seminfo_semopm=32
> set semsys:seminfo_semume=64
>
> set shmsys:shminfo_shmmax=536870912
> set shmsys:shminfo_shmmin=1
> set shmsys:shminfo_shmmni=220
> set shmsys:shminfo_shmseg=100
>
> Any help is appreciated.
> --Kathy
> ___
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>


--Kathy

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Linux Shared Memory Configuration

2006-09-19 Thread Kathryn Hemness
Thanks Dave,

I do have that too...I just short-cutted my explanation of the files
in my /usr/openv/netbackup/db/config directory.

On Tue, 19 Sep 2006, Clooney, David wrote:

> Date: Tue, 19 Sep 2006 11:56:05 +0100
> From: "Clooney, David" <[EMAIL PROTECTED]>
> To: Kathryn Hemness <[EMAIL PROTECTED]>,
>  veritas-bu@mailman.eng.auburn.edu
> Subject: RE: [Veritas-bu] Linux Shared Memory Configuration
>
>  Not answering you question but if you media server is writing to disk
> you might want to check and implement
>
> SIZE_DATA_BUFFERS_DISK
>
> Dave
>
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kathryn
> Hemness
> Sent: 18 September 2006 23:59
> To: veritas-bu@mailman.eng.auburn.edu
> Subject: [Veritas-bu] Linux Shared Memory Configuration
>
> Greetings,
>
> My backup enterprise currently consists of a Solaris 9 Sun V240 master
> and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.
>
> I've been getting the following messages for backups and duplications to
> storage units on my Linux media servers:
>
>"problems encountered during setup of shared memory (89)"
>
> I use disk storage units and a mixed LTO2/LTO3 library.
>
> I've attempted to setup my Linux media servers similar to my Solaris 9
> master by using the same NUMBER/SIZE_DATA_BUFFERS files in
> /usr/openv/netbackup/db/config.  But on my Solaris 9 master, I also had
> /etc/system settings for msgsys, semsys, and shmsys values.
>
> I haven't been able to find anything about needing similar /etc/system
> tuning on Linux (I believe the /etc/system equivalents are set via the
> /etc/sysctl.conf file).
>
> I'm hoping someone can tell me if all of the /etc/system parameters can
> be set with sysctl on Linux and if their names are the same.  Here are
> my current Solaris /etc/system parameters:
>
> set msgsys:msginfo_msgmap=512
> set msgsys:msginfo_msgmax=8192
> set msgsys:msginfo_msgmnb=65536
> set msgsys:msginfo_msgmni=256
> set msgsys:msginfo_msgssz=16
> set msgsys:msginfo_msgtql=512
> set msgsys:msginfo_msgseg=8192
>
> set semsys:seminfo_semmap=64
> set semsys:seminfo_semmni=1024
> set semsys:seminfo_semmns=1024
> set semsys:seminfo_semmnu=1024
> set semsys:seminfo_semmsl=300
> set semsys:seminfo_semopm=32
> set semsys:seminfo_semume=64
>
> set shmsys:shminfo_shmmax=536870912
> set shmsys:shminfo_shmmin=1
> set shmsys:shminfo_shmmni=220
> set shmsys:shminfo_shmseg=100
>
> Any help is appreciated.
> --Kathy
> ___
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>
>
> Notice to recipient:
> The information in this internet e-mail and any attachments is confidential 
> and may be privileged. It is intended solely for the addressee. If you are 
> not the intended addressee please notify the sender immediately by telephone. 
> If you are not the intended recipient, any disclosure, copying, distribution 
> or any action taken or omitted to be taken in reliance on it, is prohibited 
> and may be unlawful.
>
> When addressed to external clients any opinions or advice contained in this 
> internet e-mail are subject to the terms and conditions expressed in any 
> applicable governing terms of business or client engagement letter issued by 
> the pertinent Bank of America group entity.
>
> If this email originates from the U.K. please note that Bank of America, 
> N.A., London Branch and Banc of America Securities Limited are authorised and 
> regulated by the Financial Services Authority.
>


--Kathy

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Linux Shared Memory Configuration

2006-09-19 Thread Nardello, John
Technote talking about Linux kernel tuning recommendations:
http://support.veritas.com/docs/263755 

A little old but I doubt the variables have changed any. 

- John Nardello

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kathryn
Hemness
Sent: Monday, September 18, 2006 3:59 PM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Linux Shared Memory Configuration

Greetings,

My backup enterprise currently consists of a Solaris 9 Sun V240 master
and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.

I've been getting the following messages for backups and duplications
to storage units on my Linux media servers:

   "problems encountered during setup of shared memory (89)"

I use disk storage units and a mixed LTO2/LTO3 library.

I've attempted to setup my Linux media servers similar to my Solaris 9
master by using the same NUMBER/SIZE_DATA_BUFFERS files in
/usr/openv/netbackup/db/config.  But on my Solaris 9 master, I also
had /etc/system settings for msgsys, semsys, and shmsys values.

I haven't been able to find anything about needing similar
/etc/system tuning on Linux (I believe the /etc/system equivalents are
set
via the /etc/sysctl.conf file).

I'm hoping someone can tell me if all of the /etc/system parameters can
be set with sysctl on Linux and if their names are the same.  Here are
my
current Solaris /etc/system parameters:

set msgsys:msginfo_msgmap=512
set msgsys:msginfo_msgmax=8192
set msgsys:msginfo_msgmnb=65536
set msgsys:msginfo_msgmni=256
set msgsys:msginfo_msgssz=16
set msgsys:msginfo_msgtql=512
set msgsys:msginfo_msgseg=8192

set semsys:seminfo_semmap=64
set semsys:seminfo_semmni=1024
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmnu=1024
set semsys:seminfo_semmsl=300
set semsys:seminfo_semopm=32
set semsys:seminfo_semume=64

set shmsys:shminfo_shmmax=536870912
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=220
set shmsys:shminfo_shmseg=100

Any help is appreciated.
--Kathy
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Linux Shared Memory Configuration

2006-09-19 Thread bob944
> My backup enterprise currently consists of a Solaris 9 Sun V240 master
> and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.
> 
> I've been getting the following messages for backups and duplications
> to storage units on my Linux media servers:
> 
>"problems encountered during setup of shared memory (89)"
> 
> I use disk storage units and a mixed LTO2/LTO3 library.
> 
> I've attempted to setup my Linux media servers similar to my Solaris 9
> master by using the same NUMBER/SIZE_DATA_BUFFERS files in
> /usr/openv/netbackup/db/config.  But on my Solaris 9 master, I also
> had /etc/system settings for msgsys, semsys, and shmsys values.

Why would you assume that tuning parameters for one OS and hardware
platform were correct for a different OS on a different hardware
platform?

And the odds are reasonable that the master's parameters weren't
well-chosen in the first place.

Suggest
a) apply the Linux parameter information from a later posting (Lightner)
b) remove the touch files and let the defaults get backups working
c) if you're not satisfied with the backup AND RESTORE performance with
the defaults, read the Backup Planning and Performance Tuning Guide and
tune your media server properly.  OPPs (Other Peoples' Parameters, not
the Canadian version), derived with unknown methodology on likely
different software, different hardware and different configurations,
have even less value than your Sol9 box's parameters.


___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Linux Shared Memory Configuration

2006-09-19 Thread Jeff Lightner
/etc/sysctl.conf is the correct file.

You can learn more about it by reading the man page for it and also the
one for sysctl.

The available parameters are in /proc/sys/kernel.  You can cat each of
these to see current value (assuming they are using defaults not shown
in sysctl.conf).

There are shm and sem parameters (e.g. shmmax) but they are not exactly
the same.  You should focus on the shm parameters given the message
you're seeing.

Note:  RHEL 3 is 32 bit.  You can only set shmmax to 4 GB - 1 byte at
most.  (4 GB is maximum but if you set it to that it actually goes back
to 0 so you have to subtract the 1 byte).  Even with that the best
you'll get is 1.6 GB without doing some extra magic.   

Unfortunately since the fibre on Linux didn't understand our fibre
bridges we never set up Linux as a media server so I can't tell you what
the settings should be.  Just wanted to offer the confirmation you asked
for about sysctl.conf and a little more info.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kathryn
Hemness
Sent: Monday, September 18, 2006 6:59 PM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Linux Shared Memory Configuration

Greetings,

My backup enterprise currently consists of a Solaris 9 Sun V240 master
and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.

I've been getting the following messages for backups and duplications
to storage units on my Linux media servers:

   "problems encountered during setup of shared memory (89)"

I use disk storage units and a mixed LTO2/LTO3 library.

I've attempted to setup my Linux media servers similar to my Solaris 9
master by using the same NUMBER/SIZE_DATA_BUFFERS files in
/usr/openv/netbackup/db/config.  But on my Solaris 9 master, I also
had /etc/system settings for msgsys, semsys, and shmsys values.

I haven't been able to find anything about needing similar
/etc/system tuning on Linux (I believe the /etc/system equivalents are
set
via the /etc/sysctl.conf file).



I'm hoping someone can tell me if all of the /etc/system parameters can
be set with sysctl on Linux and if their names are the same.  Here are
my
current Solaris /etc/system parameters:

set msgsys:msginfo_msgmap=512
set msgsys:msginfo_msgmax=8192
set msgsys:msginfo_msgmnb=65536
set msgsys:msginfo_msgmni=256
set msgsys:msginfo_msgssz=16
set msgsys:msginfo_msgtql=512
set msgsys:msginfo_msgseg=8192

set semsys:seminfo_semmap=64
set semsys:seminfo_semmni=1024
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmnu=1024
set semsys:seminfo_semmsl=300
set semsys:seminfo_semopm=32
set semsys:seminfo_semume=64

set shmsys:shminfo_shmmax=536870912
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=220
set shmsys:shminfo_shmseg=100

Any help is appreciated.
--Kathy
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Linux Shared Memory Configuration

2006-09-19 Thread Clooney, David
 Not answering you question but if you media server is writing to disk
you might want to check and implement

SIZE_DATA_BUFFERS_DISK 

Dave





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kathryn
Hemness
Sent: 18 September 2006 23:59
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Linux Shared Memory Configuration

Greetings,

My backup enterprise currently consists of a Solaris 9 Sun V240 master
and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.

I've been getting the following messages for backups and duplications to
storage units on my Linux media servers:

   "problems encountered during setup of shared memory (89)"

I use disk storage units and a mixed LTO2/LTO3 library.

I've attempted to setup my Linux media servers similar to my Solaris 9
master by using the same NUMBER/SIZE_DATA_BUFFERS files in
/usr/openv/netbackup/db/config.  But on my Solaris 9 master, I also had
/etc/system settings for msgsys, semsys, and shmsys values.

I haven't been able to find anything about needing similar /etc/system
tuning on Linux (I believe the /etc/system equivalents are set via the
/etc/sysctl.conf file).

I'm hoping someone can tell me if all of the /etc/system parameters can
be set with sysctl on Linux and if their names are the same.  Here are
my current Solaris /etc/system parameters:

set msgsys:msginfo_msgmap=512
set msgsys:msginfo_msgmax=8192
set msgsys:msginfo_msgmnb=65536
set msgsys:msginfo_msgmni=256
set msgsys:msginfo_msgssz=16
set msgsys:msginfo_msgtql=512
set msgsys:msginfo_msgseg=8192

set semsys:seminfo_semmap=64
set semsys:seminfo_semmni=1024
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmnu=1024
set semsys:seminfo_semmsl=300
set semsys:seminfo_semopm=32
set semsys:seminfo_semume=64

set shmsys:shminfo_shmmax=536870912
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=220
set shmsys:shminfo_shmseg=100

Any help is appreciated.
--Kathy
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu



Notice to recipient:
The information in this internet e-mail and any attachments is confidential and 
may be privileged. It is intended solely for the addressee. If you are not the 
intended addressee please notify the sender immediately by telephone. If you 
are not the intended recipient, any disclosure, copying, distribution or any 
action taken or omitted to be taken in reliance on it, is prohibited and may be 
unlawful.

When addressed to external clients any opinions or advice contained in this 
internet e-mail are subject to the terms and conditions expressed in any 
applicable governing terms of business or client engagement letter issued by 
the pertinent Bank of America group entity.

If this email originates from the U.K. please note that Bank of America, N.A., 
London Branch and Banc of America Securities Limited are authorised and 
regulated by the Financial Services Authority.

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu