彩票走势图

Zend Server服务器集群请求参数与错误代码(附示例)

原创|使用教程|编辑:龚雪|2014-04-22 10:18:09.000|阅读 202 次

概述:Zend Server服务器集群连接中的请求参数与错误代码描述,及连接示例。

# 慧都年终大促·界面/图表报表/文档/IDE等千款热门软控件火热促销中 >>

Zend Server提供企业级的Web应用服务器,特别是对PHP应用程序的支持很完美。Zend Server服务器的集群管理方法有很多,下面介绍下服务器集群连接的请求参数和错误代码。

请求参数:

Parameter

 Type

Required

Description

serverName

String

Yes

Server name

dbHost

String

Yes

Database host address to join the cluster

dbUsername

String

Yes

Database credentials (username)

dbPassword

String

Yes

Database credentials (password)

nodeIp

String

Yes

Server IP

dbName

String

Yes

Database name

failIfConnected

Boolean

No

Cause the action to completely fail if the server is already connected. Otherwise, a normal 200 status is returned without performing any action. Default: false

错误代码:

HTTP Code

 Error Code

Description

400

alreadyConnected

The server is already a member of a cluster (not necessarily the current cluster)

400

wrongPassword

Provided GUI password is incorrect

405

notImplementedByEdition

This method is only available on Professional or Enterprise editions

500

invalidServerResponse

Invalid or unexpected response from new server

500

serverNotLicensed

Zend Server is not licensed

500

noActiveServers

The server cannot be added because all servers in the cluster are disabled or unreachable

500

cantConnectToServer

Zend Server is unable to connect to the specified Server URL

503

temporarilyLocked

The server cannot be added because a cluster member is in graceful startup / shutdown mode

Zend Server服务器集群连接示例:

请求:

POST /ZendServer/Api/clusterAddServer

serverName=www-05&serverURL=//www-05.local:10081/ZendServer&

guiPassword=somepassword&doRestart=TRUE

响应:

点击下载Zend Server最新试用版


标签:web服务器PHP服务器服务器

本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@pclwef.cn


为你推荐

  • 推荐视频
  • 推荐活动
  • 推荐产品
  • 推荐文章
  • 慧都慧问
扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP