千家信息网

怎么控制批处理服务器

发表于:2026-11-01 作者:千家信息网编辑
千家信息网最后更新 2026年11月01日,这篇文章主要介绍怎么控制批处理服务器,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!介绍批处理服务器现在由Syracuse平台管理。这意味着您可以使用HTTP或https模式以及
千家信息网最后更新 2026年11月01日怎么控制批处理服务器

这篇文章主要介绍怎么控制批处理服务器,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

介绍

批处理服务器现在由Syracuse平台管理。这意味着您可以使用HTTP或https模式以及一组控制它的URL来访问服务。任何工具都可以使用不同的语法。

您可以通过多种方式执行此操作:

1.列出批处理服务器,然后调用API进行访问

2.通过其代码直接访问批处理服务器

3.使用批处理服务器调度程序

1.列出批处理服务器,然后调用API来访问它们

获取批处理服务器列表(如果有多个)。

将myserv:port作为服务器主机名或地址以及Syracuse Web服务器使用的TCP端口,URL将为:

http://myserv:port/api1/syracuse/collaboration/syracuse/batchServers?representation=batchServer.$query

注意

在上面的URL中,可以从http客户端使用/ api1 /段,该客户端传输身份验证(例如curl或postman)。它将会话作为Web服务进行管理。通过Web客户端进行身份验证时,可以将/ api1 /替换为/ sdata /。

请求的结果类似于此提要。在这种情况下,该$resource数组包含该$key值标识的批处理服务器列表。的status也被进料中所示。

{

"$url": "http://192.168.3.141:8124/api1/syracuse/collaboration/syracuse/batchServers?representation=batchServer.%24query",

"$descriptor": "batchServers",

"$startIndex": 1,

"$itemsPerPage": 20,

"$totalResults": 1,

"$ui": "http://192.168.3.141:8124/syracuse-main/html/main.html#ui=http://192.168.3.141:8124/api1/syracuse/collaboration/syracuse/batchServers/$ui/master&data=http://192.168.3.141:8124/api1/syracuse/collaboration/syracuse/batchServers",

"$resources": [

{

"$uuid": "39bf6186-37dd-49ca-ac20-c9a5af8fe705",

"$key": "39bf6186-37dd-49ca-ac20-c9a5af8fe705",

"$etag": 1,

"$creUser": "admin",

"$creDate": "2019-12-22T07:24:39.619Z",

"$updUser": "admin",

"$updDate": "2020-08-07T00:36:50.404Z",

"$properties": {

"maxDelay": {

"$isDisabled": false

},

"killOverTime": {

"$isDisabled": false

},

"execInterval": {

"$isDisabled": false

}

},

"$url": "/sdata/syracuse/collaboration/syracuse/batchServers('39bf6186-37dd-49ca-ac20-c9a5af8fe705')?representation=batchServer.$details",

"$shortUrl": "/sdata/syracuse/collaboration/syracuse/batchServers('39bf6186-37dd-49ca-ac20-c9a5af8fe705')",

"status": "stopped",

"maxDelay": 0,

"killOverTime": 30,

"execInterval": 30,

"auto": true,

"code": "ERP",

"runtimes": [

{

"$uuid": "e8666836-85e7-4e63-8f54-6a8a985c10b8",

"$key": "e8666836-85e7-4e63-8f54-6a8a985c10b8",

"$etag": 1,

"$creUser": "admin",

"$updUser": "admin",

"$updDate": "2019-12-22T12:19:45.034Z",

"$properties": {},

"$parent_uuid": "39bf6186-37dd-49ca-ac20-c9a5af8fe705",

"maxQueries": 5,

"serverPort": 20100,

"serverHost": "syracuseb",

"description": "syracuseb:20100",

"$links": {},

"$value": "syracuseb:20100"

}

],

"localePref": {

"$uuid": "ab378c10-6915-4cfe-8f1e-44b59824bebd",

"$key": "ab378c10-6915-4cfe-8f1e-44b59824bebd",

"description": "English (United States)"

},

"role": {

"$uuid": "58dd4404-e0cc-400c-856a-6824f09f1447",

"$key": "58dd4404-e0cc-400c-856a-6824f09f1447",

"description": "Super administrator"

},

"user": {

"$uuid": "535cf2da-9472-45f8-b505-068138598317",

"$key": "535cf2da-9472-45f8-b505-068138598317",

"login": "admin",

"firstName": "",

"lastName": "系统管理员"

},

"refEndpoint": {

"$uuid": "55fac56e-9f7e-454e-90bc-e5143ccdee5d",

"$key": "55fac56e-9f7e-454e-90bc-e5143ccdee5d",

"description": "X3 / X3",

"nature": null

},

"x3solution": {

"$uuid": "5125619c-c8e6-40d9-b139-a95e29b943b2",

"$key": "5125619c-c8e6-40d9-b139-a95e29b943b2",

"solutionName": "X3"

},

"$links": {

"x3traces": {

"$title": "X3 server traces",

"$url": "/sdata/x3/erp/X3_X3/$service/upload?fileName=[SRV]/TRA/serveur.tra&type=1&$format=txt",

"$method": "GET",

"$isDisabled": false,

"$description": null

},

"start": {

"$isDisabled": false

},

"stop": {

"$isDisabled": true

},

"stopAll": {

"$isDisabled": true

},

"queries": {

"$isDisabled": false

}

},

"$value": "ERP",

"refUrl": "/sdata/x3/erp/X3_X3"

}

],

"$links": {},

"$template": {

"$url": "http://192.168.3.141:8124/api1/syracuse/collaboration/syracuse/batchServers/$template"

},

"$prototype": "{$baseUrl}/$prototypes('batchServer.$query')"

}

