Improve performances

Tools and several solutions to manage Control-M products
User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Improve performances

Post by mauriziog » 28 Aug 2007 12:30

How is possible to improve the performaces of the ControlM server and EM ?
In a new linux machine installtion with oracle I have a veery slow response: a single job that do an ls command duration is about 15 minutes, slow to start, that yellow for many time and finally green.

I know that there is a manner to configure the use of temporaries directories in a ram, like ramdrive in win. But how and for witch folders?
Thanks

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 28 Aug 2007 4:05

Hy mauriziog,
you've just to download TunningCTM6.1.03SOLARIS-SYBASE.pdf on the download part of the site (Controlm server).
All is explain about it:
the FS are the following :
in 6.1.03
$HOME/ctm/tmp
$HOME/ctm/pid
in 6.3
$HOME/ctm_server/tmp
$HOME/ctm_server/pid

just create them in tmp directorie by
mkdir -p /tmp/ctm/pid
mkdir -p /tmp/ctm/tmp
chown group:user /tmp/ctm/pid
chown group:user /tmp/ctm/tmp
delete tmp and pid directories in $HOME/ctm
and do the following links:
ln -s /tmp/ctm/pid pid
ln -s /tmp/ctm/tmp tmp

:wink:

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 28 Aug 2007 4:14

Thanks,
for the oracle DB isnt important to do the same thing?

You have information on how to do the same thing for windows?

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 28 Aug 2007 4:21

we have only SYBASE with controlm, but i know that our DBA doing the same kind of think with the database.
i will ask for oracle and return to you
regards
Philmalmaison

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 28 Aug 2007 4:24

For linux I have found that there is the ramfs:
-----------------
mkdir -p /RAM1
mount -t ramfs none /RAM1
-----------------

And is possible to change the size.
In your example in solaris how work the size ?

Another question:
Have you used the ramdrive for the "STATUS" directory ?

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 28 Aug 2007 4:30

just the swap is define as a file system with a fixed size at the start of the host, so you have to automate it by a start script, the swap desappear when stop/start the host
regards

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 28 Aug 2007 4:32

the swap is here an element of the system , and is define for everybody to accelerate some I/O processus.

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 28 Aug 2007 4:45

our DBA are doing it for tempdb on sybase database, but databases can be manage by there own mecanism to in sybase or oracle.

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 28 Aug 2007 4:58

Can you say me if this fixed size started at the start of the host is dinamical in the ram or statical?

If is dinamical the "fixed size" work as a max size and the ram used is only the size of real files in it; if statical the ram used is fixed indipendently on the real use off the TMP directory.

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 28 Aug 2007 5:48

the swap is declared at installation of the host , but it's remove at every boot of the host. So the swap is recreate at every boot, and your own links have to be declared as a static process in the rcx.d directories (as following example)

DEV root@vega:/etc/rc2.d # more S51Controlmserver
# create tmp directories in swap
mkdir -p /var/run/ctm/pid
mkdir -p /var/run/ctm/tmp
chown ctm630d:ctm630 /var/run/ctm/pid
chown ctm630d:ctm630 /var/run/ctm/tmp
cd /prj/bcm/dev/ctm630d/ctm_server
ln -s /var/run/ctm/pid pid
ln -s /var/run/ctm/tmp tmp
# start database at boot
su - ctm630d -c dbversion
if [ $? -eq 0 ] ; then
echo "SQL Server is already running "
exit 15
else
if [ -f /prj/bcm/dev/ctm630d/ctm_server/scripts/startdb ]; then
echo "Starting SQL server for CONTROL-M"
su - ctm630d -c startdb &
echo "Sleeping for 20"
sleep 20
fi
fi

# start CONTROL-M Configuration Agent at boot
if [ -f /prj/bcm/dev/ctm630d/ctm_server/scripts/start_ca ]; then
echo "Starting CONTROL-M Server Configuration Agent"
su - ctm630d -c /prj/bcm/dev/ctm630d/ctm_server/scripts/start_ca &
sleep 10
fi

# start CONTROL-M at boot
if [ -f /prj/bcm/dev/ctm630d/ctm_server/scripts/start_ctm ]; then
echo "Starting CONTROL-M application"
su - ctm630d -c /prj/bcm/dev/ctm630d/ctm_server/scripts/start_ctm &
sleep 10
fi
exit 0
DEV root@vega:/etc/rc2.d #


this example works correctly at every reboot of this host

regards
Philmalmaison

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 28 Aug 2007 5:49

the swap is declared at installation of the host , but it's remove at every boot of the host. So the swap is recreate at every boot, and your own links have to be declared as a static process in the rcx.d directories (as following example)

DEV root@vega:/etc/rc2.d # more S51Controlmserver
# create tmp directories in swap
mkdir -p /var/run/ctm/pid
mkdir -p /var/run/ctm/tmp
chown ctm630d:ctm630 /var/run/ctm/pid
chown ctm630d:ctm630 /var/run/ctm/tmp
cd /prj/bcm/dev/ctm630d/ctm_server
ln -s /var/run/ctm/pid pid
ln -s /var/run/ctm/tmp tmp
# start database at boot
su - ctm630d -c dbversion
if [ $? -eq 0 ] ; then
echo "SQL Server is already running "
exit 15
else
if [ -f /prj/bcm/dev/ctm630d/ctm_server/scripts/startdb ]; then
echo "Starting SQL server for CONTROL-M"
su - ctm630d -c startdb &
echo "Sleeping for 20"
sleep 20
fi
fi

# start CONTROL-M Configuration Agent at boot
if [ -f /prj/bcm/dev/ctm630d/ctm_server/scripts/start_ca ]; then
echo "Starting CONTROL-M Server Configuration Agent"
su - ctm630d -c /prj/bcm/dev/ctm630d/ctm_server/scripts/start_ca &
sleep 10
fi

# start CONTROL-M at boot
if [ -f /prj/bcm/dev/ctm630d/ctm_server/scripts/start_ctm ]; then
echo "Starting CONTROL-M application"
su - ctm630d -c /prj/bcm/dev/ctm630d/ctm_server/scripts/start_ctm &
sleep 10
fi
exit 0
DEV root@vega:/etc/rc2.d #


this example works correctly at every reboot of this host

regards
Philmalmaison

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 28 Aug 2007 5:49

the defined swap :

DEV root@vega:/etc/rc2.d # df -k | grep swap
swap 2899424 120 2899304 1% /var/run
DEV root@vega:/etc/rc2.d #

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 28 Aug 2007 6:51

For windows I have find ramdisk utilities, someone have experienced some? Some Feedbacks for windows 2003 cluster?

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Post by fyot » 28 Aug 2007 7:45

You could find RAMDISK in the download part of the site.
That version run correctly with Windows 2003 and Control-M.

So, the result was not so important than Unix Swap memory usage.
You need a lot of available memory.
Windows already use DISK to extend its own memory.

Concerning the CLUSTER version.
I don't know. Anyway, be carefull to use only temporary files in RAMDISK.
You won't have any lost files during th switch.

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 29 Aug 2007 9:30

Hi fyot,

fyot wrote:So, the result was not so important than Unix Swap memory usage.
You need a lot of available memory.
Windows already use DISK to extend its own memory.

Concerning the CLUSTER version.
I don't know. Anyway, be carefull to use only temporary files in RAMDISK.
You won't have any lost files during th switch.
Thanks for this informations about performances, good and usefull feedback.

For the CLUSTER: the temporary files is exactly the problem.
If the ramdrive can be clusterizable maybe we dont lose the temporary files on switch...
I think that in the cluster environment is not advisable.
Dont you?

Post Reply