openstack Verified current stable Not installed? Networking

Openstack / Start Servers

Start Servers

Start specified servers in OpenStack.

$
Terminal
openstack server start <instance_id1 instance_id2 ...>

When To Use

When instances require reactivation post-shutdown or recovery efforts.

Pro Tip

Use `--wait` to ensure command execution completion before further actions.

Anatomy of Output

Understanding the result

Starting servers: 2 Action Summary

Indicates the number of servers targeted for starting.

+--------------------------------------+---------+----------+ Output Header

Displays server IDs and their respective statuses.

| ID | Name | Status | Column Headers

Shows the ID and state of each server.

| 567890ab-abcd-ef00-5555-66778899aabb | test-server | ACTIVE | Server Entry

Output indicating the server has been started successfully.

Power User Variants

Optimized versions

openstack server start --all

Start all servers in the current project.

Troubleshooting

Common pitfalls

Server not found (HTTP 404)

Solution: Check the server ID or names for accuracy.

Conflict (HTTP 409)

Solution: Ensure the servers are in a stopped state before starting.

Unauthorized (HTTP 401)

Solution: Verify your identity has sufficient permissions to start servers.

Command Breakdown

What each part is doing

openstack
Base Command
The executable that performs this operation. Here it runs Openstack before the shell applies any redirect operators.
<instance_id1 instance_id2 ...>
instance id1 instance id2 ...
The value supplied for instance id1 instance id2 ....

Alternative Approaches

Comparable commands in other tools

Alternative networking tools for the same job.