Admin
Administrative commands for managing CosmicAC infrastructure. Requires ORK RPC key authentication. Used by operators to manage racks and deployment.
Administrative commands for managing CosmicAC infrastructure. Requires ORK RPC key authentication. Used by operators to manage racks and deployment.
Command
cosmicac admin <subcommand> [options]Subcommands
admin init
Set up admin credentials for managing the CosmicAC infrastructure. Stores the ORK RPC key securely for use in all admin operations.
Usage
cosmicac admin initadmin rack
Commands for managing racks in the CosmicAC infrastructure. Register new racks, list existing racks, and remove racks from the network.
Usage
cosmicac admin rack <subcommand> [options]Subcommands
| Subcommand | Description |
|---|---|
| forget | Remove racks from the network |
| list | List all racks |
| register | Register a new rack |
admin rack forget
Remove specific racks by ID or remove all racks from the CosmicAC network.
Interactive mode: Run without arguments for guided prompts. Direct mode: Provide arguments for immediate execution.
Usage
cosmicac admin rack forget [ids...] [options]Arguments
| Argument | Required | Description |
|---|---|---|
ids... | No | Rack IDs to remove (space-separated, optional) |
Options
| Option | Description |
|---|---|
--all | Remove all racks |
admin rack list
List all registered racks in the CosmicAC network.
Usage
cosmicac admin rack listadmin rack register
Register a new rack in the CosmicAC network.
Interactive mode: Run without arguments for guided prompts. Direct mode: Provide all arguments for immediate execution.
Usage
cosmicac admin rack register [id] [type] [rpcPublicKey] [options]Arguments
| Argument | Required | Description |
|---|---|---|
id | No | Unique identifier for the rack (optional, will prompt if not provided) |
type | No | Type of the rack (server, dataseeder) (optional) |
rpcPublicKey | No | RPC public key for the rack server (optional) |
Options
| Option | Description |
|---|---|
--location | Location (2-letter country code, required for server racks) |