首页 最新文章网站服务器运维正文

Appcan运维日记

blob.png

MAS1(106)
************************************************************************
[root@iZ23jvd64ccZ ~]# /etc/init.d/nginx start
[root@iZ23jvd64ccZ ~]# /etc/init.d/glusterfsd start
[root@iZ23jvd64ccZ ~]# /etc/init.d/rabbitmq-server start
Starting rabbitmq-server: RabbitMQ is currently running
rabbitmq-server.
[root@iZ23jvd64ccZ ~]# /etc/init.d/redis start
[root@iZ23jvd64ccZ ~]# /etc/init.d/zookeeper start
Starting ZooKeeper daemon (zookeeper): JMX enabled by default
Using config: /usr/sbin/../etc/zookeeper/zoo.cfg
Starting zookeeper ... already running as process 2318.
                                                           [  OK  ]
[root@iZ23jvd64ccZ ~]# su - hadoop
[hadoop@iZ23jvd64ccZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start journalnode
starting journalnode, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-journalnode-iZ23jvd64ccZ.out
[hadoop@iZ23jvd64ccZ ~]$ 
[hadoop@iZ23jvd64ccZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start namenode
starting namenode, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-namenode-iZ23jvd64ccZ.out
[hadoop@iZ23jvd64ccZ ~]$ 
[hadoop@iZ23jvd64ccZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemons.sh start datanode
hdp-1: starting datanode, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-datanode-iZ23jvd64ccZ.out
hdp-2: starting datanode, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-datanode-iZ23icm9ldtZ.out
hdp-3: starting datanode, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-datanode-iZ23ok6p09zZ.out
[hadoop@iZ23jvd64ccZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /home/hadoop/hadoop-2.6.0/logs/yarn-hadoop-resourcemanager-iZ23jvd64ccZ.out
hdp-2: starting nodemanager, logging to /home/hadoop/hadoop-2.6.0/logs/yarn-hadoop-nodemanager-iZ23icm9ldtZ.out
hdp-3: starting nodemanager, logging to /home/hadoop/hadoop-2.6.0/logs/yarn-hadoop-nodemanager-iZ23ok6p09zZ.out
hdp-1: starting nodemanager, logging to /home/hadoop/hadoop-2.6.0/logs/yarn-hadoop-nodemanager-iZ23jvd64ccZ.out
[hadoop@iZ23jvd64ccZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start zkfc
starting zkfc, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-zkfc-iZ23jvd64ccZ.out
[hadoop@iZ23jvd64ccZ ~]$ /home/hadoop/hbase-0.98.12.1-hadoop2/bin/start-hbase.sh
starting master, logging to /home/hadoop/hbase-0.98.12.1-hadoop2/bin/../logs/hbase-hadoop-master-iZ23jvd64ccZ.out
hdp-1: starting regionserver, logging to /home/hadoop/hbase-0.98.12.1-hadoop2/bin/../logs/hbase-hadoop-regionserver-iZ23jvd64ccZ.out
hdp-2: starting regionserver, logging to /home/hadoop/hbase-0.98.12.1-hadoop2/bin/../logs/hbase-hadoop-regionserver-iZ23icm9ldtZ.out
hdp-3: starting regionserver, logging to /home/hadoop/hbase-0.98.12.1-hadoop2/bin/../logs/hbase-hadoop-regionserver-iZ23ok6p09zZ.out
hdp-1: master running as process 4283. Stop it first.
[hadoop@iZ23jvd64ccZ ~]$ exit
logout
[root@iZ23jvd64ccZ ~]# forever start  /usr/local/lib/node_modules/MASAdmin/admin.js
warn:    --minUptime not set. Defaulting to: 1000ms
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info:    Forever processing file: /usr/local/lib/node_modules/MASAdmin/admin.js
[root@iZ23jvd64ccZ ~]# service tomcat6 start
Starting tomcat6:                                          [  OK  ]
[root@iZ23jvd64ccZ ~]# 
___________________________________________________________________________________________________________________________________________
MAS1(163)
**************************************
[root@iZ23icm9ldtZ ~]# /etc/init.d/nginx start 
Starting nginx:                                            [  OK  ]
[root@iZ23icm9ldtZ ~]# /etc/init.d/glusterfsd start
[root@iZ23icm9ldtZ ~]# /etc/init.d/rabbitmq-server start 
Starting rabbitmq-server: 
[1]+  Stopped                 /etc/init.d/rabbitmq-server start
[root@iZ23icm9ldtZ ~]# /etc/init.d/redis start 或 service redis start
Starting redis-server:                                     [  OK  ]
[root@iZ23icm9ldtZ ~]# /etc/init.d/zookeeper start
Starting ZooKeeper daemon (zookeeper): JMX enabled by default
Using config: /usr/sbin/../etc/zookeeper/zoo.cfg
Starting zookeeper ... STARTED
                                                           [  OK  ]
[root@iZ23icm9ldtZ ~]# su - hadoop
[hadoop@iZ23icm9ldtZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start journalnode
starting journalnode, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-journalnode-iZ23icm9ldtZ.out
[hadoop@iZ23icm9ldtZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start namenode
starting namenode, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-namenode-iZ23icm9ldtZ.out
[hadoop@iZ23icm9ldtZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemons.sh start datanode
hdp-2: datanode running as process 2967. Stop it first.
hdp-3: datanode running as process 1628. Stop it first.
hdp-1: datanode running as process 3623. Stop it first.
[hadoop@iZ23icm9ldtZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /home/hadoop/hadoop-2.6.0/logs/yarn-hadoop-resourcemanager-iZ23icm9ldtZ.out
hdp-1: nodemanager running as process 3848. Stop it first.
hdp-2: nodemanager running as process 3067. Stop it first.
hdp-3: nodemanager running as process 1726. Stop it first.
[hadoop@iZ23icm9ldtZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start zkfc
starting zkfc, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-zkfc-iZ23icm9ldtZ.out
[hadoop@iZ23icm9ldtZ ~]$ /home/hadoop/hbase-0.98.12.1-hadoop2/bin/start-hbase.sh
starting master, logging to /home/hadoop/hbase-0.98.12.1-hadoop2/bin/../logs/hbase-hadoop-master-iZ23icm9ldtZ.out
hdp-3: regionserver running as process 1943. Stop it first.
hdp-2: regionserver running as process 3305. Stop it first.
hdp-1: regionserver running as process 4428. Stop it first.
hdp-1: master running as process 4283. Stop it first.
[hadoop@iZ23icm9ldtZ ~]$ exit
logout
[root@iZ23icm9ldtZ ~]# service tomcat6 start
Starting tomcat6:                                          [  OK  ]
[root@iZ23icm9ldtZ ~]# forever start  /usr/local/lib/node_modules/MASAdmin/admin.js
warn:    --minUptime not set. Defaulting to: 1000ms
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info:    Forever processing file: /usr/local/lib/node_modules/MASAdmin/admin.js
____________________________________________________________________________________________________________
EMM(64)
**********************************************
[root@iZ23ok6p09zZ ~]# /etc/init.d/nginx start
[root@iZ23ok6p09zZ ~]# /etc/init.d/zookeeper start
Starting ZooKeeper daemon (zookeeper): JMX enabled by default
Using config: /usr/sbin/../etc/zookeeper/zoo.cfg
Starting zookeeper ... already running as process 1475.
                                                           [  OK  ]
[root@iZ23ok6p09zZ ~]# su - hadoop
[hadoop@iZ23ok6p09zZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start journalnode
starting journalnode, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-journalnode-iZ23ok6p09zZ.out
[hadoop@iZ23ok6p09zZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start namenode
starting namenode, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-namenode-iZ23ok6p09zZ.out
[hadoop@iZ23ok6p09zZ ~]$ /home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start zkfc
starting zkfc, logging to /home/hadoop/hadoop-2.6.0/logs/hadoop-hadoop-zkfc-iZ23ok6p09zZ.out
[hadoop@iZ23ok6p09zZ ~]$ exit
logout
[root@iZ23ok6p09zZ ~]# service tomcat6 start
Starting tomcat6:                                          [  OK  ]

nginx(106/34/64)
启动操作:/etc/init.d/nginx start 
停止操作:/etc/init.d/nginx stop 
重启操作:/etc/init.d/nginx restart 
启动状态查看:service nginx status
开机自启动操作:chkconfig nginx on


glusterfs(106/34)
# /etc/init.d/glusterfsd start
停止文件共享运行状态:
# service glusterfsd stop
重启文件共享运行状态:
# service glusterfsd restart
查看文件共享运行状态:
# service glusterfsd status

rabbitmq(106/34)
启动操作:/etc/init.d/rabbitmq-server start 
停止操作:/etc/init.d/rabbitmq-server stop 
重启操作:/etc/init.d/rabbitmq-server restart 
rabbitmqctl  reset
启动状态查看:/etc/init.d/rabbitmq-server status
开机自启动操作:chkconfig rabbitmq-server on


redis(106/34)
/etc/init.d/redis start 或 service redis start
 /etc/init.d/redis_6380 start 或 service redis_6380 start
/etc/init.d/redis_6381 start 或 service redis_6381 start

停止操作:service redis stop
重启操作:service redis restart


zookeeper(106/34/64)
启动操作:/etc/init.d/zookeeper start 
停止操作:/etc/init.d/zookeeper stop 
重启动操作:/etc/init.d/zookeeper restart 
启动状态查看:service zookeeper status
开机自启动操作:chkconfig zookeeperon


hadoop(106/34/64)
su - hadoop
/home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start journalnode
/home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start namenode
/home/hadoop/hadoop-2.6.0/sbin/hadoop-daemons.sh start datanode

/home/hadoop/hadoop-2.6.0/sbin/start-yarn.sh

/home/hadoop/hadoop-2.6.0/sbin/hadoop-daemon.sh start zkfc

hbase
/home/hadoop/hbase-0.98.12.1-hadoop2/bin/start-hbase.sh

tomcat6(106/34/64)
启动:service tomcat6 start
停止:service tomcat6 stop
重启:service tomcat6 restart
查看Log日志:tail -f /var/log/tomcat6/catalina.out


启动MAS服务:(106/34)
forever start  /usr/local/lib/node_modules/MASAdmin/admin.js
停止MAS服务:
forever stop  /usr/local/lib/node_modules/MASAdmin/admin.js
©️公众号:思考者文刀

评论

精彩评论

百度搜索

站点信息

  • 文章总数:436
  • 页面总数:9
  • 分类总数:30
  • 标签总数:924
  • 评论总数:517
  • 浏览总数:1804753
觉得有用就打赏吧
关注本站公众号,享受更多服务!
联系方式
合作微信:itker0110
新媒体:Excel加油站(抖音/小红书/哔哩/头条)
公众号:左手Excel右手VBA
知乎:Excel其实很简单
Copyright2015-2024.Powered by ©️云水客 | 网站地图 | 辽ICP备14000512号-5
您是本站第955名访客 今日有0篇新文章