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.
 
Regards,
Sean

-----Original Message-----
From: Liu, Yuan (Yuan) [mailto:yuan....@esgyn.cn] 
Sent: Thursday, November 16, 2017 1:58 AM
To: dev@trafodion.incubator.apache.org
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,
Yuan

Reply via email to