要使用 Hub Services 云通知服务 (Cloud Notifications Service, CNS) 中的推送通知功能,必须在该服务中注册 Omnissa Access。
在云通知服务中注册 Omnissa Access
-
获取 Omnissa Connect 令牌。有关步骤,请参阅在 Hub Services 中设置推送通知相关主题中的“获取令牌的过程”一节。
-
通过 ssh 连接到引导节点。
-
运行以下命令以注册 CNS 服务:
wso access push-notifications setup -
在输入 Omnissa Connect 中的令牌提示符下,输入在步骤 1 中获取的令牌。
例如:
wso access push-notifications setup Enter the token from Omnissa Connect: ************ Successfully set up push notifications in Hub Services. Push notifications setup valid until <timestamp>
如何检查注册是否有效
-
通过 ssh 连接到引导节点。
-
运行以下命令:
wso access push-notifications check-validity例如:
wso access push-notifications check-validity Push notifications setup valid until <timestamp>
如何续订 CNS 证书
-
获取 Omnissa Connect 令牌。有关步骤,请参阅在 Hub Services 中设置推送通知相关主题中的“获取令牌的过程”一节。
-
通过 ssh 连接到引导节点。
-
运行以下命令:
wso access push-notifications renew-setup -
在输入 Omnissa Connect 中的令牌提示符下,输入在步骤 1 中获取的令牌。
例如:
wso access push-notifications renew-setup Enter the token from Omnissa Connect: ****************** Successfully renewed push notifications setup in Hub Services. Push notifications setup valid until <timestamp>
此页面对您有帮助吗?