File tree Expand file tree Collapse file tree
content/learning-paths/servers-and-cloud-computing/ray-on-axion Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,9 +102,34 @@ ray start --head --dashboard-host=0.0.0.0 --num-cpus=4
102102The output is similar to:
103103
104104``` output
105+ Local node IP: 10.0.0.19
106+
107+ --------------------
105108Ray runtime started.
106- Local node IP: 10.x.x.x
107- Dashboard: 127.0.0.1:8265
109+ --------------------
110+
111+ Next steps
112+ To add another node to this Ray cluster, run
113+ ray start --address='10.0.0.19:6379'
114+
115+ To connect to this Ray cluster:
116+ import ray
117+ ray.init()
118+
119+ To submit a Ray job using the Ray Jobs CLI:
120+ RAY_API_SERVER_ADDRESS='http://10.0.0.19:8265' ray job submit --working-dir . -- python my_script.py
121+
122+ See https://docs.ray.io/en/latest/cluster/running-applications/job-submission/index.html
123+ for more information on submitting Ray jobs to the Ray cluster.
124+
125+ To terminate the Ray runtime, run
126+ ray stop
127+
128+ To view the status of the cluster, use
129+ ray status
130+
131+ To monitor and debug Ray, view the dashboard at
132+ 10.0.0.19:8265
108133```
109134
110135## Verify cluster status
@@ -115,12 +140,29 @@ Check cluster health and resource usage:
115140ray status
116141```
117142
118- The output shows :
143+ The output is similar to :
119144
120145``` output
121- 1 node active
122- 4 CPUs available
123- No failures
146+ Node status
147+ ---------------------------------------------------------------
148+ Active:
149+ 1 node_1819bcdd417a5b6945701142fdf1b90c68e8b4cfb6884d05e2e1be71
150+ Pending:
151+ (no pending nodes)
152+ Recent failures:
153+ (no failures)
154+
155+ Resources
156+ ---------------------------------------------------------------
157+ Total Usage:
158+ 0.0/4.0 CPU
159+ 0B/10.48GiB memory
160+ 0B/4.49GiB object_store_memory
161+
162+ From request_resources:
163+ (none)
164+ Pending Demands:
165+ (no resource demands)
124166```
125167
126168## Access the dashboard
You can’t perform that action at this time.
0 commit comments