how to start and stop DataStage

Information Server V11.7 start and stop

Stop DataStage

#login as dsadm
#cd /opt/IBM/InformationServer/Server/DSEngine
#. ./dsenv
#bin/uv -admin -stop
In 1 line
su - dsadm -c ". /opt/IBM/InformationServer/Server/DSEngine/dsenv; /opt/IBM/InformationServer/Server/DSEngine/bin/uv -admin -stop"
 
#login as root
#cd /opt/IBM/InformationServer/ASBNode/bin
#./NodeAgents.sh stop
 
#cd  /opt/IBM/InformationServer/ASBServer/bin
#./MetadataServer.sh stop

#11.7からshared open sourceを追加
#cd /opt/IBM/InformationServer/shared-open-source/bin
#./stop-linux-services.sh

#login as db2inst1
#db2stop
 

start DataStage

#login as db2inst1
#db2start

#11.7からshared open sourceを追加
#login as root
#cd /opt/IBM/InformationServer/shared-open-source/bin
#./start-linux-services.sh

#login as root
#cd  /opt/IBM/InformationServer/ASBServer/bin
#./MetadataServer.sh run
 
#cd /opt/IBM/InformationServer/ASBNode/bin
#./NodeAgents.sh start
 
#login as dsadm
#cd /opt/IBM/InformationServer/Server/DSEngine
#. ./dsenv
#bin/uv -admin -start
In 1 line
su - dsadm -c ". /opt/IBM/InformationServer/Server/DSEngine/dsenv; /opt/IBM/InformationServer/Server/DSEngine/bin/uv -admin -start"  

start/stop Zookeeper, Kafka, Solr services

#cd /opt/IBM/InformationServer/shared-open-source/bin
# ls -l s*linux*
-rwxr-xr-x 1 root root 649  6月 10  2020 start-linux-services.sh
-rwxr-xr-x 1 root root 786  6月 10  2020 status-linux-services.sh
-rwxr-xr-x 1 root root 645  6月 10  2020 stop-linux-services.sh
# ./status-linux-services.sh
service name           state     pid
====================   =======   ======
InfoSrvZookeeper       stopped
InfoSrvSolrCloud       stopped
InfoSrvKafka           stopped
# ./start-linux-services.sh
Starting the zookeeper server on node 1
ZooKeeper JMX enabled by default
Using config: /opt/IBM/InformationServer/shared-open-source/zookeeper/conf/zoo1.cfg
Starting zookeeper ... STARTED
Waiting for zookeeper 1 to listen on port 52181: 10
Application zookeeper 1 is running under pid 29167...
Waiting for zookeeper 1 to listen on port 52181: 30
Application zookeeper 1 is running under pid 29167...
Starting the solr cloud service on node 1
neither jattach nor jstack in /opt/IBM/InformationServer/jdk could be found, so no thread dumps are possible. Continuing.
*** [WARN] *** Your open file limit is currently 10240.
 It should be set to 65000 to avoid operational disruption.
 If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Waiting up to 180 seconds to see Solr running on port 58983 [\]
Started Solr server on port 58983 (pid=29356). Happy searching!
                                                                          Waiting for solr to listen on port 58983: 10
Application solr is running under pid 29356...
Waiting for zookeeper 1 to listen on port 52181: 30
Application zookeeper 1 is running under pid 29167...
Starting the kafka server on node 1
Waiting for kafka 1 to listen on port 59092:  7
Application kafka 1 is running under pid 29658...
# ./status-linux-services.sh
service name           state     pid
====================   =======   ======
InfoSrvZookeeper       running   29167
InfoSrvSolrCloud       running   29356
InfoSrvKafka           running   29658
# ./stop-linux-services.sh
Stopping the kafka server
Waiting for kafka 1 process 29658 to stop: application is stopped...
Stopping the solr cloud service on node 1
neither jattach nor jstack in /opt/IBM/InformationServer/jdk could be found, so no thread dumps are possible. Continuing.
Sending stop command to Solr running on port 58983 ... waiting up to 180 seconds to allow Jetty process 29356 to stop gracefully.
Stopping the zookeeper server on node 1
ZooKeeper JMX enabled by default
Using config: /opt/IBM/InformationServer/shared-open-source/zookeeper/conf/zoo1.cfg
Stopping zookeeper ... STOPPED
Waiting for zookeeper process 29167 to stop: application is stopped...
# ./status-linux-services.sh
service name           state     pid
====================   =======   ======
InfoSrvZookeeper       stopped
InfoSrvSolrCloud       stopped
InfoSrvKafka           stopped

実行例

