Print this page
7711 SMF: Finish implementing support for degraded state

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2017 RackTop Systems. */ #ifndef _LIBRESTART_H #define _LIBRESTART_H
*** 89,99 **** --- 90,102 ---- * RESTARTER_EVENT_TYPE_ENABLE * no guarantee that dependencies are met; see * RESTARTER_EVENT_TYPE_START * RESTARTER_EVENT_TYPE_DISABLE * no guarantee that instance was running + * RESTARTER_EVENT_TYPE_ADMIN_RESTORE * RESTARTER_EVENT_TYPE_ADMIN_DEGRADED + * RESTARTER_EVENT_TYPE_ADMIN_DEGRADE_IMMEDIATE * RESTARTER_EVENT_TYPE_ADMIN_REFRESH * RESTARTER_EVENT_TYPE_ADMIN_RESTART * RESTARTER_EVENT_TYPE_ADMIN_MAINT_OFF * RESTARTER_EVENT_TYPE_ADMIN_MAINT_ON * RESTARTER_EVENT_TYPE_ADMIN_MAINT_ON_IMMEDIATE
*** 123,132 **** --- 126,137 ---- #define RESTARTER_EVENT_TYPE_START 12 #define RESTARTER_EVENT_TYPE_DEPENDENCY_CYCLE 13 #define RESTARTER_EVENT_TYPE_INVALID_DEPENDENCY 14 #define RESTARTER_EVENT_TYPE_ADMIN_DISABLE 15 #define RESTARTER_EVENT_TYPE_STOP_RESET 16 + #define RESTARTER_EVENT_TYPE_ADMIN_RESTORE 17 + #define RESTARTER_EVENT_TYPE_ADMIN_DEGRADE_IMMEDIATE 18 #define RESTARTER_EVENT_ERROR -1 #define RESTARTER_EVENT_INSTANCE_DISABLED 0 #define RESTARTER_EVENT_INSTANCE_ENABLED 1