ubuntu@crucs502-uame-1:~$ /opt/cisco/usp/uas/confd-6.3.8/bin/confd_cli -u admin -C Enter Password for 'admin': elcome to the ConfD CLI admin connected from 10.249.80.137 using ssh on crucs502-uame-1 crucs502-uame-1#
crucs502-uame-1#show vnfr state VNFR ID STATE --------------------------------- crucs502-4g-CRPCF504 alive crucs502-4g-CRPCF505 alive crucs502-4g-CRPCF506 alive crucs502-4g-CRPCF507 error crucs502-4g-CRPCF604 alive crucs502-cnat-cnat error
Last login: Wed May 13 02:07:42 2020 from 10.x.x.x
####################################################################
# ESC on crucs502-esc-vnf-esc-core-esc-1 is in MASTER state.
####################################################################
[admin@crucs502-esc-vnf-esc-core-esc-1 ~]$ health.sh
============== ESC HA (MASTER) with DRBD =================
vimmanager (pgid 14643) is running
monitor (pgid 14712) is running
mona (pgid 14768) is running
drbd (pgid 0) is master
snmp is disabled at startup
etsi is disabled at startup
pgsql (pgid 15119) is running
keepalived (pgid 14070) is running
portal is disabled at startup
confd (pgid 15016) is running
filesystem (pgid 0) is running
escmanager (pgid 15254) is running
=======================================
ESC HEALTH PASSED
/opt/cisco/esc/esc-confd/esc-cli/esc_nc_cli recovery-vm-action DO crucs502-cnat-cn_oam1_0_d7f90c1e-4401-4be9-87f6-f39ecf04ea3a
admin connected from 10.249.80.137 using ssh on crucs502-esc-vnf-esc-core-esc-1
crucs502-esc-vnf-esc-core-esc-1# show esc_datamodel opdata tenants tenant | select deployments state_machine NAME DEPLOYMENT NAME STATE VM NAME STATE ------------------------------------------------------------------------------------------------------------------------------------------- <trucated output> crucs502-cnat-cn_etcd2_0_7263c87c-ee62-4b81-8e1e-a0f5c463a5b5 VM_ALIVE_STATE crucs502-cnat-cn_etcd3_0_512ef3c0-96a2-4a10-83b0-4c7d13805856 VM_ALIVE_STATE crucs502-cnat-cn_master_0_05487525-c86f-47e1-a07e-fd33720d114f VM_ALIVE_STATE crucs502-cnat-cn_master_0_8cf66daa-9dfe-4c7e-817e-36624f9c98c2 VM_ALIVE_STATE crucs502-cnat-cn_master_0_dff4ad36-7982-4131-a737-ccb6c8eae348 VM_ALIVE_STATE crucs502-cnat-cn_oam1_0_d7f90c1e-4401-4be9-87f6-f39ecf04ea3a VM_ALIVE_STATE
成功的恢复
When ESC shows VM_ALIVE_STATE, verify the status in UAME
crucs502-esc-vnf-esc-core-esc-1# show running-config | include recovery_policy recovery_policy recovery_type AUTO recovery_policy action_on_recovery REBOOT_ONLY recovery_policy max_retries 1
ubuntu@crucs502-uame-1:~$ /opt/cisco/usp/uas/confd-6.3.8/bin/confd_cli -u admin -C Enter Password for 'admin': elcome to the ConfD CLI admin connected from 10.249.80.137 using ssh on crucs502-uame-1 crucs502-uame-1#
crucs502-uame-1# crucs502-uame-1#show vnfr state VNFR ID STATE --------------------------------- crucs502-4g-CRPCF504 alive crucs502-4g-CRPCF505 alive crucs502-4g-CRPCF506 alive crucs502-4g-CRPCF507 error crucs502-4g-CRPCF604 alive