# su - db2inst1
最終ログイン: 2021/01/26 (火) 08:59:16 JST日時 pts/0
-sh-4.2$ . /home/db2inst1/sqllib/db2profile
-sh-4.2$ db2stop
2021-01-26 09:04:40     0   0   SQL1064N  DB2STOP processing was successful.
SQL1064N  DB2STOP processing was successful.
-sh-4.2$ db2start
01/26/2021 09:04:50     0   0   SQL1063N  DB2START processing was successful.
SQL1063N  DB2START processing was successful.
$ exit
ログアウト
# Information Server V11.7から以下のshared open sourceが追加された。
# cd /opt/IBM/InformationServer/shared-open-source/bin
# ./start-linux-services.sh
Starting the zookeeper server on node 1
JMX enabled by default
Using config: /opt/IBM/InformationServer/shared-open-source/zookeeper/conf/zoo1.cfg
Starting zookeeper ... STARTED
Waiting for zookeeper 1 to listen on port 52181: 10
Application zookeeper 1 is running under pid 7000...
Waiting for zookeeper 1 to listen on port 52181: 30
Application zookeeper 1 is running under pid 7000...
Starting the solr cloud service on node 1
*** [WARN] *** Your open file limit is currently 10240.
 It should be set to 65000 to avoid operational disruption.
 If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Waiting up to 180 seconds to see Solr running on port 58983 [\]
Started Solr server on port 58983 (pid=7334). Happy searching!

Waiting for solr to listen on port 58983: 10
Application solr is running under pid 7334...
Waiting for zookeeper 1 to listen on port 52181: 30
Application zookeeper 1 is running under pid 7000...
Starting the kafka server on node 1
Waiting for kafka 1 to listen on port 59092:  9
Application kafka 1 is running under pid 7702...
# cd /opt/IBM/InformationServer/ASBServer/bin
# ./MetadataServer.sh run
ADMU0116I: ツール情報は次のファイルに記録されています:
           /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1/startServer.log
ADMU0128I: InfoSphere プロファイルを使用してツールを開始しています
ADMU3100I: サーバーの構成を読み取ります: server1
ADMU3200I: サーバーが起動しました。 開始処理中です。
ADMU3000I: サーバー server1 は e-business に対してオープンな状態です。プロセス ID は 3703 です。
Waiting for Information Server initialization...
2021年  1月 26日 火曜日 09:11:07 JST
# cd /opt/IBM/InformationServer/ASBNode/bin
[root]# ./NodeAgents.sh start
Starting Agent...
Agent started.
# su - dsadm
最終ログイン: 2021/01/26 (火) 09:11:59 JST日時 pts/0
-sh-4.2$ cd /opt/IBM/InformationServer/Server/DSEngine
-sh-4.2$ . ./dsenv
-sh-4.2$ bin/uv -admin -start

