Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Administration & Installation

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
17%
200 - 500 GB
17%
500 - 800 GB
6%
800 - 1200 GB
6%
1200 - 1500 GB
17%
1500 - 2000 GB
17%
> 2000 GB
22%
Total votes: 18

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 26th May 2003, 11:35
spartacus's Avatar
spartacus spartacus is offline
Guru
 
Join Date: Dec 2001
Location: Germany
Posts: 773
spartacus is on a distinguished road
Baan: BaanERP 5.0c - DB: Oracle 8 - OS: SunOS 5.9
shared memory manager

Is it possible to stop/start the shared memory manager during normal use of Baan? Or is it advisable that everybody is logging of?

Spartacus
Reply With Quote
  #2  
Old 26th May 2003, 13:04
NvanBeest's Avatar
NvanBeest NvanBeest is offline
Guru
 
Join Date: May 2003
Location: South Africa
Posts: 520
NvanBeest is on a distinguished road
Baan: BaanIVc4 - DB: Oracle, TBase, SQL Server - OS: AIX, Linux, Window$
Exclamation

Do not try to stop it! (Shouldn't work anyway, but don't even try it, it might corrupt things.) Each and every process in Baan uses the shared memory pool, creating hooks and handles to it. That's the reason it shows the "# of ..." when stopping in a normal way.

Regards,
Nico
Reply With Quote
  #3  
Old 26th May 2003, 15:29
spartacus's Avatar
spartacus spartacus is offline
Guru
 
Join Date: Dec 2001
Location: Germany
Posts: 773
spartacus is on a distinguished road
Baan: BaanERP 5.0c - DB: Oracle 8 - OS: SunOS 5.9
Thanks,

so we will do a rc.start and rc.stop


Spartacus
Reply With Quote
Sponsored Links
  #4  
Old 26th May 2003, 20:19
learner's Avatar
learner learner is offline
Guru
 
Join Date: Dec 2002
Location: New zealand
Posts: 562
learner is on a distinguished road
Baan: BaaN Vc with sp 28 - DB: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit - OS: HP-UX B.11.31
how to use this rc.start and rc.stop !!

We have BaaN IV c4 installed on Win Nt 4.0, and we use BaaN NT Manager to do this, as told by u above it is advisable that we should stop the shared memorey using BaaN NT Manager, then how do i use this rc.start and rc.stop ???

do i have to use these commands on dos prompt ??


Waiting for your reply.
Reply With Quote
  #5  
Old 26th May 2003, 21:34
NvanBeest's Avatar
NvanBeest NvanBeest is offline
Guru
 
Join Date: May 2003
Location: South Africa
Posts: 520
NvanBeest is on a distinguished road
Baan: BaanIVc4 - DB: Oracle, TBase, SQL Server - OS: AIX, Linux, Window$
Hi learner

The rc.start and rc.stop script are part of the UNIX porting sets. On NT, the only way is using the Baan NT Manager.
Thus, you use the correct tools. Same applies as for UNIX however, namely never stop when users are active.

Regards,
Nico
Reply With Quote
  #6  
Old 27th May 2003, 18:13
learner's Avatar
learner learner is offline
Guru
 
Join Date: Dec 2002
Location: New zealand
Posts: 562
learner is on a distinguished road
Baan: BaaN Vc with sp 28 - DB: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit - OS: HP-UX B.11.31
Thanks !!

Thanks for the info, i have one more doubt ofcourse that i not related with the shared memory.

how do i create a link between nt_bshell and inf_serve running in my task manager ?

I have baaN IV c4 with Win NT 4 and informix 9 as database.

Regards

Learner
Reply With Quote
  #7  
Old 27th May 2003, 20:57
NvanBeest's Avatar
NvanBeest NvanBeest is offline
Guru
 
Join Date: May 2003
Location: South Africa
Posts: 520
NvanBeest is on a distinguished road
Baan: BaanIVc4 - DB: Oracle, TBase, SQL Server - OS: AIX, Linux, Window$
Each client, when starting up, will initially start an ipc_boot. This will fire up the nt_bshell, which in turn fires up an inf_server to communicate with Informix. Thus, for every logged in user, there should be an nt_bshell and an inf_server process. Linking them? The only way that you could try, is by process ID. The ID's of belonging processes will be close together, if not following each other in number. But, if two client log on simultaneously, this will not necessarily be true. Thus, if I get the gist correctly, and you want to terminate a process (killing both nt_bshell and it's inf_server), the safe way will be to use bshcmd. Run this from a DOS prompt, from the %BSE%\bin directory. The options should be similar to those on UNIX (just ignore the 6.1 behind the command):
Code:
Usage: bshcmd6.1 [options] <bshell_pid>

-v              : Print version
-p              : Show process list
-m              : Show memory usage
-d <dbglvl>     : Set DEBUG_LEVEL to (octal) <dbglvl>
-k <pid>        : Kill bshell process id <pid>
-e              : Kill all bshell processes
-M "message"    : Send "message" to bshell

-W <sec>        : Wait until the previous issued command is executed
                  After this the previous command will be overwritten
-w <sec>        : Wait <sec> seconds for bshell to execute command
-u <sec>        : Send SIGUSR1 to bshell (wakeup). Only to be used in
                  combination with -w option. Waits <sec> seconds to
                  see if the command is executed.
-s              : Show entire contents of logfile (if accessable)
-l              : Print logfile name of bshell (for later examination)
-T "cmdstr"     : Modify BDB_DEBUG or TT_SQL_TRACE (bshell) and DBSLOG,
                  TT_SQL_TRACE, {DBMS}PROF or {DBMS}STAT (drivers) tracing
                  variables.
                  "cmdstr" may contain multiple commands of the form:
                        <trace variable>=<value>: set variable to value
                        <trace variable>+<value>: add bits to variable
                        <trace variable>-<value>: remove bits from variable

Examples:

Show the process list (wait 10 seconds for response):
bshcmd6.1 -p -s -w 10 <bshell_pid>

Print memory usage to file and show file being used:
bshcmd6.1 -m -l <bshell_pid>

Set DEBUG_LEVEL to 02000:
bshcmd6.1 -d 02000 <bshell_pid>

Kill a bshell process with pid <pid>:
bshcmd6.1 -k <pid> <bshell_pid>

Set TT_SQL_TRACE to log interface calls:
bshcmd6.1 -T "TT_SQL_TRACE+02000" <bshell_pid>

- Only one command can be active (new commands will overwrite previous ones)
- Check the return value to see if a command has been processed (use
  the -w option)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Errorno 22 - cannot link to shared memory torwin Tools Administration & Installation 1 2nd April 2004 20:49
Shared Memory Error in NT event log avpatil Tools Administration & Installation 3 8th July 2003 20:17
validate DD from shared memory NPRao Tools Administration & Installation 0 29th May 2003 20:50
Calculate shared memory walter01 Operating Systems & Databases 3 24th December 2002 20:31
Detected database server termination (help! aide! ayuda! hilfe! ayuto! hellup! •‚¯!)! Francesco Operating Systems & Databases 15 20th July 2002 11:37


All times are GMT +2. The time now is 01:11.


©2001-2018 - Baanboard.com - Baanforums.com