How-to Manage Messages
Introduction
The VSS API runs periodic checks to ensure the VSS Guidelines are in compliance. This is the case for Virtual Machine snapshot life time, Virtual Machine disk consolidation, VMware Tools version status and running status, session invalidation, etc. Also, the API notifies via email upon every request submission/completion or error. However, these checks could produce a considerable amount of emails and in order to address this issue, the API introduced User Messages, which hold simple subject/body objects.
By the end of the week, you can receive a Messages Digest containing all messages which have not been read. This reduces a daily email message per VM to one every seven days. This feature is even more useful when your Request Notification has been set to message or even optimized by following Manage Object Request Notifications to update your notification settings.
If you would like to receive the Messages Weekly Digest, please update your notification settings via either the Cloud Portal, VSS CLI or VSS API.
Step-by-step guide using the Cloud Portal
The following guide, shows how to list, read, and acknowledge messages sent by the Administrator User (API checks or request notification) via the cloud portal.
Login to https://vss-portal.eis.utoronto.ca
If you have available messages, the Bell icon next to your account Gravatar image should display a number
Click on the Bell icon and will take you to the Messages dashboard, where you can find both unread and acknowledged messages :
To Read a message, just click on the subject:
To Acknowledge click on Confirm.
Note the message changed to acknowledged (confirmed):
To Read a message, just click on the subject:
If you would like to browse old messages, click on the top-left menu and select Messages:
Step-by-step guide using the VSS CLI
Login to https://vss-cli.eis.utoronto.ca with your VSS Credentials or use your local VSS CLI install.
Initialize VSS CLI with vss-cli configure mk:
Execute the following command to list messages with
Created
status:vss-cli message ls -f status,eq,Created id kind subject status ---- ------ ------------------------------- -------- 2 Notice VM Disks Consolidation Required Created
To Read the message, simple execute
vss-cli message get <message-id>
:vss-cli message get 3 ID : 3 CREATED : 2018-02-24 Sat 09:00:04 EST UPDATED : 2018-03-01 Thu 15:39:55 EST KIND : Notice STATUS : Acknowledged FROM : vsswebservices SUBJECT : VM Disks Consolidation Required TEXT : 50127647-7fb8-57e7-0d16-103cc5df643e 1712T-Test-VM-With-19-Cha
To
Acknowledge
the message executevss-cli message set ack <message-id>
:vss-cli message set ack 2 [####################################] 100%
Related articles
University of Toronto - Since 1827