# Managing your SFP Server

The SFP server provides comprehensive CLI commands for managing all aspects of your server deployment. This page provides an overview of available commands organized by their primary use cases.

## Quick Start

The typical workflow for setting up and managing an SFP server:

1. **Initialize**: [`sfp server init`](broken://pages/HGMS7PZgRZ1o3legSqqg) - Set up a new server instance
2. **Start**: [`sfp server start`](broken://pages/A0GKz4gc5CSjcGSaQEhI) - Launch the server services
3. **Monitor**: [`sfp server status`](broken://pages/jFGUyYtd5YryWs6GLJmR) and [`sfp server health`](broken://pages/eXeOT1YKxBy47EeeLYXa) - Check server health
4. **Manage**: Use various commands to manage environments, users, and resources
5. **Update**: [`sfp server update`](broken://pages/MeBy1H01mMw0UUPQUNeU) - Keep the server up to date

## Command Categories

### &#x20;Lifecycle Management

Essential commands for managing the server lifecycle:

| Command                                         | Purpose                          | Common Usage                                  |
| ----------------------------------------------- | -------------------------------- | --------------------------------------------- |
| [`init`](broken://pages/HGMS7PZgRZ1o3legSqqg)   | Initialize a new server instance | `sfp server init --tenant my-app --mode prod` |
| [`start`](broken://pages/A0GKz4gc5CSjcGSaQEhI)  | Start server services            | `sfp server start --tenant my-app --daemon`   |
| [`stop`](broken://pages/nkEG7GsUpcFjJUKza9sB)   | Stop server services             | `sfp server stop --tenant my-app`             |
| [`status`](broken://pages/jFGUyYtd5YryWs6GLJmR) | Check service status             | `sfp server status --tenant my-app`           |
| [`update`](broken://pages/MeBy1H01mMw0UUPQUNeU) | Update to latest version         | `sfp server update --tenant my-app`           |

### 📊 Monitoring & Operations

Commands for monitoring and operational management:

| Command                                         | Purpose                       | Common Usage                                          |
| ----------------------------------------------- | ----------------------------- | ----------------------------------------------------- |
| [`health`](broken://pages/eXeOT1YKxBy47EeeLYXa) | Health checks and diagnostics | `sfp server health --detailed`                        |
| [`logs`](broken://pages/7gnJ4p4mKTuBz2sSFGct)   | View and monitor logs         | `sfp server logs --tenant my-app --follow`            |
| [`scale`](broken://pages/kiDYwMxNOGK24sflvrDj)  | Scale worker services         | `sfp server scale --tenant my-app --normal-workers 3` |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flxbl.io/flxbl/sfp-server/managing-your-sfp-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
