Service Restart Method for the Wedora Cloud

Supplement

Service Restart Method

Mysql

Stop:

#service mysqld stop

Start:

#service mysqld start

mongo

Stop:

#ps -ef|grep mongo

#kill -9 {PID}

Start:

#/usr/local/mongodb/bin/mongod --config /usr/local/mongodb/mongodb.conf--auth

#ps -ef|grep mongo

#tail -f /usr/local/mongodb/data/logs/mongodb.log

Msgbus

Restart:

#ps -ef|grep msbgus

#kill -9 {PID}

#kill -9 {PID}

#cd /usr/local/wedora/msgbus

#ps -ef|grep msgbus

#nohup ./msgbus_start.sh 2> /dev/null 2>&1 &

#tail -f /usr/local/wedora/msgbus/log/hd.log

Tomcat

Stop:

#ps -ef|grep tomcat7

#Kill -9 {PID}

Start:

#cd /usr/local/wedora/tomcat7/bin/

View:

#ps -ef|grep tomcat

Start:

#./startup.sh

#ps -ef|grep tomcat

#cd/usr/local/wedora/tomcat7/logs

#tail -f /usr/local/wedora/tomcat7/logs/app.log

ibserver

Stop:

#ps -ef|grep ibserver

#cd /usr/local/wedora/ibserver/

#./shutdown.sh

#ps -ef|grep ibserver

( The PID is change from 31853 to 62702, i.e. ibserver service is restart)

Start:

#./startup.sh

(Automatic input log information, by Ctrl+C to exit)

#ps -ef|grep ibserver

(The python ibserver.py service is started)

wmmp

Stop:

#ps –ef|grep wmmp

#kill -9 {PID1} **(As show in figure, kill the 33895 script process)

#kiil -9 {PID2} **(Then kill the 33881 wmmp service)

#ps -ef|grep wmmp

(The wmmp1_startup.sh and wmmp1 fep -n fep.wmmp1 processes don‘t exit, mean wmmp service is stopped)

Start:

#cd /usr/local/wedora/wmmp1/

#nohup ./wmmp1_startup.sh 2> /dev/null 2>&1 &

#ps -ef|grep wmmp

(wmmp1_startup.sh(PID=55038) and wmmp1 fep -n fep.wmmp1(PID=55059) processes start, mean the wmmp service is started)

Log: (you can check the log to validate after the restart service)

#cd /usr/local/wedora/wmmp1/log/

#tail -f hd.log

时间: 2024-10-10 16:52:39

Service Restart Method for the Wedora Cloud的相关文章

Wedora Platform Offline Installation Steps

1 Preparation Before the installation, you need to check the following: Install the CentOS-6.5 64 bit in your server machine.(We suggests use CentOS-6.5-x86_64bin-DVD1.iso ). The CentOS system shall be without Java and Mysql database, etc, which will

Windows Azure Cloud Service (36) 在Azure Cloud Service配置SSL证书

<Windows Azure Platform 系列文章目录> 在某些时候,我们需要在Azure PaaS Cloud Service配置HTTPS连接.本章将介绍如何在本地创建证书,然后使用HTTPS连接Azure Cloud Service. 1.创建证书 以管理员身份运行CMD,使用Makecert命令,安装Azure证书.具体的命令如下: makecert -sky exchange -r -n "CN=<CertificateName>" -pe -a

Windows Azure Cloud Service (44) 将Cloud Service加入Virtual Network Subnet,并固定Virtual IP Address(VIP)

<Windows Azure Platform 系列文章目录> 在之前的文章中,笔者已经详细介绍了如何将Virtual Machine加入Virtual Network,并且绑定固定的Private IP和Virtual IP Address (公网IP地址) Windows Azure Virtual Network (5) 设置Azure Virtual Machine固定Private IP       Windows Azure Virtual Network (6) 设置Azure

Building Microservices with Spring Cloud - Service discovery

What is service discovery and why we use it? A way for service to register it self A way for a service to deregister it self A way for a client to find other services A way to check the health of a service and remove unhealthy instances Spring Cloud

svcs (service status) 和 svcadm (service administration) 使用

1. svcs  显示服务实例的状态信息 svcs - report service status  显示服务状态命令 DESCRIPTION The svcs command displays information about service instances as recorded in the service configuration repository. 该命令显示记录在服务配置库中的服务实例信息 The first form of this command prints one

Information Centric Networking Based Service Centric Networking

A method implemented by a network device residing in a service domain, wherein the network device comprises an information centric networking (ICN) transport layer and a service access layer (SAL) for handling context-aware service logistics and serv

Reentrant protected mode kernel using virtual 8086 mode interrupt service routines

A method for allowing a protected mode kernel to service, in virtual 8086 mode, hardware interrupts which occur during execution of ring 0 protected mode code. When an interrupt occurs during execution of ring 0 code, the microprocessor copies the?st

Spring Cloud 入门教程(六): 用声明式REST客户端Feign调用远端HTTP服务

首先简单解释一下什么是声明式实现? 要做一件事, 需要知道三个要素,where, what, how.即在哪里( where)用什么办法(how)做什么(what).什么时候做(when)我们纳入how的范畴. 1)编程式实现: 每一个要素(where,what,how)都需要用具体代码实现来表示.传统的方式一般都是编程式实现,业务开发者需要关心每一处逻辑 2)声明式实现: 只需要声明在哪里(where )做什么(what),而无需关心如何实现(how).Spring的AOP就是一种声明式实现,

002-Spring Cloud 功能简介

一.主要功能 分布式/版本化配置.服务注册与发现.路由.服务间调用.负载均衡.断路器.分布式消息传递 1.云本地应用[Cloud Native Applications] Spring Cloud Context  上下文和Spring Cloud Commons.Spring Cloud Context为Spring Cloud应用程序的ApplicationContext(引导上下文.加密.刷新范围和环境端点)提供实用程序和特殊服务.Spring Cloud Commons是不同的Sprin