cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vhannum
Community Manager
Community Manager

Mosaic Cloud Platform Restore

The following video outlines how to use Mosaic Cloud Platform for a restore procedure. A copy/paste version of the restore commands used in this process and a Mosaic Cloud Platform restore command transcript are available below the video.

 

Copy/Paste Commands (in order) for Mosaic Cloud Platform Restore

mcp-snapshot restore 91d4b3c8-903b-480d-b2c5-20342c31c52c/
node-admin status

 Mosaic Cloud Platform Restore Command Transcript

Mosaic Cloud Platform Restore Command Transcript[root@host-10-255-68-230 snapshots]# mcp-snapshot restore 91d4b3c8-903b-480d-b2c5-20342c31c52c/You are using the "restore" command to restore a single node (as opposed
to a cluster of nodes). This has been deprecated. Please use
"single-restore" in the future.This operation will restore Mosaic Cloud Platform to a previous state.
As a result of this operation: 1. The system will reboot, causing a service disruption.
2. All data currently contained within the system will be lost.It is recommended that a snapshot be created immediately before
executing this restore operation to provide a recent recovery point
in case of failure.NOTE: If you are restoring a cluster of nodes, you MUST use the
'clustered-restore' command instead.
Would you like to continue? [y/n] y
Begin of Pre Start Check for mcp...
Finished Pre Start Check for mcp...Took 1451ms
Stopping Mosaic Cloud Platform...
2023-03-08 21:06:47 INFO | mirrormaker role is not present but mirrormaker container config available in node_config
2023-03-08 21:06:47 INFO | stopping marshal-engine...
2023-03-08 21:06:47 INFO | stopping export-data-service...
2023-03-08 21:06:47 INFO | stopping service-manager...
2023-03-08 21:06:47 INFO | stopping path-balancer...
2023-03-08 21:06:47 INFO | stopping mcp-inventory...
2023-03-08 21:06:47 INFO | stopping vlan-allocation...
2023-03-08 21:06:47 INFO | stopping kafka...
2023-03-08 21:06:47 INFO | stopping northbound-interface...
2023-03-08 21:06:47 INFO | stopping kafka-manager...
2023-03-08 21:06:47 INFO | stopping cloud-platform-job-manager...
2023-03-08 21:06:47 INFO | stopping device-layer...
2023-03-08 21:06:47 INFO | stopping address-resolution-service...
2023-03-08 21:06:47 INFO | stopping activemq...
2023-03-08 21:06:47 INFO | stopping yang-datastore...
2023-03-08 21:06:47 INFO | stopping protocol-session-manager...
2023-03-08 21:06:47 INFO | stopping zookeeper...
2023-03-08 21:06:47 INFO | stopping cloud-platform-universal-inspect-workflow...
2023-03-08 21:06:47 INFO | stopping mosaic-cp-plugin...
2023-03-08 21:06:47 INFO | stopping device-onboarding...
2023-03-08 21:06:47 INFO | stopping cluster-monitor...
2023-03-08 21:06:48 INFO | stopped mosaic-cp-plugin...
2023-03-08 21:06:48 INFO | stopping event-correlator...
2023-03-08 21:06:52 INFO | stopped kafka...
2023-03-08 21:06:52 INFO | stopping captive-portal-script-exec...
2023-03-08 21:06:58 INFO | stopped path-balancer...
2023-03-08 21:06:58 INFO | stopping marshal-plugins...
2023-03-08 21:06:58 INFO | stopped address-resolution-service...
2023-03-08 21:06:58 INFO | stopping system-monitor...
2023-03-08 21:06:58 INFO | stopped vlan-allocation...
2023-03-08 21:06:58 INFO | stopping logstash...
2023-03-08 21:06:58 INFO | stopped kafka-manager...
2023-03-08 21:06:58 INFO | stopping nms-gui...
2023-03-08 21:06:58 INFO | stopped mcp-inventory...
2023-03-08 21:06:58 INFO | stopping cloud-platform-http-service...
2023-03-08 21:06:58 INFO | stopped cloud-platform-universal-inspect-workflow...
2023-03-08 21:06:58 INFO | stopping cloud-platform-event-workflow...
2023-03-08 21:06:58 INFO | stopped device-layer...
2023-03-08 21:06:58 INFO | stopping elastic-exec...
2023-03-08 21:06:59 INFO | stopped marshal-engine...
2023-03-08 21:06:59 INFO | stopping elasticsearch...
2023-03-08 21:06:59 INFO | stopped protocol-session-manager...
2023-03-08 21:06:59 INFO | stopping dnsmasq...
2023-03-08 21:06:59 INFO | stopped export-data-service...
2023-03-08 21:06:59 INFO | stopping mosaic-cp-cda...
2023-03-08 21:06:59 INFO | stopped cluster-monitor...
2023-03-08 21:06:59 INFO | stopping event-forwarding...
2023-03-08 21:06:59 INFO | stopped device-onboarding...
2023-03-08 21:06:59 INFO | stopping cloud-platform-uiworkflow...
2023-03-08 21:06:59 INFO | stopped service-manager...
2023-03-08 21:06:59 INFO | stopping nms-trap-forwarding...
2023-03-08 21:06:59 INFO | stopped cloud-platform-job-manager...
2023-03-08 21:06:59 INFO | stopping firefly-aaa...
2023-03-08 21:06:59 INFO | stopped system-monitor...
2023-03-08 21:06:59 INFO | stopping mirrormaker...
2023-03-08 21:06:59 INFO | stopped mirrormaker...
2023-03-08 21:06:59 INFO | stopped zookeeper...
2023-03-08 21:06:59 INFO | stopped northbound-interface...
2023-03-08 21:06:59 INFO | stopped yang-datastore...
2023-03-08 21:06:59 INFO | stopped event-correlator...
2023-03-08 21:06:59 INFO | stopped activemq...
2023-03-08 21:06:59 INFO | stopped nms-gui...
2023-03-08 21:07:02 INFO | stopped captive-portal-script-exec...
2023-03-08 21:07:08 INFO | stopped marshal-plugins...
2023-03-08 21:07:08 INFO | stopped cloud-platform-http-service...
2023-03-08 21:07:09 INFO | stopped cloud-platform-event-workflow...
2023-03-08 21:07:09 INFO | stopped logstash...
2023-03-08 21:07:09 INFO | stopped elastic-exec...
2023-03-08 21:07:09 INFO | stopped mosaic-cp-cda...
2023-03-08 21:07:09 INFO | stopped firefly-aaa...
2023-03-08 21:07:09 INFO | stopped cloud-platform-uiworkflow...
2023-03-08 21:07:09 INFO | stopped event-forwarding...
2023-03-08 21:07:10 INFO | stopped nms-trap-forwarding...
2023-03-08 21:07:10 INFO | stopped dnsmasq...
2023-03-08 21:07:10 INFO | stopped elasticsearch...
Finished stopping Mosaic Cloud Platform... Took 23225ms
Removing /opt/adtran/logs/kafka
Removing /opt/adtran/zookeeper
Removing /opt/adtran/elasticsearch
Starting Mosaic Cloud Platform Data Services...
2023-03-08 21:07:21 INFO | starting dnsmasq...
2023-03-08 21:07:24 INFO | finished starting dnsmasq...
2023-03-08 21:07:24 INFO | starting activemq...
2023-03-08 21:07:24 INFO | starting zookeeper...
2023-03-08 21:07:24 INFO | starting elasticsearch...
2023-03-08 21:07:27 INFO | finished starting activemq...
2023-03-08 21:07:31 INFO | finished starting zookeeper...
2023-03-08 21:07:31 INFO | starting kafka...
2023-03-08 21:07:35 INFO | finished starting kafka...
2023-03-08 21:07:52 INFO | finished starting elasticsearch...
2023-03-08 21:07:52 INFO | starting logstash...
2023-03-08 21:08:24 INFO | finished starting logstash...
Finished starting Mosaic Cloud Platform Data Services... Took 74387ms
Snapshot Storage Directory: /root/snapshots
Restoring snapshot with id '91d4b3c8-903b-480d-b2c5-20342c31c52c' to Mosaic Cloud version '22.6-698'
Restore of snapshot '91d4b3c8-903b-480d-b2c5-20342c31c52c' completed successfully.
Type Count
----------------- -----------------
Bundle 0
Interface 24
Server 1
Event 1281
Subscriber 0
Content Provider 2
Device 13
Job 1
Profile 67
Service 7
Group 1
Data Center 0
User 3
Credential 1
Profile Vector 17
Management Domain 2NOTE: The rooted-device is not backed up or restored by snapshot. As a result, the
count of devices will be one less that what appears in the Web UI.Please wait for Mosaic Cloud to finish starting and reindex to complete...
Starting Mosaic Cloud Platform Data Services excluding marshal-plugins and marshal-engine...
2023-03-08 21:08:48 INFO | dnsmasq is already running.
2023-03-08 21:08:48 INFO | elasticsearch is already running.
2023-03-08 21:08:48 INFO | zookeeper is already running.
2023-03-08 21:08:48 INFO | activemq is already running.
2023-03-08 21:08:49 INFO | kafka is already running.
2023-03-08 21:08:49 INFO | logstash is already running.
2023-03-08 21:08:49 INFO | starting nms-gui...
2023-03-08 21:08:49 INFO | starting northbound-interface...
2023-03-08 21:08:50 INFO | finished starting northbound-interface...
2023-03-08 21:08:50 INFO | starting mosaic-cp-plugin...
2023-03-08 21:08:50 INFO | starting service-manager...
2023-03-08 21:08:50 INFO | starting cloud-platform-universal-inspect-workflow...
2023-03-08 21:08:50 INFO | starting nms-trap-forwarding...
2023-03-08 21:08:50 INFO | starting vlan-allocation...
2023-03-08 21:08:50 INFO | starting export-data-service...
2023-03-08 21:08:50 INFO | starting cloud-platform-uiworkflow...
2023-03-08 21:08:50 INFO | starting cluster-monitor...
2023-03-08 21:08:50 INFO | starting event-correlator...
2023-03-08 21:08:50 INFO | starting yang-datastore...
2023-03-08 21:08:50 INFO | starting elastic-exec...
2023-03-08 21:08:50 INFO | starting cloud-platform-job-manager...
2023-03-08 21:08:50 INFO | starting device-layer...
2023-03-08 21:08:50 INFO | starting device-onboarding...
2023-03-08 21:08:50 INFO | starting mcp-inventory...
2023-03-08 21:08:50 INFO | starting captive-portal-script-exec...
2023-03-08 21:08:50 INFO | finished starting nms-gui...
2023-03-08 21:08:50 INFO | starting firefly-aaa...
2023-03-08 21:08:50 INFO | starting kafka-manager...
2023-03-08 21:08:50 INFO | starting protocol-session-manager...
2023-03-08 21:08:50 INFO | starting mosaic-cp-cda...
2023-03-08 21:08:51 INFO | finished starting vlan-allocation...
2023-03-08 21:08:51 INFO | starting system-monitor...
2023-03-08 21:08:51 INFO | finished starting mosaic-cp-plugin...
2023-03-08 21:08:51 INFO | starting event-forwarding...
2023-03-08 21:08:51 INFO | finished starting elastic-exec...
2023-03-08 21:08:51 INFO | starting address-resolution-service...
2023-03-08 21:08:52 INFO | finished starting cloud-platform-universal-inspect-workflow...
2023-03-08 21:08:52 INFO | starting cloud-platform-event-workflow...
2023-03-08 21:08:52 INFO | finished starting service-manager...
2023-03-08 21:08:52 INFO | starting cloud-platform-http-service...
2023-03-08 21:08:52 INFO | finished starting cluster-monitor...
2023-03-08 21:08:52 INFO | starting path-balancer...
2023-03-08 21:08:52 INFO | finished starting export-data-service...
2023-03-08 21:08:52 INFO | finished starting kafka-manager...
2023-03-08 21:08:53 INFO | finished starting mcp-inventory...
2023-03-08 21:08:53 INFO | finished starting protocol-session-manager...
2023-03-08 21:08:53 INFO | finished starting device-layer...
2023-03-08 21:08:53 INFO | finished starting cloud-platform-uiworkflow...
2023-03-08 21:08:53 INFO | finished starting captive-portal-script-exec...
2023-03-08 21:08:53 INFO | finished starting cloud-platform-job-manager...
2023-03-08 21:08:53 INFO | finished starting firefly-aaa...
2023-03-08 21:08:53 INFO | finished starting device-onboarding...
2023-03-08 21:08:53 INFO | finished starting mosaic-cp-cda...
2023-03-08 21:08:53 INFO | finished starting system-monitor...
2023-03-08 21:08:53 INFO | finished starting address-resolution-service...
2023-03-08 21:08:53 INFO | finished starting cloud-platform-event-workflow...
2023-03-08 21:08:53 INFO | finished starting event-forwarding...
2023-03-08 21:08:54 INFO | finished starting cloud-platform-http-service...
2023-03-08 21:08:54 INFO | finished starting path-balancer...
2023-03-08 21:08:59 INFO | finished starting nms-trap-forwarding...
2023-03-08 21:08:59 INFO | finished starting yang-datastore...
2023-03-08 21:09:00 INFO | finished starting event-correlator...
2023-03-08 21:09:03 INFO | Some services were already running.
2023-03-08 21:09:03 INFO | Run `node-admin stop` or `node-admin restart` to stop running services.
Finished starting Mosaic Cloud Platform Data Services excluding marshal-plugins and marshal-engine... Took 15892ms
Reindexing required models for Mosaic Cloud version '22.6-698'...
Reindex of system completed successfully.
Starting Mosaic Cloud Platform Application Services...
2023-03-08 21:11:32 INFO | dnsmasq is already running.
2023-03-08 21:11:32 INFO | elasticsearch is already running.
2023-03-08 21:11:32 INFO | zookeeper is already running.
2023-03-08 21:11:32 INFO | logstash is already running.
2023-03-08 21:11:32 INFO | activemq is already running.
2023-03-08 21:11:32 INFO | kafka is already running.
2023-03-08 21:11:32 INFO | northbound-interface is already running.
2023-03-08 21:11:32 INFO | starting marshal-plugins...
2023-03-08 21:11:32 INFO | starting marshal-engine...
2023-03-08 21:11:32 INFO | nms-gui is already running.
2023-03-08 21:11:32 INFO | system-monitor is already running.
2023-03-08 21:11:32 INFO | mcp-inventory is already running.
2023-03-08 21:11:32 INFO | cloud-platform-event-workflow is already running.
2023-03-08 21:11:32 INFO | yang-datastore is already running.
2023-03-08 21:11:33 INFO | protocol-session-manager is already running.
2023-03-08 21:11:33 INFO | elastic-exec is already running.
2023-03-08 21:11:33 INFO | event-correlator is already running.
2023-03-08 21:11:33 INFO | cloud-platform-uiworkflow is already running.
2023-03-08 21:11:33 INFO | path-balancer is already running.
2023-03-08 21:11:33 INFO | kafka-manager is already running.
2023-03-08 21:11:33 INFO | firefly-aaa is already running.
2023-03-08 21:11:33 INFO | address-resolution-service is already running.
2023-03-08 21:11:33 INFO | cluster-monitor is already running.
2023-03-08 21:11:33 INFO | mosaic-cp-plugin is already running.
2023-03-08 21:11:33 INFO | cloud-platform-universal-inspect-workflow is already running.
2023-03-08 21:11:33 INFO | export-data-service is already running.
2023-03-08 21:11:33 INFO | captive-portal-script-exec is already running.
2023-03-08 21:11:33 INFO | device-onboarding is already running.
2023-03-08 21:11:33 INFO | vlan-allocation is already running.
2023-03-08 21:11:33 INFO | service-manager is already running.
2023-03-08 21:11:33 INFO | cloud-platform-http-service is already running.
2023-03-08 21:11:33 INFO | nms-trap-forwarding is already running.
2023-03-08 21:11:33 INFO | event-forwarding is already running.
2023-03-08 21:11:33 INFO | mosaic-cp-cda is already running.
2023-03-08 21:11:33 INFO | device-layer is already running.
2023-03-08 21:11:33 INFO | cloud-platform-job-manager is already running.
2023-03-08 21:11:33 INFO | finished starting marshal-plugins...
2023-03-08 21:11:33 INFO | finished starting marshal-engine...
2023-03-08 21:11:36 INFO | Some services were already running.
2023-03-08 21:11:36 INFO | Run `node-admin stop` or `node-admin restart` to stop running services.
Finished starting Mosaic Cloud Platform Application Services... Took 6040ms[root@host-10-255-68-230 snapshots]# node-admin status
-----Cluster Status-----
Node Self 1 : UP-----Container Status-----
address-resolution-service: UP
captive-portal-script-exec: UP
cloud-platform-event-workflow: UP
cloud-platform-http-service: UP
cloud-platform-job-manager: UP
cloud-platform-uiworkflow: UP
cloud-platform-universal-inspect-workflow: UP
cluster-monitor: UP
device-layer: UP
device-onboarding: UP
elastic-exec: UP
event-correlator: UP
event-forwarding: UP
export-data-service: UP
firefly-aaa: UP
kafka-manager: UP
marshal-engine: UP
marshal-plugins: UP
mcp-inventory: UP
mosaic-cp-cda: UP
mosaic-cp-plugin: UP
nms-gui: UP
nms-trap-forwarding: UP
northbound-interface: UP
path-balancer: UP
protocol-session-manager: UP
service-manager: UP
system-monitor: UP
vlan-allocation: UP
yang-datastore: UP
activemq: UP
logstash: UP
kafka: UP
dnsmasq: UP
elasticsearch: UP
zookeeper: UP------Availability------
configured: AVAILABLE
actual: AVAILABLE 

 

Labels (2)
0 Kudos
Reply