使用POST请求

将$key到一批服务器识别相关的实例。它将替换以下URL中的单词KEY。

启动由KEY标识的批处理服务器

http://myserv:port/api1/syracuse/collaboration/syracuse/batchServers('KEY')/$service/start?representation=batchServer.$query

停止由KEY标识的批处理服务器

http://myserv:port/api1/syracuse/collaboration/syracuse/batchServers('KEY')/$service/stop?representation=batchServer.$query

停止由KEY及其所有正在运行的任务标识的批处理服务器

http://myserv:port/api1/syracuse/collaboration/syracuse/batchServers('KEY')/$service/stopAll?representation=batchServer.$query

注:这里的KEY 就是上面查询到的KEY值

举例

启动batchServer, 界面手工怎么也起不来

http://192.168.3.141:8124/api1/syracuse/collaboration/syracuse/batchServers('39bf6186-37dd-49ca-ac20-c9a5af8fe705')/$service/start?representation=batchServer.$query

"$uuid": "39bf6186-37dd-49ca-ac20-c9a5af8fe705",

"$key": "39bf6186-37dd-49ca-ac20-c9a5af8fe705",

"$etag": 1,

"$creUser": "admin",

"$creDate": "2019-12-22T07:24:39.619Z",

"$updUser": "admin",

"$updDate": "2020-08-09T08:13:53.855Z",

"$properties": {

"status": {

"$diagnoses": []

},

"maxDelay": {

"$isDisabled": true

},

"killOverTime": {

"$isDisabled": true

},

"execInterval": {

"$isDisabled": true

}

},

"$url": "/sdata/syracuse/collaboration/syracuse/batchServers('39bf6186-37dd-49ca-ac20-c9a5af8fe705')?representation=batchServer.$details",

"$shortUrl": "/sdata/syracuse/collaboration/syracuse/batchServers('39bf6186-37dd-49ca-ac20-c9a5af8fe705')",

"$diagnoses": [

{

"$datetime": "2020-08-09T08:35:43.914Z",

"$severity": "info",

"$message": "新客户端已创建于syracuseb:20100的2296上"

},

{

"$datetime": "2020-08-09T08:35:43.914Z",

"$severity": "info",

"$message": "已将runtime 'syracuseb:20100'加入至批处理控制器的服务器列表,且该runtime将同时处理5条请求。"

},

{

"$severity": "info",

"$message": "服务器批次为starting"

}

],

"status": "starting",

"maxDelay": 0,