Checking NLS locale OFF
Checking NLS locale DEFAULT
Checking NLS locale IE-ENGLISH
Checking NLS locale JP-JPN-JAPANESE
Checking NLS locale NZ-ENGLISH
Checking NLS locale ZA-ENGLISH
Checking NLS locale GB-ENGLISH
Checking NLS locale US-ENGLISH
Checking NLS locale JP-JAPANESE
Checking NLS locale AU-ENGLISH
Checking NLS locale CA-ENGLISH
Loading NLS map file UNICODE
Loading NLS map file UTF8
Loading NLS map file ASCII
Loading NLS map file ISO8859-1
Loading NLS map file ISO8859-1+MARKS
Loading NLS map file MNEMONICS
Loading NLS map file MS932-CS
Loading NLS map file UTF8-CS
Loading NLS map file ISO8859-1-CS
Loading NLS map file ISO8859-2-CS
Loading NLS map file ISO8859-3-CS
Loading NLS map file ISO8859-4-CS
Loading NLS map file ISO8859-5-CS
Loading NLS map file ISO8859-6-CS
Loading NLS map file ISO8859-7-CS
Loading NLS map file ISO8859-8-CS
Loading NLS map file ISO8859-9-CS
Loading NLS map file ISO8859-10-CS
Loading NLS map file ISO8859-15-CS
Loading NLS map file MS1250-CS
Loading NLS map file MS1251-CS
Loading NLS map file MS1252-CS
Loading NLS map file MS1253-CS
Loading NLS map file MS1254-CS
Loading NLS map file MS1255-CS
Loading NLS map file MS1256-CS
Loading NLS map file MS1256-WIN2K-CS
Loading NLS map file PC874-CS
Loading NLS map file MS936-CS
Loading NLS map file MS949-CS
Loading NLS map file MS950-CS
Loading NLS map file TIS620-CS
Loading NLS map file SHIFT-JIS-CS
Loading NLS map file JIS-EUC+-CS
Loading NLS map file ASCII+MARKS
Loading NLS map file ISO8859-10
Loading NLS map file ISO8859-10+MARKS
Loading NLS map file ISO8859-15
Loading NLS map file ISO8859-15+MARKS
Loading NLS map file ISO8859-2
Loading NLS map file ISO8859-2+MARKS
Loading NLS map file ISO8859-3
Loading NLS map file ISO8859-3+MARKS
Loading NLS map file ISO8859-4
Loading NLS map file ISO8859-4+MARKS
Loading NLS map file ISO8859-5
Loading NLS map file ISO8859-5+MARKS
Loading NLS map file ISO8859-6
Loading NLS map file ISO8859-6+MARKS
Loading NLS map file ISO8859-7
Loading NLS map file ISO8859-7+MARKS
Loading NLS map file ISO8859-8
Loading NLS map file ISO8859-8+MARKS
Loading NLS map file ISO8859-9
Loading NLS map file ISO8859-9+MARKS
Loading NLS map file JIS-EUC
Loading NLS map file JIS-EUC+
Loading NLS map file JPN-EBCDIC
Loading NLS map file JPN-EBCDIC-IBM78
Loading NLS map file JPN-EBCDIC-IBM78-SEC
Loading NLS map file JPN-EBCDIC-IBM83
Loading NLS map file JPN-EBCDIC-IBM83-SEC
Loading NLS map file JPN-EBCDIC-JEF78
Loading NLS map file JPN-EBCDIC-JEF78-SEC
Loading NLS map file JPN-EBCDIC-JEF83
Loading NLS map file JPN-EBCDIC-JEF83-SEC
Loading NLS map file JPN-EBCDIC-KEIS78
Loading NLS map file JPN-EBCDIC-KEIS78-SEC
Loading NLS map file JPN-EBCDIC-KEIS83
Loading NLS map file JPN-EBCDIC-KEIS83-SEC
Loading NLS map file JPN-EBCDIK
Loading NLS map file JPN-EBCDIK-IBM78
Loading NLS map file JPN-EBCDIK-IBM78-SEC
Loading NLS map file JPN-EBCDIK-IBM83
Loading NLS map file JPN-EBCDIK-IBM83-SEC
Loading NLS map file JPN-EBCDIK-JEF78
Loading NLS map file JPN-EBCDIK-JEF78-SEC
Loading NLS map file JPN-EBCDIK-JEF83
Loading NLS map file JPN-EBCDIK-JEF83-SEC
Loading NLS map file JPN-EBCDIK-KEIS78
Loading NLS map file JPN-EBCDIK-KEIS78-SEC
Loading NLS map file JPN-EBCDIK-KEIS83
Loading NLS map file JPN-EBCDIK-KEIS83-SEC
Loading NLS map file JPN-EUC-KAT
Loading NLS map file JPN-EUC-ONE
Loading NLS map file JPN-IBM78
Loading NLS map file JPN-IBM83
Loading NLS map file JPN-JEF78
Loading NLS map file JPN-JEF83
Loading NLS map file JPN-JIPSE
Loading NLS map file JPN-JIPSJ
Loading NLS map file JPN-JIS8
Loading NLS map file JPN-JIS8-JIPSJ
Loading NLS map file JPN-JIS8-JIPSJ-SEC
Loading NLS map file JPN-KEIS78
Loading NLS map file JPN-KEIS83
Loading NLS map file JPN-NEBCDIK
Loading NLS map file JPN-NEBCDIK-JIPSE
Loading NLS map file JPN-NEBCDIK-JIPSE-SEC
Loading NLS map file JPN-SJIS
Loading NLS map file MS1250
Loading NLS map file MS1251
Loading NLS map file MS1252
Loading NLS map file MS1252+MARKS
Loading NLS map file MS1253
Loading NLS map file MS1254
Loading NLS map file MS1255
Loading NLS map file MS1256
Loading NLS map file MS1256-WIN2K
Loading NLS map file MS932
Loading NLS map file MS936
Loading NLS map file MS949
Loading NLS map file MS950
Loading NLS map file PC1041
Loading NLS map file PC437
Loading NLS map file PC850
Loading NLS map file PRIME-SHIFT-JIS
Loading NLS map file SHIFT-JIS
Loading NLS map file SHIFT-JIS+MARKS
Loading NLS map file TAU-SHIFT-JIS
120 NLS Character Set Maps loaded in 8885960 bytes.
Loading 11 NLS Locales
11 NLS Locales loaded in 1844360 bytes
DataStage Engine 11.7.1.0 instance "ade" has been brought up.
Starting JobMonApp
JobMonApp has been started.
resource_tracker has been started.
Starting DSAppWatcher
$ exit

コメント

人気の投稿