Skip to main content

AlteryxService 命令

命令

D:\Program Files\Alteryx\bin> .\AlteryxService.exe -help

命令输出

命令

描述

?|help

显示此帮助消息

silent

取消默认消息

install

随操作系统安装服务(需要管理员权限)

uninstall

随操作系统卸载服务(需要管理员权限)

开始

启动服务

停止

停止服务

test|testdebug

以交互方式运行服务

addtoqueue=path,host[:port],secret[,true]

在 Alteryx Server 上不受支持。此命令仅适用于 Desktop 计划程序。#从路径 "path "列队工作流以从磁盘运行,添加 “true”以从数据库运行

emongodump=path

创建 MongoDB 备份转储至指定文件夹(需要管理员权限)

emongorestore=sourcepath,targetpath,[,batchsize]

将 MongoDB 备份从“sourcePath”还原到“targetPath”,在低内存环境中使用“batchsize”(需要管理员权限)

setemongopassword=password

设置 MongoDB 的新密码。若密码字段为空,系统将使用随机生成的密码(需要管理员权限)

setemongoadminpassword=password

设置 MongoDB 的新密码。若密码字段为空,系统将使用随机生成的密码(需要管理员权限)

getemongopassword[=host[:port],secret]

返回嵌入式 MongoDB 密码(需要管理员权限)

getsecret|getserversecret

返回服务器私密密钥(需要管理员权限)

getversion

返回当前服务版本

runlocal=session_secret[,port]

使用提供的私密密钥(64 个十六进制字符)和可选端口作为当前用户运行

setexecuteuser=name,domain,password

设置 Alteryx Engine 的执行用户(需要管理员权限)

setmongoconnectionworker=value

设置工作程序的 MongoDB 连接字符串。确保该数据库与控制器的数据库相同(需要管理员权限)

setmongoconnectioncontroller=value

设置控制器的 MongoDB 连接字符串(需要管理员权限)

setmongoconnectionserver=value

设置 Server UI 连接的 MongoDB 连接字符串(需要管理员权限)

setsqlconnectionworker=value

设置工作程序的 SQL 连接字符串。确保此数据库与控制器的数据库相同(需要管理员权限)

setsqlconnectioncontroller=value

设置控制器的 SQL 连接字符串(需要管理员权限)

setsqlconnectionserver=value

设置 Server UI 连接的 SQL 连接字符串(需要管理员权限)

setmongopassword=value

设置 MongoDB 连接密码(需要管理员权限)

setremotesecret=value

设置工作程序远程服务器私密密钥(需要管理员权限)

setserversecret=value

设置控制器服务器私密密钥(需要管理员权限)

setsmtppassword=value

设置 Server 的 SMTP 密码(需要管理员权限)

setsmtpclientsecret=value

设置 Server 的 SMTP 客户端私密密钥(需要管理员权限)

setting=root,name,value

使用新值覆盖根为“root”、名称为“name”的默认设置

settingfile=path

使用路径“path”中设置文件的内容覆盖默认设置

verifysettingfile=path[,outputpath]

验证路径“path”中的设置,将结果写入文件或 stdout

transferdcmesecret[=ip|fqdn|hostname,secret]

从现有环境安全地传输 DCME 加密密钥