forked from openshift-eng/two-node-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
94 lines (73 loc) · 3.07 KB
/
Copy pathMakefile
File metadata and controls
94 lines (73 loc) · 3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
create:
@./aws-hypervisor/scripts/create.sh
deploy:
@$(MAKE) create init inventory
init:
@./aws-hypervisor/scripts/init.sh
destroy:
@./aws-hypervisor/scripts/destroy.sh
start:
@./aws-hypervisor/scripts/start.sh
stop:
@./aws-hypervisor/scripts/stop.sh
force-stop:
@./aws-hypervisor/scripts/force-stop.sh
redeploy-cluster:
@./openshift-clusters/scripts/redeploy-cluster.sh
shutdown-cluster:
@./openshift-clusters/scripts/shutdown-cluster.sh
startup-cluster:
@./openshift-clusters/scripts/startup-cluster.sh
clean:
@./openshift-clusters/scripts/clean.sh
full-clean:
@./openshift-clusters/scripts/full-clean.sh
ssh:
@./aws-hypervisor/scripts/ssh.sh
info:
@./aws-hypervisor/scripts/print_instance_data.sh
inventory:
@./aws-hypervisor/scripts/inventory.sh
fencing-ipi:
@./openshift-clusters/scripts/deploy-fencing-ipi.sh
fencing-agent:
@./openshift-clusters/scripts/deploy-fencing-agent.sh
arbiter-ipi:
@./openshift-clusters/scripts/deploy-arbiter-ipi.sh
arbiter-agent:
@./openshift-clusters/scripts/deploy-arbiter-agent.sh
patch-nodes:
@./openshift-clusters/scripts/patch-nodes.sh
get-tnf-logs:
@./openshift-clusters/scripts/get-tnf-logs.sh
help:
@echo "Available commands:"
@echo ""
@echo "Instance Lifecycle Management:"
@echo " deploy - Create, initialize, and update inventory for new EC2 instance"
@echo " create - Create new EC2 instance"
@echo " init - Initialize deployed instance"
@echo " start - Start stopped EC2 instance"
@echo " stop - Stop running EC2 instance gracefully (interactive cluster handling)"
@echo " force-stop - Force stop EC2 instance immediately (no cluster checks)"
@echo " destroy - Completely destroy EC2 instance and all resources"
@echo ""
@echo "Instance Utils:"
@echo " ssh - SSH into the EC2 instance"
@echo " info - Display instance information"
@echo " inventory - Update inventory.ini with current instance IP"
@echo ""
@echo "OpenShift Cluster Management:"
@echo " fencing-ipi - Deploy fencing IPI cluster (non-interactive)"
@echo " fencing-agent - Deploy fencing Agent cluster (non-interactive) (WIP Experimental)"
@echo " arbiter-ipi - Deploy arbiter IPI cluster (non-interactive)"
@echo " arbiter-agent - Deploy arbiter Agent cluster (non-interactive)"
@echo " redeploy-cluster - Redeploy OpenShift cluster using dev-scripts make redeploy"
@echo " shutdown-cluster - Shutdown OpenShift cluster VMs in orderly fashion"
@echo " startup-cluster - Start up OpenShift cluster VMs and proxy container"
@echo " clean - Clean OpenShift cluster using dev-scripts clean target"
@echo " full-clean - Fully clean instance cache and OpenShift cluster using dev-scripts realclean target"
@echo " patch-nodes - Build resource-agents RPM and patch cluster nodes (default version: 4.11)"
@echo ""
@echo "Cluster Utilities:"
@echo " get-tnf-logs - Collect pacemaker and etcd logs from cluster nodes"