"killOverTime": 30,

"execInterval": 30,

"auto": true,

"code": "ERP",

"runtimes": [

{

"$uuid": "e8666836-85e7-4e63-8f54-6a8a985c10b8",

"$key": "e8666836-85e7-4e63-8f54-6a8a985c10b8",

"$etag": 1,

"$creUser": "admin",

"$updUser": "admin",

"$updDate": "2019-12-22T12:19:45.034Z",

"$properties": {},

"$parent_uuid": "39bf6186-37dd-49ca-ac20-c9a5af8fe705",

"maxQueries": 5,

"serverPort": 20100,

"serverHost": "syracuseb",

"description": "syracuseb:20100",

"$links": {},

"$value": "syracuseb:20100"

}

],

"localePref": {

"$uuid": "ab378c10-6915-4cfe-8f1e-44b59824bebd",

"$key": "ab378c10-6915-4cfe-8f1e-44b59824bebd",

"description": "English (United States)"

},

"role": {

"$uuid": "58dd4404-e0cc-400c-856a-6824f09f1447",

"$key": "58dd4404-e0cc-400c-856a-6824f09f1447",

"description": "Super administrator"

},

"user": {

"$uuid": "535cf2da-9472-45f8-b505-068138598317",

"$key": "535cf2da-9472-45f8-b505-068138598317",

"login": "admin",

"firstName": "",

"lastName": "系统管理员"

},

"refEndpoint": {

"$uuid": "55fac56e-9f7e-454e-90bc-e5143ccdee5d",

"$key": "55fac56e-9f7e-454e-90bc-e5143ccdee5d",

"description": "X3 / X3",

"nature": null

},

"x3solution": {

"$uuid": "5125619c-c8e6-40d9-b139-a95e29b943b2",

"$key": "5125619c-c8e6-40d9-b139-a95e29b943b2",

"solutionName": "X3"

},

"$links": {

"x3traces": {

"$title": "X3 server traces",

"$url": "/sdata/x3/erp/X3_X3/$service/upload?fileName=[SRV]/TRA/serveur.tra&type=1&$format=txt",

"$method": "GET",

"$isDisabled": false,

"$description": null

},

"start": {

"$isDisabled": true

},

"stop": {

"$isDisabled": false

},

"stopAll": {

"$isDisabled": false

},

"queries": {

"$isDisabled": false

}

},

"$value": "ERP",

查看状态, 启动成功

停止

http://192.168.3.141:8124/api1/syracuse/collaboration/syracuse/batchServers('39bf6186-37dd-49ca-ac20-c9a5af8fe705')/$service/stop?representation=batchServer.$query

查看状态

停止所有

http://192.168.3.141:8124/api1/syracuse/collaboration/syracuse/batchServers('39bf6186-37dd-49ca-ac20-c9a5af8fe705')/$service/stopAll?representation=batchServer.$query

以上是"怎么控制批处理服务器"这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注行业资讯频道!

服务 服务器 控制 客户 客户端 标识 管理 内容 状态 管理员 篇文章 系统 身份 验证 不同 主机 代码 价值 任务 兴趣 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 山东特亿宝互联网科技有限公司 互联网科技排名 沃里互联网科技 深圳艾佳互联网科技 山东吉时兔互联网科技有限公司 开启互联网科技时代小说 科技互联网的估值 现代互联网科技股 互联网时代科技改变生活 语蝶互联网科技有限公司 工业互联网等科技实现智能化赋能 美国互联网科技实力 深圳互联网科技的发展 梅州GM互联网络科技有限公司 吉林省码上互联网科技电话 银川新华互联网科技学校是国营吗 科技信息时代互联网发展 银川新华互联网科技学校招聘 互联网科技创业有什么好项目 武汉亿视互联网科技有限公司 互联网佳科技有限公司 互联网 科技 狮子座互联网科技 碳银互联网科技 云创客互联网科技公司 济南华为互联网科技产业总部基地 上海科技产业互联网平台 陕西云淼互联网科技公司 美国五大互联网科技公司市值多少 互联网 科技节活动 微视频大赛
0