PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE NODES ( ID INTEGER PRIMARY KEY AUTOINCREMENT, NAME CHAR(32), ADMINISTRATIVE_STATE CHAR(32), OPERATIONAL_STATE CHAR(32), AVAILABILITY_STATUS CHAR(32), READY_STATE CHAR(32), STATE_UUID CHAR(42));
CREATE TABLE NODE_HISTORY ( ID INTEGER PRIMARY KEY AUTOINCREMENT, NAME CHAR(32), ADMINISTRATIVE_STATE CHAR(32), OPERATIONAL_STATE CHAR(32), AVAILABILITY_STATUS CHAR(32), READY_STATE CHAR(32), STATE_UUID CHAR(42));
CREATE TABLE SERVICE_DOMAIN_INTERFACES ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), SERVICE_DOMAIN CHAR(32), SERVICE_DOMAIN_INTERFACE CHAR(32), PATH_TYPE CHAR(32), AUTH_TYPE CHAR(32), AUTH_KEY CHAR(128), INTERFACE_NAME CHAR(32), INTERFACE_STATE CHAR(32), NETWORK_TYPE CHAR(32), NETWORK_MULTICAST CHAR(256), NETWORK_ADDRESS CHAR(256), NETWORK_PORT INT, NETWORK_HEARTBEAT_PORT INT, NETWORK_PEER_ADDRESS CHAR(256), NETWORK_PEER_PORT INT, NETWORK_PEER_HEARTBEAT_PORT INT , INTERFACE_CONNECT_TYPE CHAR(32) DEFAULT 'tor');
INSERT INTO "SERVICE_DOMAIN_INTERFACES" VALUES(1,'yes','controller','management-interface','secondary','none','','','','','','','','','','','','tor');
INSERT INTO "SERVICE_DOMAIN_INTERFACES" VALUES(2,'yes','controller','oam-interface','secondary','hmac-sha512','titanium-server','','','','','','','','','','','tor');
INSERT INTO "SERVICE_DOMAIN_INTERFACES" VALUES(3,'yes','controller','infrastructure-interface','secondary','none','','','','','','','','','','','','tor');
CREATE TABLE SERVICE_DOMAINS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), ORCHESTRATION CHAR(32), DESIGNATION CHAR(32), PREEMPT CHAR(32), PRIORITY INT, HELLO_INTERVAL INT, DEAD_INTERVAL INT, WAIT_INTERVAL INT, EXCHANGE_INTERVAL INT, STATE CHAR(32), SPLIT_BRAIN_RECOVERY CHAR(32), LEADER CHAR(32), GENERATION INT);
INSERT INTO "SERVICE_DOMAINS" VALUES(1,'yes','controller','regional','unknown','no',230,200,800,5000,2000,'initial','select-best-active','',1);
CREATE TABLE SERVICE_DOMAIN_MEMBERS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), SERVICE_GROUP_NAME CHAR(32), REDUNDANCY_MODEL CHAR(32), N_ACTIVE INT, M_STANDBY INT, SERVICE_GROUP_AGGREGATE CHAR(32), ACTIVE_ONLY_IF_ACTIVE CHAR(32) );
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(1,'yes','controller','oam-services','N + M',1,1,'controller-aggregate','directory-services');
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(2,'yes','controller','controller-services','N + M',1,1,'controller-aggregate','directory-services');
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(3,'yes','controller','cloud-services','N + M',1,1,'controller-aggregate','directory-services');
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(4,'yes','controller','vim-services','N + M',1,1,'controller-aggregate','directory-services');
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(5,'yes','controller','patching-services','N + M',1,1,'','');
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(6,'yes','controller','directory-services','N',2,0,'','');
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(7,'yes','controller','web-services','N',2,0,'','');
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(8,'no','controller','storage-services','N',2,0,'','');
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(9,'no','controller','storage-monitoring-services','N + M',1,1,'','');
INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(10,'no','controller','distributed-cloud-services','N + M',1,1,'controller-aggregate','');
CREATE TABLE SERVICE_DOMAIN_NEIGHBORS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, NAME CHAR(32), SERVICE_DOMAIN CHAR(32), ORCHESTRATION CHAR(32), DESIGNATION CHAR(32), PRIORITY INT, HELLO_INTERVAL INT, DEAD_INTERVAL INT, WAIT_INTERVAL INT, EXCHANGE_INTERVAL INT, STATE CHAR(32), GENERATION INT);
CREATE TABLE SERVICE_DOMAIN_ASSIGNMENTS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, UUID CHAR(42), NAME CHAR(32), NODE_NAME CHAR(32), SERVICE_GROUP_NAME CHAR(32), DESIRED_STATE CHAR(32), STATE CHAR(32), STATUS CHAR(32), CONDITION CHAR(32) );
CREATE TABLE SERVICE_GROUPS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), AUTO_RECOVER CHAR(32), CORE CHAR(32), DESIRED_STATE CHAR(32), STATE CHAR(32), STATUS CHAR(32), CONDITION CHAR(32), FAILURE_DEBOUNCE INT, FATAL_ERROR_REBOOT CHAR(32) );
INSERT INTO "SERVICE_GROUPS" VALUES(1,'yes','oam-services','no','no','initial','initial','','',300000,'no');
INSERT INTO "SERVICE_GROUPS" VALUES(2,'yes','controller-services','no','no','initial','initial','','',300000,'yes');
INSERT INTO "SERVICE_GROUPS" VALUES(3,'yes','cloud-services','no','no','initial','initial','','',300000,'yes');
INSERT INTO "SERVICE_GROUPS" VALUES(4,'yes','patching-services','no','no','initial','initial','','',300000,'no');
INSERT INTO "SERVICE_GROUPS" VALUES(5,'yes','directory-services','no','no','initial','initial','','',300000,'no');
INSERT INTO "SERVICE_GROUPS" VALUES(6,'yes','web-services','no','no','initial','initial','','',300000,'no');
INSERT INTO "SERVICE_GROUPS" VALUES(7,'no','storage-services','no','no','initial','initial','','',120000,'yes');
INSERT INTO "SERVICE_GROUPS" VALUES(8,'no','storage-monitoring-services','no','no','initial','initial','','',120000,'no');
INSERT INTO "SERVICE_GROUPS" VALUES(9,'yes','vim-services','no','no','initial','initial','','',300000,'yes');
INSERT INTO "SERVICE_GROUPS" VALUES(10,'no','distributed-cloud-services','no','no','initial','initial','','',300000,'yes');
CREATE TABLE SERVICE_GROUP_MEMBERS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), SERVICE_NAME CHAR(32), SERVICE_FAILURE_IMPACT CHAR(32));
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(1,'yes','oam-services','oam-ip','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(2,'yes','controller-services','management-ip','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(3,'yes','controller-services','drbd-pg','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(4,'yes','controller-services','drbd-rabbit','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(5,'yes','controller-services','drbd-cgcs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(6,'yes','controller-services','drbd-platform','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(7,'yes','controller-services','pg-fs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(8,'yes','controller-services','rabbit-fs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(9,'yes','controller-services','nfs-mgmt','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(10,'yes','controller-services','cgcs-fs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(11,'yes','controller-services','platform-fs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(12,'yes','controller-services','postgres','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(13,'yes','controller-services','rabbit','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(14,'yes','controller-services','cgcs-export-fs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(15,'yes','controller-services','platform-export-fs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(16,'yes','controller-services','cgcs-nfs-ip','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(17,'yes','controller-services','platform-nfs-ip','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(18,'yes','controller-services','sysinv-inv','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(19,'yes','controller-services','sysinv-conductor','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(20,'yes','controller-services','mtc-agent','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(22,'yes','controller-services','hw-mon','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(23,'yes','controller-services','dnsmasq','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(24,'yes','controller-services','fm-mgr','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(25,'yes','controller-services','snmp','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(26,'yes','cloud-services','keystone','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(27,'yes','cloud-services','glance-registry','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(28,'yes','cloud-services','glance-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(29,'yes','cloud-services','neutron-server','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(30,'yes','cloud-services','nova-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(31,'yes','cloud-services','nova-scheduler','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(32,'yes','cloud-services','nova-conductor','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(34,'yes','cloud-services','nova-console-auth','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(35,'yes','cloud-services','nova-novnc','minor');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(36,'yes','cloud-services','cinder-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(37,'yes','cloud-services','cinder-scheduler','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(38,'yes','cloud-services','cinder-volume','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(39,'yes','cloud-services','cinder-backup','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(44,'yes','cloud-services','ceilometer-agent-notification','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(45,'yes','cloud-services','heat-engine','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(46,'yes','cloud-services','heat-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(47,'yes','cloud-services','heat-api-cfn','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(48,'yes','cloud-services','heat-api-cloudwatch','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(49,'yes','directory-services','open-ldap','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(50,'yes','web-services','lighttpd','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(51,'yes','web-services','horizon','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(52,'yes','patching-services','patch-alarm-manager','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(53,'no','storage-services','ceph-rest-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(54,'no','storage-monitoring-services','ceph-manager','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(55,'no','controller-services','drbd-cinder','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(56,'no','controller-services','cinder-lvm','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(57,'no','controller-services','iscsi','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(58,'no','controller-services','cinder-ip','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(59,'yes','vim-services','vim','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(60,'yes','vim-services','vim-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(61,'yes','vim-services','vim-webserver','minor');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(62,'yes','controller-services','guest-agent','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(63,'yes','cloud-services','nova-api-proxy','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(64,'yes','oam-services','haproxy','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(65,'no','controller-services','pxeboot-ip','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(67,'no','storage-monitoring-services','ceph-radosgw','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(68,'yes','cloud-services','aodh-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(69,'yes','cloud-services','aodh-evaluator','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(70,'yes','cloud-services','aodh-listener','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(71,'yes','cloud-services','aodh-notifier','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(72,'yes','cloud-services','murano-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(73,'yes','cloud-services','murano-engine','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(74,'yes','controller-services','murano-rabbit','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(75,'yes','controller-services','drbd-extension','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(76,'yes','controller-services','extension-fs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(77,'yes','controller-services','extension-export-fs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(78,'yes','cloud-services','magnum-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(79,'yes','cloud-services','magnum-conductor','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(80,'no','cloud-services','ironic-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(81,'no','cloud-services','ironic-conductor','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(82,'yes','cloud-services','panko-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(83,'yes','cloud-services','nova-placement-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(84,'no','cloud-services','nova-compute','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(85,'no','controller-services','ironic-tftp-ip','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(86,'no','cloud-services','nova-serialproxy','minor');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(87,'no','distributed-cloud-services','dcorch-engine','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(88,'no','distributed-cloud-services','dcmanager-manager','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(89,'no','distributed-cloud-services','dcmanager-api','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(90,'no','distributed-cloud-services','dcorch-snmp','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(91,'no','distributed-cloud-services','dcorch-sysinv-api-proxy','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(92,'no','distributed-cloud-services','dcorch-nova-api-proxy','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(93,'no','distributed-cloud-services','dcorch-neutron-api-proxy','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(94,'no','distributed-cloud-services','dcorch-cinder-api-proxy','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(95,'no','controller-services','drbd-patch-vault','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(96,'no','controller-services','patch-vault-fs','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(97,'no','distributed-cloud-services','dcorch-patch-api-proxy','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(98,'no','distributed-cloud-services','dcorch-identity-api-proxy','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" VALUES(99,'yes','controller-services','etcd','critical');
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','controller-services','drbd-etcd','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','controller-services','etcd-fs','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'yes','cloud-services','barbican-api','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'yes','cloud-services','barbican-keystone-listener','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'yes','cloud-services','barbican-worker','critical' FROM "SERVICE_GROUP_MEMBERS";
CREATE TABLE SERVICES ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), DESIRED_STATE CHAR(32), STATE CHAR(32), STATUS CHAR(32), CONDITION CHAR(32), MAX_FAILURES INT, FAIL_COUNTDOWN INT, FAIL_COUNTDOWN_INTERVAL INT, MAX_ACTION_FAILURES INT, MAX_TRANSITION_FAILURES INT, PID_FILE CHAR(256) );
INSERT INTO "SERVICES" VALUES(1,'yes','oam-ip','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(2,'yes','management-ip','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(3,'yes','drbd-pg','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(4,'yes','drbd-rabbit','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(5,'yes','drbd-cgcs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(6,'yes','drbd-platform','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(7,'yes','pg-fs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(8,'yes','rabbit-fs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(9,'yes','nfs-mgmt','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(10,'yes','cgcs-fs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(11,'yes','platform-fs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(12,'yes','postgres','initial','initial','none','none',2,1,90000,4,16,'/var/run/postmaster.pid');
INSERT INTO "SERVICES" VALUES(13,'yes','rabbit','initial','initial','none','none',2,1,90000,4,16,'/var/run/rabbitmq/rabbitmq.pid');
INSERT INTO "SERVICES" VALUES(14,'yes','cgcs-export-fs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(15,'yes','platform-export-fs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(16,'yes','cgcs-nfs-ip','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(17,'yes','platform-nfs-ip','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(18,'yes','sysinv-inv','initial','initial','none','none',2,1,90000,4,16,'/var/run/sysinv-api.pid');
INSERT INTO "SERVICES" VALUES(19,'yes','sysinv-conductor','initial','initial','none','none',2,1,90000,4,16,'/var/run/sysinv-conductor.pid');
INSERT INTO "SERVICES" VALUES(20,'yes','mtc-agent','initial','initial','none','none',2,1,90000,4,16,'/var/run/mtcAgent.pid');
INSERT INTO "SERVICES" VALUES(22,'yes','hw-mon','initial','initial','none','none',2,1,90000,4,16,'/var/run/hwmond.pid');
INSERT INTO "SERVICES" VALUES(23,'yes','dnsmasq','initial','initial','none','none',2,1,90000,4,16,'/var/run/dnsmasq.pid');
INSERT INTO "SERVICES" VALUES(24,'yes','fm-mgr','initial','initial','none','none',2,1,90000,4,16,'/var/run/fmManager.pid');
INSERT INTO "SERVICES" VALUES(25,'yes','keystone','initial','initial','none','none',2,1,90000,4,16,'/var/run/openstack-keystone.pid');
INSERT INTO "SERVICES" VALUES(26,'yes','glance-registry','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/glance-registry.pid');
INSERT INTO "SERVICES" VALUES(27,'yes','glance-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/glance-api.pid');
INSERT INTO "SERVICES" VALUES(28,'yes','neutron-server','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/neutron-server.pid');
INSERT INTO "SERVICES" VALUES(29,'yes','nova-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/nova-api.pid');
INSERT INTO "SERVICES" VALUES(30,'yes','nova-scheduler','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/nova-scheduler.pid');
INSERT INTO "SERVICES" VALUES(31,'yes','nova-conductor','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/nova-conductor.pid');
INSERT INTO "SERVICES" VALUES(33,'yes','nova-console-auth','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/nova-console-auth.pid');
INSERT INTO "SERVICES" VALUES(34,'yes','nova-novnc','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/nova-novnc.pid');
INSERT INTO "SERVICES" VALUES(35,'yes','cinder-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/cinder-api.pid');
INSERT INTO "SERVICES" VALUES(36,'yes','cinder-scheduler','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/cinder-scheduler.pid');
INSERT INTO "SERVICES" VALUES(37,'yes','cinder-volume','initial','initial','none','none',32,16,180000,4,16,'/var/run/resource-agents/cinder-volume.pid');
INSERT INTO "SERVICES" VALUES(38,'yes','cinder-backup','initial','initial','none','none',32,16,180000,4,16,'/var/run/resource-agents/cinder-backup.pid');
INSERT INTO "SERVICES" VALUES(43,'yes','ceilometer-agent-notification','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/ceilometer-agent-notification.pid');
INSERT INTO "SERVICES" VALUES(44,'yes','heat-engine','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/heat-engine.pid');
INSERT INTO "SERVICES" VALUES(45,'yes','heat-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/heat-api.pid');
INSERT INTO "SERVICES" VALUES(46,'yes','heat-api-cfn','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/heat-api-cfn.pid');
INSERT INTO "SERVICES" VALUES(47,'yes','heat-api-cloudwatch','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/heat-api-cloudwatch.pid');
INSERT INTO "SERVICES" VALUES(48,'yes','open-ldap','initial','initial','none','none',2,1,90000,4,16,'/var/run/slapd.pid');
INSERT INTO "SERVICES" VALUES(49,'yes','snmp','initial','initial','none','none',32,16,90000,4,16,'/var/run/snmpd.pid');
INSERT INTO "SERVICES" VALUES(50,'yes','lighttpd','initial','initial','none','none',2,1,90000,4,16,'/var/run/lighttpd.pid');
INSERT INTO "SERVICES" VALUES(51,'yes','horizon','initial','initial','none','none',2,1,90000,4,16,'/var/run/openstack-dashboard.pid');
INSERT INTO "SERVICES" VALUES(52,'yes','patch-alarm-manager','initial','initial','none','none',2,1,90000,4,16,'/var/run/patch-alarm-manager.pid');
INSERT INTO "SERVICES" VALUES(53,'no','ceph-rest-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/ceph/ceph-rest-api.pid');
INSERT INTO "SERVICES" VALUES(54,'no','ceph-manager','initial','initial','none','none',2,1,90000,4,16,'/var/run/ceph/ceph-manager.pid');
INSERT INTO "SERVICES" VALUES(55,'no','drbd-cinder','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(56,'no','cinder-lvm','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(57,'no','iscsi','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(58,'no','cinder-ip','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(59,'yes','vim','initial','initial','none','none',2,1,90000,4,16,'/var/run/nfv-vim.pid');
INSERT INTO "SERVICES" VALUES(60,'yes','vim-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/nfv-vim-api.pid');
INSERT INTO "SERVICES" VALUES(61,'yes','vim-webserver','initial','initial','none','none',2,1,90000,4,16,'/var/run/nfv-vim-webserver.pid');
INSERT INTO "SERVICES" VALUES(62,'yes','guest-agent','initial','initial','none','none',2,1,90000,4,16,'/var/run/guestAgent.pid');
INSERT INTO "SERVICES" VALUES(63,'yes','nova-api-proxy','initial','initial','none','none',2,1,90000,4,16,'/var/run/nova-api-proxy.pid');
INSERT INTO "SERVICES" VALUES(64,'yes','haproxy','initial','initial','none','none',2,1,90000,4,16,'/var/run/haproxy.pid');
INSERT INTO "SERVICES" VALUES(65,'no','pxeboot-ip','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(67,'no','ceph-radosgw','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(68,'yes','aodh-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/aodh-api.pid');
INSERT INTO "SERVICES" VALUES(69,'yes','aodh-evaluator','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/aodh-evaluator.pid');
INSERT INTO "SERVICES" VALUES(70,'yes','aodh-listener','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/aodh-listener.pid');
INSERT INTO "SERVICES" VALUES(71,'yes','aodh-notifier','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/aodh-notifier.pid');
INSERT INTO "SERVICES" VALUES(72,'yes','murano-api','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(73,'yes','murano-engine','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(74,'yes','murano-rabbit','initial','initial','none','none',2,1,90000,4,16,'/var/run/rabbitmq/murano-rabbit.pid');
INSERT INTO "SERVICES" VALUES(75,'yes','drbd-extension','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(76,'yes','extension-fs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(77,'yes','extension-export-fs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(78,'yes','magnum-api','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(79,'yes','magnum-conductor','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(80,'no','ironic-api','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(81,'no','ironic-conductor','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(82,'yes','panko-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/panko-api.pid');
INSERT INTO "SERVICES" VALUES(83,'yes','nova-placement-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/nova-placement-api.pid');
INSERT INTO "SERVICES" VALUES(84,'no','nova-compute','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(85,'no','ironic-tftp-ip','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(86,'no','nova-serialproxy','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(87,'no','dcorch-engine','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcorch-engine.pid');
INSERT INTO "SERVICES" VALUES(88,'no','dcmanager-manager','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcmanager-manager.pid');
INSERT INTO "SERVICES" VALUES(89,'no','dcmanager-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcmanager-api.pid');
INSERT INTO "SERVICES" VALUES(90,'no','dcorch-snmp','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcorch-snmp.pid');
INSERT INTO "SERVICES" VALUES(91,'no','dcorch-sysinv-api-proxy','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcorch-sysinv-api-proxy.pid');
INSERT INTO "SERVICES" VALUES(92,'no','dcorch-nova-api-proxy','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcorch-nova-api-proxy.pid');
INSERT INTO "SERVICES" VALUES(93,'no','dcorch-neutron-api-proxy','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcorch-neutron-api-proxy.pid');
INSERT INTO "SERVICES" VALUES(94,'no','dcorch-cinder-api-proxy','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcorch-cinder-api-proxy.pid');
INSERT INTO "SERVICES" VALUES(95,'no','drbd-patch-vault','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(96,'no','patch-vault-fs','initial','initial','none','none',2,1,90000,4,16,'');
INSERT INTO "SERVICES" VALUES(97,'no','dcorch-patch-api-proxy','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcorch-patch-api-proxy.pid');
INSERT INTO "SERVICES" VALUES(98,'no','dcorch-identity-api-proxy','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/dcorch-identity-api-proxy.pid');
INSERT INTO "SERVICES" VALUES(99,'yes','etcd','initial','initial','none','none',2,1,90000,4,16,'/var/run/etcd.pid');
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'no','drbd-etcd','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES";
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'no','etcd-fs','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES";
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'yes','barbican-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/barbican/pid' FROM "SERVICES";
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'yes','barbican-keystone-listener','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/barbican-keystone-listener.pid' FROM "SERVICES";
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'yes','barbican-worker','initial','initial','none','none',2,1,90000,4,16,'/var/run/resource-agents/barbican-worker.pid' FROM "SERVICES";
CREATE TABLE SERVICE_HEARTBEAT ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), TYPE CHAR(32), SRC_ADDRESS CHAR(256), SRC_PORT INT, DST_ADDRESS CHAR(256), DST_PORT INT, MESSAGE CHAR(256), INTERVAL_IN_MS INT, MISSED_WARN INT, MISSED_DEGRADE INT, MISSED_FAIL INT, STATE CHAR(32), MISSED INT, HEARTBEAT_TIMER_ID INT, HEARTBEAT_SOCKET INT );
CREATE TABLE SERVICE_DEPENDENCY ( DEPENDENCY_TYPE CHAR(32), SERVICE_NAME CHAR(32), STATE CHAR(32), ACTION CHAR(32), DEPENDENT CHAR(32), DEPENDENT_STATE CHAR(32), PRIMARY KEY (DEPENDENCY_TYPE, SERVICE_NAME, STATE, ACTION, DEPENDENT));
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','oam-ip','not-applicable','enable','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','haproxy','not-applicable','enable','oam-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','enable','open-ldap','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-pg','not-applicable','go-active','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-rabbit','not-applicable','go-active','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-cgcs','not-applicable','go-active','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-platform','not-applicable','go-active','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-extension','not-applicable','go-active','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','pg-fs','not-applicable','enable','drbd-pg','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit-fs','not-applicable','enable','drbd-rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-fs','not-applicable','enable','drbd-cgcs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','platform-fs','not-applicable','enable','drbd-platform','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','extension-fs','not-applicable','enable','drbd-extension','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','enable','pg-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','enable','rabbit-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-export-fs','not-applicable','enable','cgcs-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','platform-export-fs','not-applicable','enable','platform-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','extension-export-fs','not-applicable','enable','extension-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','enable','cgcs-export-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','platform-nfs-ip','not-applicable','enable','platform-export-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','sysinv-conductor','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','sysinv-conductor','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','sysinv-conductor','not-applicable','enable','platform-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','sysinv-inv','not-applicable','enable','sysinv-conductor','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','mtc-agent','not-applicable','enable','sysinv-inv','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','hw-mon','not-applicable','enable','mtc-agent','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','guest-agent','not-applicable','enable','mtc-agent','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','vim','not-applicable','enable','mtc-agent','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','vim-api','not-applicable','enable','vim','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','vim-webserver','not-applicable','enable','vim','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dnsmasq','not-applicable','enable','sysinv-conductor','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','fm-mgr','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','snmp','not-applicable','enable','oam-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','snmp','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','snmp','not-applicable','enable','platform-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','etcd','not-applicable','enable','etcd-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','keystone','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','keystone','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','keystone','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','glance-registry','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','glance-registry','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','glance-registry','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','glance-api','not-applicable','enable','glance-registry','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','neutron-server','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','neutron-server','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','neutron-server','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-scheduler','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-scheduler','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-scheduler','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-conductor','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-conductor','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-conductor','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-api','not-applicable','enable','nova-conductor','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-api-proxy','not-applicable','enable','nova-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-console-auth','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-console-auth','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-console-auth','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-novnc','not-applicable','enable','nova-console-auth','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-backup','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-backup','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-backup','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-scheduler','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-scheduler','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-scheduler','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-volume','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-volume','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-volume','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-api','not-applicable','enable','cinder-scheduler','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-api','not-applicable','enable','cinder-volume','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-api','not-applicable','enable','cinder-backup','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ceilometer-agent-notification','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','heat-engine','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','heat-engine','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','heat-engine','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','heat-api','not-applicable','enable','heat-engine','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','heat-api-cfn','not-applicable','enable','heat-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','heat-api-cloudwatch','not-applicable','enable','heat-api-cfn','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','horizon','not-applicable','enable','lighttpd','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ceph-manager','not-applicable','enable','ceph-rest-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-cinder','not-applicable','go-active','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-lvm','not-applicable','enable','drbd-cinder','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','iscsi','not-applicable','enable','cinder-lvm','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','iscsi','not-applicable','enable','cgcs-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-ip','not-applicable','enable','iscsi','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-volume','not-applicable','enable','cinder-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-backup','not-applicable','enable','cinder-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','oam-ip','not-applicable','disable','haproxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','disable','pg-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','disable','rabbit-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','disable','cgcs-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','disable','platform-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-pg','not-applicable','go-standby','pg-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-rabbit','not-applicable','go-standby','rabbit-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-cgcs','not-applicable','go-standby','cgcs-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-platform','not-applicable','go-standby','platform-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-extension','not-applicable','go-standby','extension-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','pg-fs','not-applicable','disable','postgres','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit-fs','not-applicable','disable','rabbit','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nfs-mgmt','not-applicable','disable','cgcs-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nfs-mgmt','not-applicable','disable','platform-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-fs','not-applicable','disable','cgcs-export-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','extension-fs','not-applicable','disable','extension-export-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','keystone','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','glance-registry','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','neutron-server','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','nova-scheduler','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','nova-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','nova-console-auth','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','cinder-scheduler','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','cinder-volume','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','cinder-backup','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','heat-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','platform-fs','not-applicable','disable','platform-export-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','snmp','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','fm-mgr','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','keystone','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','glance-registry','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','neutron-server','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','nova-scheduler','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','nova-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','nova-console-auth','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','cinder-scheduler','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','cinder-volume','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','cinder-backup','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','heat-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','sysinv-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','keystone','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','glance-registry','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','neutron-server','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','nova-scheduler','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','nova-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','nova-console-auth','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','cinder-scheduler','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','cinder-volume','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','cinder-backup','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','ceilometer-agent-notification','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','heat-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','sysinv-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-export-fs','not-applicable','disable','cgcs-nfs-ip','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','platform-export-fs','not-applicable','disable','platform-nfs-ip','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','platform-nfs-ip','not-applicable','disable','sysinv-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','sysinv-conductor','not-applicable','disable','sysinv-inv','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','sysinv-inv','not-applicable','disable','mtc-agent','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','sysinv-conductor','not-applicable','disable','dnsmasq','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','mtc-agent','not-applicable','disable','hw-mon','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','mtc-agent','not-applicable','disable','guest-agent','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','mtc-agent','not-applicable','disable','vim','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','hw-mon','not-applicable','disable','','');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','vim','not-applicable','disable','vim-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','vim','not-applicable','disable','vim-webserver','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dnsmasq','not-applicable','disable','','');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','glance-registry','not-applicable','disable','glance-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-conductor','not-applicable','disable','nova-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-api','not-applicable','disable','nova-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-scheduler','not-applicable','disable','cinder-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-volume','not-applicable','disable','cinder-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-backup','not-applicable','disable','cinder-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','heat-engine','not-applicable','disable','heat-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','heat-api','not-applicable','disable','heat-api-cfn','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','heat-api-cfn','not-applicable','disable','heat-api-cloudwatch','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','lighttpd','not-applicable','disable','horizon','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ceph-rest-api','not-applicable','disable','ceph-manager','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-ip','not-applicable','disable','cgcs-nfs-ip','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-ip','not-applicable','disable','cinder-volume','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-ip','not-applicable','disable','cinder-backup','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','iscsi','not-applicable','disable','cinder-ip','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-cgcs','not-applicable','disable','iscsi','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','etcd-fs','not-applicable','disable','etcd','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-lvm','not-applicable','disable','iscsi','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-cinder','not-applicable','go-standby','cinder-lvm','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','aodh-listener','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','aodh-listener','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','aodh-listener','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','aodh-api','not-applicable','enable','aodh-listener','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','aodh-notifier','not-applicable','enable','aodh-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','aodh-evaluator','not-applicable','enable','aodh-notifier','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','aodh-listener','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','aodh-listener','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','aodh-listener','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','aodh-listener','not-applicable','disable','aodh-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','aodh-api','not-applicable','disable','aodh-notifier','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','aodh-notifier','not-applicable','disable','aodh-evaluator','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ceph-manager','not-applicable','disable','sysinv-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','murano-engine','not-applicable','enable','murano-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','murano-api','not-applicable','disable','murano-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','murano-engine','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','murano-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','murano-engine','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','murano-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','murano-rabbit','not-applicable','enable','rabbit-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit-fs','not-applicable','disable','murano-rabbit','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','murano-engine','not-applicable','enable','murano-rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','murano-rabbit','not-applicable','disable','murano-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','murano-api','not-applicable','enable','murano-rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','murano-rabbit','not-applicable','disable','murano-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','snmp','not-applicable','enable','dnsmasq','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','panko-api','not-applicable','enable','ceilometer-agent-notification','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ceilometer-agent-notification','not-applicable','disable','panko-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','magnum-conductor','not-applicable','enable','magnum-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','magnum-api','not-applicable','disable','magnum-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','magnum-conductor','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','magnum-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','magnum-conductor','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','magnum-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ironic-conductor','not-applicable','enable','ironic-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ironic-api','not-applicable','disable','ironic-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ironic-conductor','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','ironic-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ironic-conductor','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','ironic-conductor','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-placement-api','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-placement-api','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-placement-api','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','nova-placement-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','nova-placement-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','nova-placement-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-compute','not-applicable','enable','ironic-conductor','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ironic-conductor','not-applicable','disable','nova-compute','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ironic-tftp-ip','not-applicable','enable','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-serialproxy','not-applicable','enable','ironic-conductor','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ironic-conductor','not-applicable','disable','nova-serialproxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-engine','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-engine','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-engine','not-applicable','enable','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-engine','not-applicable','enable','keystone','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','dcorch-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','dcorch-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','disable','dcorch-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','keystone','not-applicable','disable','dcorch-engine','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcmanager-manager','not-applicable','enable','sysinv-inv','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcmanager-manager','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcmanager-manager','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcmanager-manager','not-applicable','enable','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','sysinv-inv','not-applicable','disable','dcmanager-manager','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','dcmanager-manager','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','dcmanager-manager','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','disable','dcmanager-manager','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcmanager-api','not-applicable','enable','dcmanager-manager','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcmanager-manager','not-applicable','disable','dcmanager-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-snmp','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-snmp','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-snmp','not-applicable','enable','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','dcorch-snmp','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','dcorch-snmp','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','disable','dcorch-snmp','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-sysinv-api-proxy','not-applicable','enable','sysinv-inv','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-sysinv-api-proxy','not-applicable','enable','dcorch-engine','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','sysinv-inv','not-applicable','disable','dcorch-sysinv-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-engine','not-applicable','disable','dcorch-sysinv-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-identity-api-proxy','not-applicable','enable','keystone','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-identity-api-proxy','not-applicable','enable','dcorch-engine','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','keystone','not-applicable','disable','dcorch-identity-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-engine','not-applicable','disable','dcorch-identity-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-nova-api-proxy','not-applicable','enable','nova-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-nova-api-proxy','not-applicable','enable','dcorch-engine','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','nova-api','not-applicable','disable','dcorch-nova-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-engine','not-applicable','disable','dcorch-nova-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-neutron-api-proxy','not-applicable','enable','neutron-server','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-neutron-api-proxy','not-applicable','enable','dcorch-engine','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','neutron-server','not-applicable','disable','dcorch-neutron-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-engine','not-applicable','disable','dcorch-neutron-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-cinder-api-proxy','not-applicable','enable','cinder-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-cinder-api-proxy','not-applicable','enable','dcorch-engine','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cinder-api','not-applicable','disable','dcorch-cinder-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcorch-engine','not-applicable','disable','dcorch-cinder-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-patch-vault','not-applicable','go-active','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','patch-vault-fs','not-applicable','enable','drbd-patch-vault','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-patch-vault','not-applicable','go-standby','patch-vault-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dcmanager-manager','not-applicable','disable','dcorch-patch-api-proxy','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-etcd','not-applicable','go-active','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','etcd-fs','not-applicable','enable','drbd-etcd','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-etcd','not-applicable','go-standby','etcd-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','barbican-api','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','barbican-api','not-applicable','enable','rabbit','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','barbican-worker','not-applicable','enable','barbican-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','barbican-keystone-listener','not-applicable','enable','barbican-worker','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','barbican-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','rabbit','not-applicable','disable','barbican-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','barbican-api','not-applicable','disable','barbican-worker','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','barbican-worker','not-applicable','disable','barbican-keystone-listener','disabled');
CREATE TABLE SERVICE_INSTANCES ( ID INTEGER PRIMARY KEY AUTOINCREMENT, SERVICE_NAME CHAR(32), INSTANCE_NAME CHAR(32), INSTANCE_PARAMETERS CHAR(1024) );
INSERT INTO "SERVICE_INSTANCES" VALUES(1,'lighttpd','lighttpd','');
INSERT INTO "SERVICE_INSTANCES" VALUES(2,'horizon','horizon','');
INSERT INTO "SERVICE_INSTANCES" VALUES(3,'snmp','snmp','');
INSERT INTO "SERVICE_INSTANCES" VALUES(4,'patch-alarm-manager','patch-alarm-manager','');
INSERT INTO "SERVICE_INSTANCES" VALUES(5,'hw-mon','hw-mon','');
INSERT INTO "SERVICE_INSTANCES" VALUES(6,'guest-agent','guest-agent','');
INSERT INTO "SERVICE_INSTANCES" VALUES(7,'vim','vim','config=/etc/nfv/vim/config.ini');
INSERT INTO "SERVICE_INSTANCES" VALUES(8,'vim-api','vim-api','config=/etc/nfv/vim/config.ini');
INSERT INTO "SERVICE_INSTANCES" VALUES(9,'vim-webserver','vim-webserver','config=/etc/nfv/vim/config.ini');
INSERT INTO "SERVICE_INSTANCES" VALUES(10,'nova-api-proxy','nova-api-proxy','');
INSERT INTO "SERVICE_INSTANCES" VALUES(11,'haproxy','haproxy','');
INSERT INTO "SERVICE_INSTANCES" VALUES(12,'ceph-rest-api','ceph-rest-api','');
INSERT INTO "SERVICE_INSTANCES" VALUES(13,'ceph-manager','ceph-manager','');
INSERT INTO "SERVICE_INSTANCES" VALUES(14,'ceph-radosgw','ceph-radosgw','');
CREATE TABLE SERVICE_ACTIONS ( SERVICE_NAME CHAR(32), ACTION CHAR(32), PLUGIN_TYPE CHAR(32), PLUGIN_CLASS CHAR(32), PLUGIN_NAME CHAR(80), PLUGIN_COMMAND CHAR(80), PLUGIN_PARAMETERS CHAR(1024), MAX_FAILURE_RETRIES INT,      MAX_TIMEOUT_RETRIES INT,      MAX_TOTAL_RETRIES INT,      TIMEOUT_IN_SECS INT,      INTERVAL_IN_SECS INT,      PRIMARY KEY (SERVICE_NAME, ACTION));
INSERT INTO "SERVICE_ACTIONS" VALUES('oam-ip','enable','ocf-script','heartbeat','IPaddr2','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('oam-ip','disable','ocf-script','heartbeat','IPaddr2','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('oam-ip','audit-enabled','ocf-script','heartbeat','IPaddr2','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('oam-ip','audit-disabled','ocf-script','heartbeat','IPaddr2','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('management-ip','enable','ocf-script','heartbeat','IPaddr2','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('management-ip','disable','ocf-script','heartbeat','IPaddr2','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('management-ip','audit-enabled','ocf-script','heartbeat','IPaddr2','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('management-ip','audit-disabled','ocf-script','heartbeat','IPaddr2','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-pg','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-pg','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-pg','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-pg','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-pg','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-pg','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-rabbit','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-rabbit','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-rabbit','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-rabbit','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-rabbit','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-rabbit','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cgcs','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cgcs','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cgcs','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cgcs','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cgcs','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cgcs','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-platform','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-platform','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-platform','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-platform','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-platform','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-platform','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-extension','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-extension','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-extension','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-extension','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-extension','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-extension','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);
INSERT INTO "SERVICE_ACTIONS" VALUES('pg-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('pg-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('pg-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('pg-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('rabbit-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('rabbit-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('rabbit-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('rabbit-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('nfs-mgmt','enable','ocf-script','platform','nfsserver-mgmt','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nfs-mgmt','disable','ocf-script','platform','nfsserver-mgmt','stop','',1,1,1,130,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nfs-mgmt','audit-disabled','ocf-script','platform','nfsserver-mgmt','monitor','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('extension-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('extension-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('extension-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('extension-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('postgres','enable','ocf-script','heartbeat','pgsql','start','',2,2,2,120,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('postgres','disable','ocf-script','heartbeat','pgsql','stop','',1,1,1,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('postgres','audit-enabled','ocf-script','heartbeat','pgsql','monitor','',2,2,2,60,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('postgres','audit-disabled','ocf-script','heartbeat','pgsql','monitor','',0,0,0,60,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('rabbit','enable','ocf-script','rabbitmq','rabbitmq-server','start','',2,2,2,60,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('rabbit','disable','ocf-script','rabbitmq','rabbitmq-server','stop','',1,1,1,60,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('rabbit','audit-enabled','ocf-script','rabbitmq','rabbitmq-server','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('rabbit','audit-disabled','ocf-script','rabbitmq','rabbitmq-server','monitor','',0,0,0,15,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-export-fs','enable','ocf-script','heartbeat','exportfs','start','',2,2,2,40,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-export-fs','disable','ocf-script','heartbeat','exportfs','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-export-fs','audit-enabled','ocf-script','heartbeat','exportfs','monitor','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-export-fs','audit-disabled','ocf-script','heartbeat','exportfs','monitor','',0,0,0,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-export-fs','enable','ocf-script','heartbeat','exportfs','start','',2,2,2,40,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-export-fs','disable','ocf-script','heartbeat','exportfs','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-export-fs','audit-enabled','ocf-script','heartbeat','exportfs','monitor','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-export-fs','audit-disabled','ocf-script','heartbeat','exportfs','monitor','',0,0,0,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('extension-export-fs','enable','ocf-script','heartbeat','exportfs','start','',2,2,2,40,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('extension-export-fs','disable','ocf-script','heartbeat','exportfs','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('extension-export-fs','audit-enabled','ocf-script','heartbeat','exportfs','monitor','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('extension-export-fs','audit-disabled','ocf-script','heartbeat','exportfs','monitor','',0,0,0,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-nfs-ip','enable','ocf-script','heartbeat','IPaddr2','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-nfs-ip','disable','ocf-script','heartbeat','IPaddr2','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-nfs-ip','audit-enabled','ocf-script','heartbeat','IPaddr2','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('cgcs-nfs-ip','audit-disabled','ocf-script','heartbeat','IPaddr2','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-nfs-ip','enable','ocf-script','heartbeat','IPaddr2','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-nfs-ip','disable','ocf-script','heartbeat','IPaddr2','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-nfs-ip','audit-enabled','ocf-script','heartbeat','IPaddr2','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('platform-nfs-ip','audit-disabled','ocf-script','heartbeat','IPaddr2','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('sysinv-inv','enable','ocf-script','platform','sysinv-api','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('sysinv-inv','disable','ocf-script','platform','sysinv-api','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('sysinv-inv','audit-enabled','ocf-script','platform','sysinv-api','monitor','',2,2,2,40,90);
INSERT INTO "SERVICE_ACTIONS" VALUES('sysinv-inv','audit-disabled','ocf-script','platform','sysinv-api','monitor','',0,0,0,40,90);
INSERT INTO "SERVICE_ACTIONS" VALUES('sysinv-conductor','enable','ocf-script','platform','sysinv-conductor','start','',2,2,2,30,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('sysinv-conductor','disable','ocf-script','platform','sysinv-conductor','stop','timeout=60000',1,1,1,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('sysinv-conductor','audit-enabled','ocf-script','platform','sysinv-conductor','monitor','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('sysinv-conductor','audit-disabled','ocf-script','platform','sysinv-conductor','monitor','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('mtc-agent','enable','ocf-script','platform','mtcAgent','start','',2,2,2,30,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('mtc-agent','disable','ocf-script','platform','mtcAgent','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('mtc-agent','audit-enabled','ocf-script','platform','mtcAgent','monitor','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('mtc-agent','audit-disabled','ocf-script','platform','mtcAgent','monitor','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('hw-mon','enable','ocf-script','platform','hwmon','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('hw-mon','disable','ocf-script','platform','hwmon','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('hw-mon','audit-enabled','ocf-script','platform','hwmon','monitor','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('hw-mon','audit-disabled','ocf-script','platform','hwmon','monitor','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('dnsmasq','enable','lsb-script','','dnsmasq','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dnsmasq','disable','lsb-script','','dnsmasq','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dnsmasq','audit-enabled','lsb-script','','dnsmasq','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('dnsmasq','audit-disabled','lsb-script','','dnsmasq','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('etcd','enable','lsb-script','','etcd','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('etcd','disable','lsb-script','','etcd','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('etcd','audit-enabled','lsb-script','','etcd','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('etcd','audit-disabled','lsb-script','','etcd','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('fm-mgr','enable','lsb-script','','fminit','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('fm-mgr','disable','lsb-script','','fminit','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('fm-mgr','audit-enabled','lsb-script','','fminit','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('fm-mgr','audit-disabled','lsb-script','','fminit','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('keystone','enable','ocf-script','openstack','keystone','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('keystone','disable','ocf-script','openstack','keystone','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('keystone','audit-enabled','ocf-script','openstack','keystone','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('keystone','audit-disabled','ocf-script','openstack','keystone','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('glance-registry','enable','ocf-script','openstack','glance-registry','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('glance-registry','disable','ocf-script','openstack','glance-registry','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('glance-registry','audit-enabled','ocf-script','openstack','glance-registry','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('glance-registry','audit-disabled','ocf-script','openstack','glance-registry','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('glance-api','enable','ocf-script','openstack','glance-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('glance-api','disable','ocf-script','openstack','glance-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('glance-api','audit-enabled','ocf-script','openstack','glance-api','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('glance-api','audit-disabled','ocf-script','openstack','glance-api','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('neutron-server','enable','ocf-script','openstack','neutron-server','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('neutron-server','disable','ocf-script','openstack','neutron-server','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('neutron-server','audit-enabled','ocf-script','openstack','neutron-server','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('neutron-server','audit-disabled','ocf-script','openstack','neutron-server','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-api','enable','ocf-script','openstack','nova-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-api','disable','ocf-script','openstack','nova-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-api','audit-enabled','ocf-script','openstack','nova-api','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-api','audit-disabled','ocf-script','openstack','nova-api','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-scheduler','enable','ocf-script','openstack','nova-scheduler','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-scheduler','disable','ocf-script','openstack','nova-scheduler','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-scheduler','audit-enabled','ocf-script','openstack','nova-scheduler','monitor','',2,2,2,60,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-scheduler','audit-disabled','ocf-script','openstack','nova-scheduler','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-conductor','enable','ocf-script','openstack','nova-conductor','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-conductor','disable','ocf-script','openstack','nova-conductor','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-conductor','audit-enabled','ocf-script','openstack','nova-conductor','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-conductor','audit-disabled','ocf-script','openstack','nova-conductor','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-console-auth','enable','ocf-script','openstack','nova-consoleauth','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-console-auth','disable','ocf-script','openstack','nova-consoleauth','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-console-auth','audit-enabled','ocf-script','openstack','nova-consoleauth','monitor','',2,2,2,60,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-console-auth','audit-disabled','ocf-script','openstack','nova-consoleauth','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-novnc','enable','ocf-script','openstack','nova-novnc','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-novnc','disable','ocf-script','openstack','nova-novnc','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-novnc','audit-enabled','ocf-script','openstack','nova-novnc','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-novnc','audit-disabled','ocf-script','openstack','nova-novnc','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-api','enable','ocf-script','openstack','cinder-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-api','disable','ocf-script','openstack','cinder-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-api','audit-enabled','ocf-script','openstack','cinder-api','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-api','audit-disabled','ocf-script','openstack','cinder-api','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-scheduler','enable','ocf-script','openstack','cinder-schedule','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-scheduler','disable','ocf-script','openstack','cinder-schedule','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-scheduler','audit-enabled','ocf-script','openstack','cinder-schedule','monitor','',2,2,2,60,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-scheduler','audit-disabled','ocf-script','openstack','cinder-schedule','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-volume','enable','ocf-script','openstack','cinder-volume','start','',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-volume','disable','ocf-script','openstack','cinder-volume','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-volume','audit-enabled','ocf-script','openstack','cinder-volume','monitor','',2,2,2,30,60);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-volume','audit-disabled','ocf-script','openstack','cinder-volume','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-backup','enable','ocf-script','openstack','cinder-backup','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-backup','disable','ocf-script','openstack','cinder-backup','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-backup','audit-enabled','ocf-script','openstack','cinder-backup','monitor','',2,2,2,60,60);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-backup','audit-disabled','ocf-script','openstack','cinder-backup','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceilometer-agent-notification','enable','ocf-script','openstack','ceilometer-agent-notification','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceilometer-agent-notification','disable','ocf-script','openstack','ceilometer-agent-notification','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceilometer-agent-notification','audit-enabled','ocf-script','openstack','ceilometer-agent-notification','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceilometer-agent-notification','audit-disabled','ocf-script','openstack','ceilometer-agent-notification','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-engine','enable','ocf-script','openstack','heat-engine','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-engine','disable','ocf-script','openstack','heat-engine','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-engine','audit-enabled','ocf-script','openstack','heat-engine','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-engine','audit-disabled','ocf-script','openstack','heat-engine','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api','enable','ocf-script','openstack','heat-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api','disable','ocf-script','openstack','heat-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api','audit-enabled','ocf-script','openstack','heat-api','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api','audit-disabled','ocf-script','openstack','heat-api','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api-cfn','enable','ocf-script','openstack','heat-api-cfn','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api-cfn','disable','ocf-script','openstack','heat-api-cfn','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api-cfn','audit-enabled','ocf-script','openstack','heat-api-cfn','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api-cfn','audit-disabled','ocf-script','openstack','heat-api-cfn','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api-cloudwatch','enable','ocf-script','openstack','heat-api-cloudwatch','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api-cloudwatch','disable','ocf-script','openstack','heat-api-cloudwatch','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api-cloudwatch','audit-enabled','ocf-script','openstack','heat-api-cloudwatch','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('heat-api-cloudwatch','audit-disabled','ocf-script','openstack','heat-api-cloudwatch','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('open-ldap','enable','lsb-script','','openldap','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('open-ldap','disable','lsb-script','','openldap','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('open-ldap','audit-enabled','lsb-script','','openldap','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('open-ldap','audit-disabled','lsb-script','','openldap','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('snmp','enable','lsb-script','','snmpd','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('snmp','disable','lsb-script','','snmpd','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('snmp','audit-enabled','lsb-script','','snmpd','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('snmp','audit-disabled','lsb-script','','snmpd','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('lighttpd','enable','lsb-script','','lighttpd','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('lighttpd','disable','lsb-script','','lighttpd','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('lighttpd','audit-enabled','lsb-script','','lighttpd','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('lighttpd','audit-disabled','lsb-script','','lighttpd','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('horizon','enable','lsb-script','','horizon','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('horizon','disable','lsb-script','','horizon','stop','',1,1,1,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('horizon','audit-enabled','lsb-script','','horizon','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('horizon','audit-disabled','lsb-script','','horizon','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('patch-alarm-manager','enable','lsb-script','','patch-alarm-manager','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('patch-alarm-manager','disable','lsb-script','','patch-alarm-manager','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('patch-alarm-manager','audit-enabled','lsb-script','','patch-alarm-manager','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('patch-alarm-manager','audit-disabled','lsb-script','','patch-alarm-manager','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim','enable','ocf-script','nfv','vim','start','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim','disable','ocf-script','nfv','vim','stop','',1,1,1,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim','audit-enabled','ocf-script','nfv','vim','monitor','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim','audit-disabled','ocf-script','nfv','vim','monitor','',0,0,0,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim-api','enable','ocf-script','nfv','vim-api','start','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim-api','disable','ocf-script','nfv','vim-api','stop','',1,1,1,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim-api','audit-enabled','ocf-script','nfv','vim-api','monitor','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim-api','audit-disabled','ocf-script','nfv','vim-api','monitor','',0,0,0,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim-webserver','enable','ocf-script','nfv','vim-webserver','start','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim-webserver','disable','ocf-script','nfv','vim-webserver','stop','',1,1,1,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim-webserver','audit-enabled','ocf-script','nfv','vim-webserver','monitor','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('vim-webserver','audit-disabled','ocf-script','nfv','vim-webserver','monitor','',0,0,0,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('guest-agent','enable','ocf-script','platform','guestAgent','start','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('guest-agent','disable','ocf-script','platform','guestAgent','stop','',1,1,1,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('guest-agent','audit-enabled','ocf-script','platform','guestAgent','monitor','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('guest-agent','audit-disabled','ocf-script','platform','guestAgent','monitor','',0,0,0,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-api-proxy','enable','lsb-script','','api-proxy','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-api-proxy','disable','lsb-script','','api-proxy','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-api-proxy','audit-enabled','lsb-script','','api-proxy','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-api-proxy','audit-disabled','lsb-script','','api-proxy','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('haproxy','enable','lsb-script','','haproxy','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('haproxy','disable','lsb-script','','haproxy','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('haproxy','audit-enabled','lsb-script','','haproxy','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('haproxy','audit-disabled','lsb-script','','haproxy','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-rest-api','enable','lsb-script','','ceph-rest-api','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-rest-api','disable','lsb-script','','ceph-rest-api','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-rest-api','audit-enabled','lsb-script','','ceph-rest-api','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-rest-api','audit-disabled','lsb-script','','ceph-rest-api','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-manager','enable','lsb-script','','ceph-manager','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-manager','disable','lsb-script','','ceph-manager','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-manager','audit-enabled','lsb-script','','ceph-manager','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-manager','audit-disabled','lsb-script','','ceph-manager','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cinder','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cinder','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cinder','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cinder','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cinder','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cinder','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-lvm','enable','ocf-script','heartbeat','LVM','start','',2,2,2,330,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-lvm','disable','ocf-script','heartbeat','LVM','stop','',1,1,1,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-lvm','audit-enabled','ocf-script','heartbeat','LVM','monitor','',2,2,2,60,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-lvm','audit-disabled','ocf-script','heartbeat','LVM','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-ip','enable','ocf-script','heartbeat','IPaddr2','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-ip','disable','ocf-script','heartbeat','IPaddr2','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-ip','audit-enabled','ocf-script','heartbeat','IPaddr2','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('cinder-ip','audit-disabled','ocf-script','heartbeat','IPaddr2','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('pxeboot-ip','enable','ocf-script','heartbeat','IPaddr2','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('pxeboot-ip','disable','ocf-script','heartbeat','IPaddr2','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('pxeboot-ip','audit-enabled','ocf-script','heartbeat','IPaddr2','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('pxeboot-ip','audit-disabled','ocf-script','heartbeat','IPaddr2','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('iscsi','enable','lsb-script','','target','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('iscsi','disable','lsb-script','','target','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('iscsi','audit-enabled','lsb-script','','target','status','',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('iscsi','audit-disabled','lsb-script','','target','status','',0,0,0,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-radosgw','enable','lsb-script','','ceph-radosgw','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-radosgw','disable','lsb-script','','ceph-radosgw','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-radosgw','audit-enabled','lsb-script','','ceph-radosgw','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-radosgw','audit-disabled','lsb-script','','ceph-radosgw','status','',0,0,0,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-api','enable','ocf-script','openstack','aodh-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-api','disable','ocf-script','openstack','aodh-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-api','audit-enabled','ocf-script','openstack','aodh-api','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-api','audit-disabled','ocf-script','openstack','aodh-api','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-evaluator','enable','ocf-script','openstack','aodh-evaluator','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-evaluator','disable','ocf-script','openstack','aodh-evaluator','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-evaluator','audit-enabled','ocf-script','openstack','aodh-evaluator','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-evaluator','audit-disabled','ocf-script','openstack','aodh-evaluator','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-listener','enable','ocf-script','openstack','aodh-listener','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-listener','disable','ocf-script','openstack','aodh-listener','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-listener','audit-enabled','ocf-script','openstack','aodh-listener','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-listener','audit-disabled','ocf-script','openstack','aodh-listener','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-notifier','enable','ocf-script','openstack','aodh-notifier','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-notifier','disable','ocf-script','openstack','aodh-notifier','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-notifier','audit-enabled','ocf-script','openstack','aodh-notifier','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('aodh-notifier','audit-disabled','ocf-script','openstack','aodh-notifier','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-api','enable','ocf-script','openstack','murano-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-api','disable','ocf-script','openstack','murano-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-api','audit-enabled','ocf-script','openstack','murano-api','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-api','audit-disabled','ocf-script','openstack','murano-api','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-engine','enable','ocf-script','openstack','murano-engine','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-engine','disable','ocf-script','openstack','murano-engine','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-engine','audit-enabled','ocf-script','openstack','murano-engine','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-engine','audit-disabled','ocf-script','openstack','murano-engine','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-rabbit','enable','ocf-script','rabbitmq','rabbitmq-server','start','',2,2,2,60,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-rabbit','disable','ocf-script','rabbitmq','rabbitmq-server','stop','',1,1,1,60,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-rabbit','audit-enabled','ocf-script','rabbitmq','rabbitmq-server','monitor','',2,2,2,15,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('murano-rabbit','audit-disabled','ocf-script','rabbitmq','rabbitmq-server','monitor','',0,0,0,15,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('panko-api','enable','ocf-script','openstack','panko-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('panko-api','disable','ocf-script','openstack','panko-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('panko-api','audit-enabled','ocf-script','openstack','panko-api','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('panko-api','audit-disabled','ocf-script','openstack','panko-api','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('magnum-api','enable','ocf-script','openstack','magnum-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('magnum-api','disable','ocf-script','openstack','magnum-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('magnum-api','audit-enabled','ocf-script','openstack','magnum-api','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('magnum-api','audit-disabled','ocf-script','openstack','magnum-api','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('magnum-conductor','enable','ocf-script','openstack','magnum-conductor','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('magnum-conductor','disable','ocf-script','openstack','magnum-conductor','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('magnum-conductor','audit-enabled','ocf-script','openstack','magnum-conductor','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('magnum-conductor','audit-disabled','ocf-script','openstack','magnum-conductor','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-api','enable','ocf-script','openstack','ironic-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-api','disable','ocf-script','openstack','ironic-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-api','audit-enabled','ocf-script','openstack','ironic-api','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-api','audit-disabled','ocf-script','openstack','ironic-api','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-conductor','enable','ocf-script','openstack','ironic-conductor','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-conductor','disable','ocf-script','openstack','ironic-conductor','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-conductor','audit-enabled','ocf-script','openstack','ironic-conductor','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-conductor','audit-disabled','ocf-script','openstack','ironic-conductor','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-placement-api','enable','ocf-script','openstack','nova-placement-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-placement-api','disable','ocf-script','openstack','nova-placement-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-placement-api','audit-enabled','ocf-script','openstack','nova-placement-api','monitor','',2,2,2,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-placement-api','audit-disabled','ocf-script','openstack','nova-placement-api','monitor','',0,0,0,30,20);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-compute','enable','ocf-script','openstack','nova-compute','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-compute','disable','ocf-script','openstack','nova-compute','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-compute','audit-enabled','ocf-script','openstack','nova-compute','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-compute','audit-disabled','ocf-script','openstack','nova-compute','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-tftp-ip','enable','ocf-script','heartbeat','IPaddr2','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-tftp-ip','disable','ocf-script','heartbeat','IPaddr2','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-tftp-ip','audit-enabled','ocf-script','heartbeat','IPaddr2','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('ironic-tftp-ip','audit-disabled','ocf-script','heartbeat','IPaddr2','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-serialproxy','enable','ocf-script','openstack','nova-serialproxy','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-serialproxy','disable','ocf-script','openstack','nova-serialproxy','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-serialproxy','audit-enabled','ocf-script','openstack','nova-serialproxy','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('nova-serialproxy','audit-disabled','ocf-script','openstack','nova-serialproxy','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-engine','enable','ocf-script','openstack','dcorch-engine','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-engine','disable','ocf-script','openstack','dcorch-engine','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-engine','audit-enabled','ocf-script','openstack','dcorch-engine','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-engine','audit-disabled','ocf-script','openstack','dcorch-engine','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcmanager-manager','enable','ocf-script','openstack','dcmanager-manager','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcmanager-manager','disable','ocf-script','openstack','dcmanager-manager','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcmanager-manager','audit-enabled','ocf-script','openstack','dcmanager-manager','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcmanager-manager','audit-disabled','ocf-script','openstack','dcmanager-manager','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcmanager-api','enable','ocf-script','openstack','dcmanager-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcmanager-api','disable','ocf-script','openstack','dcmanager-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcmanager-api','audit-enabled','ocf-script','openstack','dcmanager-api','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcmanager-api','audit-disabled','ocf-script','openstack','dcmanager-api','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-snmp','enable','ocf-script','openstack','dcorch-snmp','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-snmp','disable','ocf-script','openstack','dcorch-snmp','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-snmp','audit-enabled','ocf-script','openstack','dcorch-snmp','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-snmp','audit-disabled','ocf-script','openstack','dcorch-snmp','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-sysinv-api-proxy','enable','ocf-script','openstack','dcorch-sysinv-api-proxy','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-sysinv-api-proxy','disable','ocf-script','openstack','dcorch-sysinv-api-proxy','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-sysinv-api-proxy','audit-enabled','ocf-script','openstack','dcorch-sysinv-api-proxy','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-sysinv-api-proxy','audit-disabled','ocf-script','openstack','dcorch-sysinv-api-proxy','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-identity-api-proxy','enable','ocf-script','openstack','dcorch-identity-api-proxy','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-identity-api-proxy','disable','ocf-script','openstack','dcorch-identity-api-proxy','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-identity-api-proxy','audit-enabled','ocf-script','openstack','dcorch-identity-api-proxy','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-identity-api-proxy','audit-disabled','ocf-script','openstack','dcorch-identity-api-proxy','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-nova-api-proxy','enable','ocf-script','openstack','dcorch-nova-api-proxy','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-nova-api-proxy','disable','ocf-script','openstack','dcorch-nova-api-proxy','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-nova-api-proxy','audit-enabled','ocf-script','openstack','dcorch-nova-api-proxy','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-nova-api-proxy','audit-disabled','ocf-script','openstack','dcorch-nova-api-proxy','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-neutron-api-proxy','enable','ocf-script','openstack','dcorch-neutron-api-proxy','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-neutron-api-proxy','disable','ocf-script','openstack','dcorch-neutron-api-proxy','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-neutron-api-proxy','audit-enabled','ocf-script','openstack','dcorch-neutron-api-proxy','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-neutron-api-proxy','audit-disabled','ocf-script','openstack','dcorch-neutron-api-proxy','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-cinder-api-proxy','enable','ocf-script','openstack','dcorch-cinder-api-proxy','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-cinder-api-proxy','disable','ocf-script','openstack','dcorch-cinder-api-proxy','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-cinder-api-proxy','audit-enabled','ocf-script','openstack','dcorch-cinder-api-proxy','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-cinder-api-proxy','audit-disabled','ocf-script','openstack','dcorch-cinder-api-proxy','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-patch-vault','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-patch-vault','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-patch-vault','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-patch-vault','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-patch-vault','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-patch-vault','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);
INSERT INTO "SERVICE_ACTIONS" VALUES('patch-vault-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('patch-vault-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('patch-vault-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('patch-vault-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-patch-api-proxy','enable','ocf-script','openstack','dcorch-patch-api-proxy','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-patch-api-proxy','disable','ocf-script','openstack','dcorch-patch-api-proxy','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-patch-api-proxy','audit-enabled','ocf-script','openstack','dcorch-patch-api-proxy','monitor','',2,2,2,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('dcorch-patch-api-proxy','audit-disabled','ocf-script','openstack','dcorch-patch-api-proxy','monitor','',0,0,0,20,5);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-etcd','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-etcd','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-etcd','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-etcd','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-etcd','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-etcd','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);
INSERT INTO "SERVICE_ACTIONS" VALUES('etcd-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('etcd-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('etcd-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('etcd-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-api','enable','ocf-script','openstack','barbican-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-api','disable','ocf-script','openstack','barbican-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-api','audit-enabled','ocf-script','openstack','barbican-api','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-api','audit-disabled','ocf-script','openstack','barbican-api','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-keystone-listener','enable','ocf-script','openstack','barbican-keystone-listener','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-keystone-listener','disable','ocf-script','openstack','barbican-keystone-listener','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-keystone-listener','audit-enabled','ocf-script','openstack','barbican-keystone-listener','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-keystone-listener','audit-disabled','ocf-script','openstack','barbican-keystone-listener','monitor','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-worker','enable','ocf-script','openstack','barbican-worker','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-worker','disable','ocf-script','openstack','barbican-worker','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-worker','audit-enabled','ocf-script','openstack','barbican-worker','monitor','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('barbican-worker','audit-disabled','ocf-script','openstack','barbican-worker','monitor','',0,0,0,30,30);
CREATE TABLE SERVICE_ACTION_RESULTS ( PLUGIN_TYPE CHAR(32), PLUGIN_NAME CHAR(80), PLUGIN_COMMAND CHAR(80), PLUGIN_EXIT_CODE CHAR(10), ACTION_RESULT CHAR(32), SERVICE_STATE CHAR(32), SERVICE_STATUS CHAR(32), SERVICE_CONDITION CHAR(32), PRIMARY KEY (PLUGIN_TYPE, PLUGIN_NAME, PLUGIN_COMMAND, PLUGIN_EXIT_CODE));
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','status','0','success','enabled-active','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','status','1','success','disabled','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','status','2','success','disabled','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','status','3','success','disabled','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','status','4','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','status','plugin-failure','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','status','other','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','0','success','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','1','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','2','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','3','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','4','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','5','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','6','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','7','failed','disabled','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','plugin-failure','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','plugin-timeout','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('lsb-script','default','default','other','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','0','success','unknown','','');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','1','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','2','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','3','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','4','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','5','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','6','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','7','success','disabled','','');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','8','success','enabled-active','','');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','9','failed','enabled-active','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','32','success','unknown','degraded','data-inconsistent');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','33','success','unknown','degraded','data-outdated');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','34','success','unknown','degraded','data-consistent');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','35','success','unknown','degraded','data-syncing');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','36','success','unknown','degraded','data-standalone');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','37','success','enabled-active','degraded','data-inconsistent');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','38','success','enabled-active','degraded','data-outdated');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','39','success','enabled-active','degraded','data-consistent');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','40','success','enabled-active','degraded','data-syncing');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','41','success','enabled-active','degraded','data-standalone');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','plugin-failure','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','plugin-timeout','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','default','other','failed','unknown','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','stop','5','success','disabled','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','default','demote','5','success','disabled','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','Filesystem','stop','1','success','disabled','unknown','unknown');
INSERT INTO "SERVICE_ACTION_RESULTS" VALUES('ocf-script','Filesystem','stop','plugin-timeout','success','disabled','unknown','unknown');
CREATE TABLE SCHEMA_VERSION (ID INTEGER PRIMARY KEY AUTOINCREMENT, MAJOR INTEGER, MINOR INTEGER);
INSERT INTO "SCHEMA_VERSION" VALUES(2,0,0);
CREATE TABLE CONFIGURATION ( ID INTEGER PRIMARY KEY AUTOINCREMENT, "KEY" CHAR(32), "VALUE" CHAR(32) );
INSERT INTO "CONFIGURATION" VALUES(1,'ENABLING_THROTTLE','2');
INSERT INTO "CONFIGURATION" ("KEY", "VALUE") VALUES("sm_client_port", "");
INSERT INTO "CONFIGURATION" ("KEY", "VALUE") VALUES("sm_server_port", "");
-- to add new service or service memeber, follow the examples below, avoid using a hardcoded id
-- INSERT INTO "SERVICES" SELECT MAX(id) + 1,'no','drbd-patch-vault','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES";
-- INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','distributed-cloud-services','dcorch-nova-api-proxy','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','controller-services','docker-distribution','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICES" SELECT MAX(id) + 1, 'no','docker-distribution','initial','initial','none','none',2,1,90000,4,16,'/var/run/docker-distribution.pid' FROM "SERVICES";
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','docker-distribution','not-applicable','enable','cgcs-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-fs','not-applicable','disable','docker-distribution','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','docker-distribution','not-applicable','enable','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','disable','docker-distribution','disabled');
INSERT INTO "SERVICE_ACTIONS" VALUES('docker-distribution','enable','lsb-script','','docker-distribution','start','',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('docker-distribution','disable','lsb-script','','docker-distribution','stop','',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('docker-distribution','audit-enabled','lsb-script','','docker-distribution','status','',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('docker-distribution','audit-disabled','lsb-script','','docker-distribution','status','',0,0,0,15,40);
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','controller-services','dockerdistribution-fs','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'no','dockerdistribution-fs','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES";
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dockerdistribution-fs','not-applicable','enable','drbd-dockerdistribution','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','docker-distribution','not-applicable','enable','dockerdistribution-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-dockerdistribution','not-applicable','go-standby','dockerdistribution-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','dockerdistribution-fs','not-applicable','disable','docker-distribution','disabled');
INSERT INTO "SERVICE_ACTIONS" VALUES('dockerdistribution-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dockerdistribution-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('dockerdistribution-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('dockerdistribution-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','controller-services','drbd-dockerdistribution','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'no','drbd-dockerdistribution','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES";
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-dockerdistribution','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-dockerdistribution','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-dockerdistribution','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-dockerdistribution','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-dockerdistribution','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-dockerdistribution','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);

update "SERVICE_ACTIONS" set TIMEOUT_IN_SECS=60 where action in ('enable', 'audit-enabled') and service_name = 'glance-registry';
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'yes','gnocchi-api','initial','initial','none','none',2,1,90000,4,16,'/var/run/gnocchi-api.pid' FROM "SERVICES";
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'yes','gnocchi-metricd','initial','initial','none','none',2,1,90000,4,16,'/var/run/gnocchi-metricd.pid' FROM "SERVICES";
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'yes','cloud-services','gnocchi-api','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'yes','cloud-services','gnocchi-metricd','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','gnocchi-api','not-applicable','enable','postgres','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','gnocchi-api','not-applicable','enable','cgcs-nfs-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','gnocchi-api','not-applicable','enable','drbd-cgcs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','gnocchi-metricd','not-applicable','enable','gnocchi-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ceilometer-agent-notification','not-applicable','enable','gnocchi-api','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','postgres','not-applicable','disable','gnocchi-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cgcs-nfs-ip','not-applicable','disable','gnocchi-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-cgcs','not-applicable','disable','gnocchi-api','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','gnocchi-api','not-applicable','disable','gnocchi-metricd','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','gnocchi-api','not-applicable','disable','ceilometer-agent-notification','disabled');
INSERT INTO "SERVICE_ACTIONS" VALUES('gnocchi-api','enable','lsb-script','','gnocchi-api','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('gnocchi-api','disable','lsb-script','','gnocchi-api','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('gnocchi-api','audit-enabled','lsb-script','','gnocchi-api','status','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('gnocchi-api','audit-disabled','lsb-script','','gnocchi-api','status','',0,0,0,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('gnocchi-metricd','enable','lsb-script','','gnocchi-metricd','start','',2,2,2,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('gnocchi-metricd','disable','lsb-script','','gnocchi-metricd','stop','',1,1,1,20,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('gnocchi-metricd','audit-enabled','lsb-script','','gnocchi-metricd','status','',2,2,2,30,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('gnocchi-metricd','audit-disabled','lsb-script','','gnocchi-metricd','status','',0,0,0,30,30);

INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','controller-services','ceph-mon','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICES" SELECT MAX(id) + 1, 'no','ceph-mon','initial','initial','none','none',2,1,90000,4,16,'/var/run/ceph/mon.controller.pid' FROM "SERVICES";
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ceph-mon','not-applicable','enable','management-ip','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','management-ip','not-applicable','disable','ceph-mon','disabled');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-mon','enable','lsb-script','','ceph-init-wrapper','start','ARGS=mon',2,2,2,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-mon','disable','lsb-script','','ceph-init-wrapper','stop','ARGS=mon',1,1,1,15,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-mon','audit-enabled','lsb-script','','ceph-init-wrapper','status','ARGS=mon',2,2,2,15,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-mon','audit-disabled','lsb-script','','ceph-init-wrapper','status','ARGS=mon',0,0,0,15,40);
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','controller-services','cephmon-fs','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'no','cephmon-fs','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES";
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cephmon-fs','not-applicable','enable','drbd-cephmon','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ceph-mon','not-applicable','enable','cephmon-fs','enabled-active');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','drbd-cephmon','not-applicable','go-standby','cephmon-fs','disabled');
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','cephmon-fs','not-applicable','disable','ceph-mon','disabled');
INSERT INTO "SERVICE_ACTIONS" VALUES('cephmon-fs','enable','ocf-script','heartbeat','Filesystem','start','',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cephmon-fs','disable','ocf-script','heartbeat','Filesystem','stop','',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('cephmon-fs','audit-enabled','ocf-script','heartbeat','Filesystem','monitor','',2,2,2,60,40);
INSERT INTO "SERVICE_ACTIONS" VALUES('cephmon-fs','audit-disabled','ocf-script','heartbeat','Filesystem','monitor','',0,0,0,60,40);
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','controller-services','drbd-cephmon','critical' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICES" SELECT MAX(id) + 1,'no','drbd-cephmon','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES";
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cephmon','enable','ocf-script','linbit','drbd','start','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,90,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cephmon','disable','ocf-script','linbit','drbd','stop','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',1,1,1,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cephmon','go-active','ocf-script','linbit','drbd','promote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cephmon','go-standby','ocf-script','linbit','drbd','demote','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,180,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cephmon','audit-enabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',2,2,2,20,30);
INSERT INTO "SERVICE_ACTIONS" VALUES('drbd-cephmon','audit-disabled','ocf-script','linbit','drbd','monitor','master_max=1,master_node_max=1,clone_max=2,clone_node_max=1,notify=true,globally_unique=false',0,0,0,20,28);
INSERT INTO "SERVICE_GROUP_MEMBERS" SELECT MAX(id) + 1,'no','storage-services','ceph-osd','minor' FROM "SERVICE_GROUP_MEMBERS";
INSERT INTO "SERVICES" SELECT MAX(id) + 1, 'no','ceph-osd','initial','initial','none','none',2,1,90000,4,16,'' FROM "SERVICES";
INSERT INTO "SERVICE_DEPENDENCY" VALUES('action','ceph-osd','not-applicable','enable','ceph-mon','enabled-active');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-osd','enable','lsb-script','','ceph-init-wrapper','start','ARGS=osd',2,2,2,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-osd','disable','lsb-script','','ceph-init-wrapper','stop','ARGS=osd',1,1,1,60,'');
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-osd','audit-enabled','lsb-script','','ceph-init-wrapper','status','ARGS=osd',2,2,2,125,130);
INSERT INTO "SERVICE_ACTIONS" VALUES('ceph-osd','audit-disabled','lsb-script','','ceph-init-wrapper','status','ARGS=osd',0,0,0,125,130);

COMMIT;
