[英]Export/Import Queue configuration - Solace
如何在Solace Appliance中将队列配置从一个VPN导出/导入到另一个VPN。
There is no straightforward way to export a specific queue configuration. 没有导出特定队列配置的直接方法。 You'll need to export the entire Message VPN configuration and sieve out the queue configuration.
您将需要导出整个Message VPN配置并筛选出队列配置。
Specifically, through CLI on a primary appliance: 具体来说,通过主设备上的CLI:
Export the config to a file (note the redirection operator >
): 将配置导出到文件(注意重定向操作符
>
):
solace> show current-config message-vpn <vpn_name> > <export_file>
Open the exported text file and extract the queue configuration portion. 打开导出的文本文件,然后提取队列配置部分。
a. 一种。 It is found in the section:
在以下部分中找到它:
! Create Message Spool: "vpn_name" message-spool message-vpn "vpn_name"
b. b。 Queues are created in:
队列在以下位置创建:
create queue "queue_name" ... exit
c. C。 In addition, if using JNDI, look out for the JNDI section and grab the corresponding queue:
此外,如果使用JNDI,请注意“ JNDI”部分并获取相应的队列:
! Create JNDI: "vpn_name" jndi message-vpn "vpn_name" ... create queue "jndi_queue_name" property "physical-name" "queue_name" exit ...
d. d。 The extracted configuration should look something like:
提取的配置应类似于:
message-spool message-vpn "vpn_name" create queue ... ... exit jndi message-vpn "vpn_name" create queue ... ... exit
Import the extracted configuration in CLI: 在CLI中导入提取的配置:
solace> enable solace# configure solace(configure)# source script <extracted_config> stop-on-error
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.