Moving and transferring
Moving a Computer changes the pool it runs in. Transferring it changes its owner, and can take it to another organization. Splitting and combining move capacity and Computers between pools.
On this page
What changes
#All of these happen on one server. Each Computer keeps its disk, its snapshots and, where Heaven can keep its memory, its running processes.
| Action | What happens | What the Computer loses |
|---|---|---|
| Move a Computer | It runs in another pool of the same organization. | Access given by the old pool's shares and integrations. Its outbound address and public port address can change. |
| Split a pool | Some capacity and Computers go to a new pool. | Moved Computers can get a new outbound and public port address. |
| Combine pools | One pool takes the other's Computers and capacity, and the emptied pool is deleted. | The deleted pool's shares, defaults, setup script, pool snapshots and integration attachments. |
| Transfer within an organization | It gets a new owner. | Shares, share links, browser sessions, support access and SSH keys scoped to it. Use --keep-shares to keep shares. |
| Transfer to another organization | It moves into a pool of another organization. | Everything above, plus integrations, public ports, custom-domain names and its static address. |
| Transfer a pool | The pool and its Computers move to another organization. | The same as a transfer to another organization, for each Computer. |
When a Computer changes owner, Heaven also clears its mail reply threads and subscriptions and cancels its queued outgoing mail.
Before you move
#- The destination pool must be running, on the same server, and have room for the Computer's CPU and memory limits, files, snapshots and public ports.
- The Computer must be active and not paused, held or in the middle of another change.
A running Computer pauses briefly and carries on with its processes. If Heaven can't keep its memory, or the Computer is still booting, it restarts. Open connections can drop.
Move a Computer
#You need Owner access to the Computer and permission to use the destination pool.
In the Computer's Settings, under Pool, choose Move and pick the pool. The CLI previews the move with --dry-run, and asks for --yes when the outbound address would change.
heaven move worker --pool webReference: Move a Computer.
Split a pool
#Splitting makes a new pool from part of a running pool's capacity, and can move Computers into it. The source keeps at least one unit, and its static address, defaults, setup script, pool snapshots and integrations. The new pool gets the source's shares.
In the pool's Settings, under Capacity, choose Split, set the new pool's size and pick the Computers to move.
heaven pool split acme-pool --name web --memory 8GiB --computer worker --organization acmeReference: Split a pool.
Combine pools
#Combining moves one pool's Computers and capacity into another, then deletes the emptied pool. Both pools must be running. The Computers' limits must fit the pool you keep at its current size.
In the pool you keep, open Settings, choose Combine under Capacity and pick the other pool.
heaven pool combine acme-pool web --organization acme --yesReference: Combine pools.
Transfer a Computer
#Within an organization, the Computer's owner, an admin or a member granted transfer can give it to a member, a team or the organization. The Computer stays in its pool and keeps running.
heaven transfer worker --user sam@example.comTo take a Computer into another organization, you need Owner access to it and permission to transfer and to use a pool in the destination. Name the destination pool. Use a sign-in, not an API key.
heaven transfer worker --pool webIn the dashboard, the Computer's Settings move control lists pools in your other organizations too.
Reference: Transfer a Computer.
Transfer a pool
#Transferring a pool moves it and all its Computers to another organization on the same server. You need to manage pools in both organizations and use a sign-in. The destination needs the pool's name free and enough capacity on that server. Each organization keeps the capacity it bought.
In the dashboard's All organizations view, drag the pool onto the other organization and choose Transfer pool. The CLI shows a preview before you confirm with --yes.
heaven pool transfer web --to acmeIf a Computer can't move, the ones already moved stay in the destination and the rest stay in the source pool. Transfer the rest one by one, then delete the empty source pool.
Reference: Transfer a pool.