PHP应用程序的服务器集群发送请求与代码错误赏析(zend server)

本文详细介绍了ZendServer服务器集群的连接请求参数、错误代码及其含义,包括serverName、dbHost、dbUsername、dbPassword、nodeIp、dbName等参数的作用,以及常见错误代码如alreadyConnected、wrongPassword等的解释。

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


转载于:https://my.oschina.net/evget/blog/225098

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值