Add node management API endpoints/commands #117

Closed
opened 2021-01-26 12:39:30 -05:00 by JoshuaBoniface · 6 comments
JoshuaBoniface commented 2021-01-26 12:39:30 -05:00 (Migrated from git.bonifacelabs.ca)

Add a command to the node section to trigger a manual fence. To implement, have this set the node to dead state and let the rest of the system take over. Will probably need a way to work around the saving throws and just immediately trigger it.


Some additional functionality might be useful, including:

  1. Reload: trigger a hot reload (similar to the schema manager hot reload)
  2. Restart: trigger a full daemon restart
  3. Fence: trigger a node fence against the node manually
Add a command to the `node` section to trigger a manual fence. To implement, have this set the node to `dead` state and let the rest of the system take over. Will probably need a way to work around the saving throws and just immediately trigger it. --- Some additional functionality might be useful, including: 1. Reload: trigger a hot reload (similar to the schema manager hot reload) 2. Restart: trigger a full daemon restart 3. Fence: trigger a node fence against the node manually
JoshuaBoniface commented 2021-05-25 18:46:07 -04:00 (Migrated from git.bonifacelabs.ca)

Perhaps expand this to add a few more node management commands, for instance a restart of the daemon or even a reboot of the node.

Perhaps expand this to add a few more node management commands, for instance a `restart` of the daemon or even a `reboot` of the node.
JoshuaBoniface commented 2021-06-17 02:43:36 -04:00 (Migrated from git.bonifacelabs.ca)

changed title from Add node {-fence API endpoint/CLI command-} to Add node {+management API endpoints/commands+}

changed title from **Add node {-fence API endpoint/CLI command-}** to **Add node {+management API endpoints/commands+}**
JoshuaBoniface commented 2021-06-17 02:43:36 -04:00 (Migrated from git.bonifacelabs.ca)

changed the description

changed the description
JoshuaBoniface commented 2021-08-05 05:01:00 -04:00 (Migrated from git.bonifacelabs.ca)

I think the useful commands would be:

  1. pvc node reload to trigger a hot reload of the PVC node daemon.

  2. pvc node reboot to trigger a sudo reboot of the node, going through the flush procedure too.

  3. pvc node shutdown to trigger a sudo poweroff of the node, going through the flush procedure too.

  4. pvc node fence to trigger an immediate fence of the node by another node.

I think the useful commands would be: 1. `pvc node reload` to trigger a hot reload of the PVC node daemon. 2. `pvc node reboot` to trigger a `sudo reboot` of the node, going through the flush procedure too. 3. `pvc node shutdown` to trigger a `sudo poweroff` of the node, going through the flush procedure too. 4. `pvc node fence` to trigger an immediate fence of the node by another node.
joshuaboniface added this to the (deleted) project 2022-09-21 09:51:25 -04:00

After another solid year of use, I've found very few situations where these commands would be particularly useful, though they still might be nice to have.

Implementing them shouldn't be particularly difficult.

After another solid year of use, I've found very few situations where these commands would be particularly useful, though they still might be nice to have. Implementing them shouldn't be particularly difficult.

Adding ansible support in #160 would pretty much obsolete this, since management should be done at a cluster level.

Adding ansible support in #160 would pretty much obsolete this, since management should be done at a cluster level.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: parallelvirtualcluster/pvc#117
No description provided.