Yes.  The sqgen command takes in the configuration file for the trafodion
cluster and generates gomon.cold, gomon.warm and other relevant scripts.
These generated scripts are copied to all nodes in the cluster. These
scripts are nothing but the commands to sqshell. sqstart uses either
gomon.cold or gomon.warm to start the Trafodion instance.



Selva



*From:* Gunnar Tapper [mailto:[email protected]]
*Sent:* Monday, March 14, 2016 10:03 PM
*To:* [email protected]
*Subject:* Re: Anyway to start Trafodion without sqstart



DCS and REST follow the HBase model so that should be a simple matter of
invoking the *-daemon.sh scripts.



I think the rest is a matter of using sqshell:



[centos@trafodion incubator-trafodion]$ sqshell

Processing cluster.conf on local host trafodion.novalocal

[SHELL] Shell/shell Version 1.0.1 Apache_Trafodion Release 2.0.0 (Build
debug [centos], date 11Mar16)

[SHELL] %help

[SHELL] usage: shell {[-a|-i] [<scriptfile>]} | {-c <command>}

[SHELL] - commands:

[SHELL] -- Command line environment variable replacement: ${<var_name>}

[SHELL] -- ! comment statement

[SHELL] -- cd <path>

[SHELL] -- delay <seconds>

[SHELL] -- down <nid> [, <reason-string>]

[SHELL] -- dump [{path <pathname>}] <process name> | <nid,pid>

[SHELL] -- echo [<string>]

[SHELL] -- event [{ASE|TSE|DTM|AMP|BO|VR|CS}] <event_id> [<nid,pid> [
event-data] ]

[SHELL] -- exec [{[debug][nowait][pri <value>][name <process name>]

[SHELL]           [nid <zone or node number>][type
{AMP|ASE|BO|CS|DTM|PSD|SMS|SPX|SSMP|TSE|VR}]

[SHELL] --        [in <file>|#default][out <file>|#default]}] path
[[<args>]...]

[SHELL] -- exit [!]

[SHELL] -- help

[SHELL] -- kill [{abort}] <process name> | <nid,pid>

[SHELL] -- ldpath [<directory>[,<directory>]...]

[SHELL] -- ls [{[detail]}] [<path>]

[SHELL] -- measure | measure_cpu

[SHELL] -- monstats

[SHELL] -- node [info [<nid>]]

[SHELL] -- path [<directory>[,<directory>]...]

[SHELL] -- ps [{ASE|TSE|DTM|AMP|BO|VR|CS}] [<process_name>|<nid,pid>]

[SHELL] -- pwd

[SHELL] -- quit

[SHELL] -- scanbufs

[SHELL] -- set [{[nid <number>]|[process <name>]}] key=<value string>

[SHELL] -- show [{[nid <number>]|[process <name>]}] [key]

[SHELL] -- shutdown [[immediate]|[abrupt]|[!]]

[SHELL] -- startup [trace] [<trace level>]

[SHELL] -- suspend [<event_id>]

[SHELL] -- time <shell command>

[SHELL] -- trace <number>

[SHELL] -- up <name>

[SHELL] -- wait [<process name> | <nid,pid>]

[SHELL] -- warmstart [trace] [<trace level>]

[SHELL] -- zone [nid <nid>|zid <zid>]

[



Obviously, you can up/down nodes but I don't know how that works in
relationship to the startup command.



On Mon, Mar 14, 2016 at 11:52 AM, Amanda Moran <[email protected]>
wrote:

Hi there-



Is there a way to start up Trafodion not by using sqstart...? I would like
to be able to start up/stop each node individually.



Thanks!



-- 

Thanks,



Amanda Moran





-- 

Thanks,



Gunnar

*If you think you can you can, if you think you can't you're right.*

Reply via email to