File size: 20,818 Bytes
e36deee | 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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 | Command,Description,text
ceph osd status,Displays the status of all OSDs (Object Storage Daemons) in the Ceph cluster.,"###Human:
Displays the status of all OSDs (Object Storage Daemons) in the Ceph cluster.
###Assistant:
ceph osd status"
rados df,Displays statistics about the RADOS (Reliable Autonomic Distributed Object Store) pools.,"###Human:
Displays statistics about the RADOS (Reliable Autonomic Distributed Object Store) pools.
###Assistant:
rados df"
ceph fs status,Shows the status of Ceph File Systems (CephFS) in the cluster.,"###Human:
Shows the status of Ceph File Systems (CephFS) in the cluster.
###Assistant:
ceph fs status"
ceph health detail,Provides a detailed health status report of the Ceph cluster.,"###Human:
Provides a detailed health status report of the Ceph cluster.
###Assistant:
ceph health detail"
ceph osd pool ls,Lists all the pools that exist within the Ceph cluster.,"###Human:
Lists all the pools that exist within the Ceph cluster.
###Assistant:
ceph osd pool ls"
ceph mon dump,Dumps the details of Ceph Monitor (MON) daemons in the cluster.,"###Human:
Dumps the details of Ceph Monitor (MON) daemons in the cluster.
###Assistant:
ceph mon dump"
radosgw-admin user list,Lists all users in the RADOS Gateway (radosgw) service.,"###Human:
Lists all users in the RADOS Gateway (radosgw) service.
###Assistant:
radosgw-admin user list"
ceph auth get-key client.admin,Retrieves the authentication key for the 'admin' client user.,"###Human:
Retrieves the authentication key for the 'admin' client user.
###Assistant:
ceph auth get-key client.admin"
ceph osd crush tree,"Displays the hierarchical CRUSH map, which determines data placement in the cluster.","###Human:
Displays the hierarchical CRUSH map, which determines data placement in the cluster.
###Assistant:
ceph osd crush tree"
ceph osd perf,Displays performance statistics of OSDs in the cluster.,"###Human:
Displays performance statistics of OSDs in the cluster.
###Assistant:
ceph osd perf"
ceph df,"Displays overall cluster capacity, usage, and statistics.","###Human:
Displays overall cluster capacity, usage, and statistics.
###Assistant:
ceph df"
radosgw-admin bucket stats --bucket=mybucket,Shows statistics for the specified bucket in the RADOS Gateway.,"###Human:
Shows statistics for the specified bucket in the RADOS Gateway.
###Assistant:
radosgw-admin bucket stats --bucket=mybucket"
ceph osd pool create mypool 64,Creates a new OSD pool named 'mypool' with a placement group count of 64.,"###Human:
Creates a new OSD pool named 'mypool' with a placement group count of 64.
###Assistant:
ceph osd pool create mypool 64"
ceph osd tree,Displays a tree view of the OSD (Object Storage Daemon) distribution across CRUSH buckets.,"###Human:
Displays a tree view of the OSD (Object Storage Daemon) distribution across CRUSH buckets.
###Assistant:
ceph osd tree"
ceph fs status myfs,Shows the status of a specific Ceph File System (CephFS) named 'myfs'.,"###Human:
Shows the status of a specific Ceph File System (CephFS) named 'myfs'.
###Assistant:
ceph fs status myfs"
ceph health,Checks the overall health status of the Ceph cluster.,"###Human:
Checks the overall health status of the Ceph cluster.
###Assistant:
ceph health"
rados -p mypool put object-name /path/to/local/file,Uploads a local file to a RADOS pool named 'mypool'.,"###Human:
Uploads a local file to a RADOS pool named 'mypool'.
###Assistant:
rados -p mypool put object-name /path/to/local/file"
ceph osd crush tunables optimal,Sets the CRUSH tunables to the optimal profile for data distribution.,"###Human:
Sets the CRUSH tunables to the optimal profile for data distribution.
###Assistant:
ceph osd crush tunables optimal"
ceph mon_status,Displays the status of Ceph Monitor (MON) daemons in the cluster.,"###Human:
Displays the status of Ceph Monitor (MON) daemons in the cluster.
###Assistant:
ceph mon_status"
ceph osd out osd.1,"Marks OSD with ID 1 as 'out' of the cluster, effectively stopping its data movement.","###Human:
Marks OSD with ID 1 as 'out' of the cluster, effectively stopping its data movement.
###Assistant:
ceph osd out osd.1"
ceph osd reweight osd.2 0.5,Adjusts the weight of OSD with ID 2 to 0.5 for rebalancing data distribution.,"###Human:
Adjusts the weight of OSD with ID 2 to 0.5 for rebalancing data distribution.
###Assistant:
ceph osd reweight osd.2 0.5"
ceph osd crush add-bucket myrack rack,Adds a new CRUSH bucket named 'myrack' of type 'rack' to the CRUSH map.,"###Human:
Adds a new CRUSH bucket named 'myrack' of type 'rack' to the CRUSH map.
###Assistant:
ceph osd crush add-bucket myrack rack"
ceph mgr module enable dashboard,Enables the Ceph Dashboard manager module for web-based cluster management.,"###Human:
Enables the Ceph Dashboard manager module for web-based cluster management.
###Assistant:
ceph mgr module enable dashboard"
ceph osd crush reweight-all,Redistributes data across OSDs by reweighting them based on available space.,"###Human:
Redistributes data across OSDs by reweighting them based on available space.
###Assistant:
ceph osd crush reweight-all"
ceph osd erasure-code-profile get myprofile,Displays the settings of an erasure code profile named 'myprofile'.,"###Human:
Displays the settings of an erasure code profile named 'myprofile'.
###Assistant:
ceph osd erasure-code-profile get myprofile"
ceph osd crush move osd.3 root=default,Moves OSD with ID 3 to the 'default' CRUSH root.,"###Human:
Moves OSD with ID 3 to the 'default' CRUSH root.
###Assistant:
ceph osd crush move osd.3 root=default"
radosgw-admin caps add --uid=myuser --caps=usage=read,Adds the 'read' capability to the user 'myuser' for usage data in RADOS Gateway.,"###Human:
Adds the 'read' capability to the user 'myuser' for usage data in RADOS Gateway.
###Assistant:
radosgw-admin caps add --uid=myuser --caps=usage=read"
ceph osd pool set mypool size 3,Sets the replication size of OSD pool 'mypool' to 3 for data redundancy.,"###Human:
Sets the replication size of OSD pool 'mypool' to 3 for data redundancy.
###Assistant:
ceph osd pool set mypool size 3"
rados -p mypool get object-name /path/to/local/destination,Downloads an object from RADOS pool 'mypool' to a local destination.,"###Human:
Downloads an object from RADOS pool 'mypool' to a local destination.
###Assistant:
rados -p mypool get object-name /path/to/local/destination"
ceph fs flag set myfs enable_multiple true,Enables the ability to mount Ceph File System 'myfs' on multiple clients.,"###Human:
Enables the ability to mount Ceph File System 'myfs' on multiple clients.
###Assistant:
ceph fs flag set myfs enable_multiple true"
ceph osd tree | grep host,Filters and displays only OSDs located in host-level CRUSH buckets.,"###Human:
Filters and displays only OSDs located in host-level CRUSH buckets.
###Assistant:
ceph osd tree | grep host"
ceph osd pool application enable mypool rgw,Enables the RADOS Gateway (radosgw) application for OSD pool 'mypool'.,"###Human:
Enables the RADOS Gateway (radosgw) application for OSD pool 'mypool'.
###Assistant:
ceph osd pool application enable mypool rgw"
ceph tell osd.4 injectargs '--debug_osd 5',Injects a debug argument into OSD with ID 4 for temporary debugging purposes.,"###Human:
Injects a debug argument into OSD with ID 4 for temporary debugging purposes.
###Assistant:
ceph tell osd.4 injectargs '--debug_osd 5'"
radosgw-admin metadata get bucket.bucketname,Retrieves metadata for the specified bucket in RADOS Gateway.,"###Human:
Retrieves metadata for the specified bucket in RADOS Gateway.
###Assistant:
radosgw-admin metadata get bucket.bucketname"
ceph osd pool set mypool target_max_bytes 1073741824,Sets the target maximum bytes for OSD pool 'mypool' to 1 GB.,"###Human:
Sets the target maximum bytes for OSD pool 'mypool' to 1 GB.
###Assistant:
ceph osd pool set mypool target_max_bytes 1073741824"
ceph osd pool get-quota mypool max_objects,Retrieves the maximum object limit quota for OSD pool 'mypool'.,"###Human:
Retrieves the maximum object limit quota for OSD pool 'mypool'.
###Assistant:
ceph osd pool get-quota mypool max_objects"
rados -p mypool rm object-name,Deletes an object from RADOS pool 'mypool'.,"###Human:
Deletes an object from RADOS pool 'mypool'.
###Assistant:
rados -p mypool rm object-name"
ceph tell osd.* bench 30,Initiates a benchmarking test on all OSDs with a duration of 30 seconds.,"###Human:
Initiates a benchmarking test on all OSDs with a duration of 30 seconds.
###Assistant:
ceph tell osd.* bench 30"
radosgw-admin user modify --uid=myuser --max-buckets=10,Modifies the maximum bucket limit for the user 'myuser' in RADOS Gateway.,"###Human:
Modifies the maximum bucket limit for the user 'myuser' in RADOS Gateway.
###Assistant:
radosgw-admin user modify --uid=myuser --max-buckets=10"
ceph osd pool set mypool min_size 2,Sets the minimum replication size for OSD pool 'mypool' to 2 for recovery.,"###Human:
Sets the minimum replication size for OSD pool 'mypool' to 2 for recovery.
###Assistant:
ceph osd pool set mypool min_size 2"
ceph osd tier add mypool mytier,Adds 'mypool' as a base tier to the cache tier 'mytier' in the OSD tiering system.,"###Human:
Adds 'mypool' as a base tier to the cache tier 'mytier' in the OSD tiering system.
###Assistant:
ceph osd tier add mypool mytier"
radosgw-admin policy create --uid=myuser --tenant=mytenant,Creates a new access policy for the specified user 'myuser' in the specified tenant 'mytenant' within RADOS Gateway.,"###Human:
Creates a new access policy for the specified user 'myuser' in the specified tenant 'mytenant' within RADOS Gateway.
###Assistant:
radosgw-admin policy create --uid=myuser --tenant=mytenant"
ceph osd pool ls | grep cache,Filters and lists only the OSD pools with 'cache' in their names.,"###Human:
Filters and lists only the OSD pools with 'cache' in their names.
###Assistant:
ceph osd pool ls | grep cache"
ceph fs flag set myfs enable_snapshots true,Enables snapshots for the Ceph File System 'myfs' to capture point-in-time copies.,"###Human:
Enables snapshots for the Ceph File System 'myfs' to capture point-in-time copies.
###Assistant:
ceph fs flag set myfs enable_snapshots true"
ceph osd out osd.5,"Marks OSD with ID 5 as 'out' of the cluster, preventing data distribution to it.","###Human:
Marks OSD with ID 5 as 'out' of the cluster, preventing data distribution to it.
###Assistant:
ceph osd out osd.5"
radosgw-admin usage show --uid=myuser,Displays usage information for the specified user 'myuser' in RADOS Gateway.,"###Human:
Displays usage information for the specified user 'myuser' in RADOS Gateway.
###Assistant:
radosgw-admin usage show --uid=myuser"
ceph osd crush rule create-replicated myrule default,Creates a new replicated CRUSH rule named 'myrule' based on the 'default' rule.,"###Human:
Creates a new replicated CRUSH rule named 'myrule' based on the 'default' rule.
###Assistant:
ceph osd crush rule create-replicated myrule default"
ceph osd pool set-quota mypool max_objects 1000,Sets the maximum object limit quota for OSD pool 'mypool' to 1000 objects.,"###Human:
Sets the maximum object limit quota for OSD pool 'mypool' to 1000 objects.
###Assistant:
ceph osd pool set-quota mypool max_objects 1000"
rados -p mypool ls,Lists objects stored in the RADOS pool 'mypool'.,"###Human:
Lists objects stored in the RADOS pool 'mypool'.
###Assistant:
rados -p mypool ls"
ceph mgr module enable restful,Enables the RESTful manager module for API interactions with the Ceph cluster.,"###Human:
Enables the RESTful manager module for API interactions with the Ceph cluster.
###Assistant:
ceph mgr module enable restful"
ceph osd pool set mypool target_max_objects 500,Sets the target maximum object limit for OSD pool 'mypool' to 500 objects.,"###Human:
Sets the target maximum object limit for OSD pool 'mypool' to 500 objects.
###Assistant:
ceph osd pool set mypool target_max_objects 500"
ceph tell osd.2 injectargs '--debug_bluestore 10',Injects a debug argument into OSD with ID 2 to enable BlueStore debugging.,"###Human:
Injects a debug argument into OSD with ID 2 to enable BlueStore debugging.
###Assistant:
ceph tell osd.2 injectargs '--debug_bluestore 10'"
radosgw-admin metadata rm bucket.bucketname metadata-key,Removes a specific metadata key from the specified bucket in RADOS Gateway.,"###Human:
Removes a specific metadata key from the specified bucket in RADOS Gateway.
###Assistant:
radosgw-admin metadata rm bucket.bucketname metadata-key"
ceph osd pool set mypool size 4,Adjusts the replication size of OSD pool 'mypool' to 4 for enhanced data redundancy.,"###Human:
Adjusts the replication size of OSD pool 'mypool' to 4 for enhanced data redundancy.
###Assistant:
ceph osd pool set mypool size 4"
ceph pg dump | grep active+clean,Filters and displays only PGs that are in the 'active+clean' state.,"###Human:
Filters and displays only PGs that are in the 'active+clean' state.
###Assistant:
ceph pg dump | grep active+clean"
ceph auth add mykey client.admin mon 'allow *' osd 'allow *' mds 'allow',Adds a new key named 'mykey' for the 'admin' client with necessary permissions.,"###Human:
Adds a new key named 'mykey' for the 'admin' client with necessary permissions.
###Assistant:
ceph auth add mykey client.admin mon 'allow *' osd 'allow *' mds 'allow'"
ceph pg dump_pools_json,Dumps information about placement groups (PGs) and associated pools in JSON format.,"###Human:
Dumps information about placement groups (PGs) and associated pools in JSON format.
###Assistant:
ceph pg dump_pools_json"
ceph osd pool create mycache 32 32 erasure,Creates a new erasure-coded OSD pool named 'mycache' with 32 data and 32 coding chunks.,"###Human:
Creates a new erasure-coded OSD pool named 'mycache' with 32 data and 32 coding chunks.
###Assistant:
ceph osd pool create mycache 32 32 erasure"
ceph osd crush rule rm myrule,Removes a custom CRUSH rule named 'myrule' from the cluster configuration.,"###Human:
Removes a custom CRUSH rule named 'myrule' from the cluster configuration.
###Assistant:
ceph osd crush rule rm myrule"
ceph mon add myhostname 192.168.1.100:6789,Adds a new monitor named 'myhostname' with IP address and port to the Ceph cluster.,"###Human:
Adds a new monitor named 'myhostname' with IP address and port to the Ceph cluster.
###Assistant:
ceph mon add myhostname 192.168.1.100:6789"
ceph osd set noout,"Sets the 'noout' flag, preventing OSDs from being marked 'out' even if they are down.","###Human:
Sets the 'noout' flag, preventing OSDs from being marked 'out' even if they are down.
###Assistant:
ceph osd set noout"
ceph tell mon.* injectargs '--debug_mon 10',Injects a debug argument into all monitor (MON) daemons for debugging purposes.,"###Human:
Injects a debug argument into all monitor (MON) daemons for debugging purposes.
###Assistant:
ceph tell mon.* injectargs '--debug_mon 10'"
ceph fs new myfs default,Creates a new Ceph File System (CephFS) named 'myfs' using the 'default' data pool.,"###Human:
Creates a new Ceph File System (CephFS) named 'myfs' using the 'default' data pool.
###Assistant:
ceph fs new myfs default"
ceph osd reweight-by-utilization,Rebalances data distribution by automatically reweighting OSDs based on their utilization.,"###Human:
Rebalances data distribution by automatically reweighting OSDs based on their utilization.
###Assistant:
ceph osd reweight-by-utilization"
ceph osd tier cache-mode mycache writeback,Sets the cache mode of the cache tier 'mycache' to 'writeback'.,"###Human:
Sets the cache mode of the cache tier 'mycache' to 'writeback'.
###Assistant:
ceph osd tier cache-mode mycache writeback"
ceph pg dump --format plain | grep active+recovering,Filters and displays PGs in the 'active+recovering' state using plain format.,"###Human:
Filters and displays PGs in the 'active+recovering' state using plain format.
###Assistant:
ceph pg dump --format plain | grep active+recovering"
ceph osd pool get mypool min_size,Retrieves the minimum replication size setting for OSD pool 'mypool'.,"###Human:
Retrieves the minimum replication size setting for OSD pool 'mypool'.
###Assistant:
ceph osd pool get mypool min_size"
ceph tell osd.1 dump_ops_in_flight,Dumps the current operations in flight for OSD with ID 1.,"###Human:
Dumps the current operations in flight for OSD with ID 1.
###Assistant:
ceph tell osd.1 dump_ops_in_flight"
ceph osd pool application enable mypool rbd,Enables the RADOS Block Device (RBD) application for OSD pool 'mypool'.,"###Human:
Enables the RADOS Block Device (RBD) application for OSD pool 'mypool'.
###Assistant:
ceph osd pool application enable mypool rbd"
ceph fs add_data_pool myfs newdatapool,Adds a new data pool named 'newdatapool' to an existing Ceph File System 'myfs'.,"###Human:
Adds a new data pool named 'newdatapool' to an existing Ceph File System 'myfs'.
###Assistant:
ceph fs add_data_pool myfs newdatapool"
ceph osd crush rule set-replicated myrule mypool myrule,Updates an existing replicated CRUSH rule named 'myrule' to use OSD pool 'mypool'.,"###Human:
Updates an existing replicated CRUSH rule named 'myrule' to use OSD pool 'mypool'.
###Assistant:
ceph osd crush rule set-replicated myrule mypool myrule"
ceph osd pool set mypool crush_ruleset 2,Sets the crush ruleset for OSD pool 'mypool' to 2 for custom data placement.,"###Human:
Sets the crush ruleset for OSD pool 'mypool' to 2 for custom data placement.
###Assistant:
ceph osd pool set mypool crush_ruleset 2"
ceph tell osd.* injectargs '--debug_bluefs 5',Injects a debug argument into all OSDs for BlueStore-related debugging.,"###Human:
Injects a debug argument into all OSDs for BlueStore-related debugging.
###Assistant:
ceph tell osd.* injectargs '--debug_bluefs 5'"
radosgw-admin gc process --show-progress,Runs the garbage collection (GC) process in RADOS Gateway with progress tracking.,"###Human:
Runs the garbage collection (GC) process in RADOS Gateway with progress tracking.
###Assistant:
radosgw-admin gc process --show-progress"
ceph osd pool application disable mypool rbd,Disables the RADOS Block Device (RBD) application for OSD pool 'mypool'.,"###Human:
Disables the RADOS Block Device (RBD) application for OSD pool 'mypool'.
###Assistant:
ceph osd pool application disable mypool rbd"
ceph osd pool set mypool target_max_bytes_per_pg 1048576,Sets the target maximum bytes per PG for OSD pool 'mypool' to 1 MB.,"###Human:
Sets the target maximum bytes per PG for OSD pool 'mypool' to 1 MB.
###Assistant:
ceph osd pool set mypool target_max_bytes_per_pg 1048576"
ceph mgr module enable prometheus,Enables the Prometheus manager module for exporting cluster metrics to Prometheus.,"###Human:
Enables the Prometheus manager module for exporting cluster metrics to Prometheus.
###Assistant:
ceph mgr module enable prometheus"
radosgw-admin realm list,Lists all CephX realms configured in RADOS Gateway.,"###Human:
Lists all CephX realms configured in RADOS Gateway.
###Assistant:
radosgw-admin realm list"
ceph tell osd.3 send_beacon,Manually sends a beacon signal to OSD with ID 3 to help detect its presence.,"###Human:
Manually sends a beacon signal to OSD with ID 3 to help detect its presence.
###Assistant:
ceph tell osd.3 send_beacon"
ceph osd crush rule rename-replicated oldrule newrule,Renames an existing replicated CRUSH rule from 'oldrule' to 'newrule'.,"###Human:
Renames an existing replicated CRUSH rule from 'oldrule' to 'newrule'.
###Assistant:
ceph osd crush rule rename-replicated oldrule newrule"
radosgw-admin period pull --url=https://mon1:8080,Pulls the latest period information from the specified URL in RADOS Gateway.,"###Human:
Pulls the latest period information from the specified URL in RADOS Gateway.
###Assistant:
radosgw-admin period pull --url=https://mon1:8080"
ceph mon getmap -o /tmp/monmap,Gets the monitor map (monmap) and saves it to the specified file location.,"###Human:
Gets the monitor map (monmap) and saves it to the specified file location.
###Assistant:
ceph mon getmap -o /tmp/monmap"
radosgw-admin realm create --rgw-realm=myrealm --default,Creates a new RADOS Gateway realm named 'myrealm' and sets it as the default.,"###Human:
Creates a new RADOS Gateway realm named 'myrealm' and sets it as the default.
###Assistant:
radosgw-admin realm create --rgw-realm=myrealm --default"
ceph osd pool set mypool recovery_priority 10,Sets the recovery priority for OSD pool 'mypool' to 10 for data recovery.,"###Human:
Sets the recovery priority for OSD pool 'mypool' to 10 for data recovery.
###Assistant:
ceph osd pool set mypool recovery_priority 10"
ceph pg deep-scrub 5.2,Initiates a deep scrub of placement group (PG) 5.2 for data integrity check.,"###Human:
Initiates a deep scrub of placement group (PG) 5.2 for data integrity check.
###Assistant:
ceph pg deep-scrub 5.2"
|