trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Broeder <>
Subject RE: About sqgen
Date Fri, 17 Nov 2017 02:30:51 GMT
In a development environment, sqgen is frequently required when you pull new software that
has some new feature set, but not always.

Running sqgen as part of sqstart would slow the start down and is probably unwanted in cases
where a simple restart is wanted.  I don't often run on a real cluster, so my experience there
is limited, but I would think a simple way to achieve what you are suggesting without changing
it for everyone is either executing the two commands with a semicolon separating them or to
create an alias.

Others may have additional input.



-----Original Message-----
From: Liu, Yuan (Yuan) [] 
Sent: Thursday, November 16, 2017 4:47 PM
Subject: RE: About sqgen

Hi Sean,

Thanks a lot for your answer. Now I know that we need to rerun sqgen when we change sqconfig,
any other cases that we also need to rerun sqgen?
Also, is is possible that we make sqgen as part of sqstart? Because sometimes we might forget
to rerun sqgen because it is a separate part for sqstart.

Best regards,

-----Original Message-----
From: Sean Broeder [] 
Sent: Friday, November 17, 2017 7:24 AM
Subject: RE: About sqgen

Hi Yuan,
Sqgen is a script that takes a mixture of configuration and release specific parameters and
creates or sets up a number of files that are used at startup and runtime.

For example, there is a file named sqconfig that describes the cluster (the number of nodes,
the location of $TRAF_HOME, etc).  Sqgen takes this file and other scripts to programmatically
generate $TRAF_HOME/etc/ms.env, gomon.cold, etc.  These are files that are created specifically
and tailored to the installed cluster and release that it is running.  In this way, when a
user types 'sqstart' the scripts, directories, and files are all in place for the monitor
and other processes to read and come up quickly and consistently.

If you later decide to alter the configuration of your cluster, for example it you change
the number of nodes in sqconfig, you can stop Trafodion and rerun sqgen.  When Trafodion is
restarted it will reflect the new changes you've specified.

-----Original Message-----
From: Liu, Yuan (Yuan) [] 
Sent: Thursday, November 16, 2017 1:58 AM
Subject: About sqgen

Hi Trafodioneers,

As we know, the first time when we install Trafodion, "sqgen" is required to run, can anyone
give a brief introduction about sqgen? What does sqgen do?
Thanks ahead.

Best regards,

View raw message