You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/10 04:00:19 UTC

[GitHub] [pulsar] TimXu0713 opened a new issue #11991: How to add an new disk to an exists bookkeeper node?

TimXu0713 opened a new issue #11991:
URL: https://github.com/apache/pulsar/issues/11991


   #### Expected behavior
   
   When my pulsar cluster ledgerDirectories path is full,I want to increase ledgerDirectories  capacity.How can I expand the storage capacity by increasing the existing node disks instead of increasing the number of nodes? Because I don't have more machines. Is there any document?
   
   thank you very much.
   
   #### Actual behavior
   
   
   
   #### Steps to reproduce
   
   
   
   #### System configuration
   **Pulsar version**:2.8.0
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] TimXu0713 commented on issue #11991: How to add an new disk to an exists bookkeeper node?

Posted by GitBox <gi...@apache.org>.
TimXu0713 commented on issue #11991:
URL: https://github.com/apache/pulsar/issues/11991#issuecomment-917316849


   Hi,@MarvinCai:
   I have read this document, but the document is very vague and has no operability.I tried but failed. Can you help me write down the specific steps?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] casuallc commented on issue #11991: How to add an new disk to an exists bookkeeper node?

Posted by GitBox <gi...@apache.org>.
casuallc commented on issue #11991:
URL: https://github.com/apache/pulsar/issues/11991#issuecomment-918727911


   Dynamic add disk is not supported, you best should stop bookkeeper cluster when you want to add disk, because bookkeeper node  unable to start when it's configuration changed.
   
   1. Stop bookkeeper cluster.
   2. Change bookiePort (like add a new bookkeeper node).
   3. Clear ledger and journal data in this node.
   4. Add disk in journalDirectories and ledgerDirectories, separated by ','.
   5. Start bookie.
   6. Run bin/bookkeeper shell recover <oldbookie> (you can find it in zk, path is /ledgers/available).
   
   Have a try !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] github-actions[bot] commented on issue #11991: How to add an new disk to an exists bookkeeper node?

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11991:
URL: https://github.com/apache/pulsar/issues/11991#issuecomment-1057583468


   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] TimXu0713 commented on issue #11991: How to add an new disk to an exists bookkeeper node?

Posted by GitBox <gi...@apache.org>.
TimXu0713 commented on issue #11991:
URL: https://github.com/apache/pulsar/issues/11991#issuecomment-918757724


   > Dynamic add disk is not supported, you best should stop bookkeeper cluster when you want to add disk, because bookkeeper node unable to start when it's configuration changed.
   > 
   > 1. Stop bookkeeper cluster.
   > 2. Change bookiePort (like add a new bookkeeper node).
   > 3. Clear ledger and journal data in this node.
   > 4. Add disk in journalDirectories and ledgerDirectories, separated by ','.
   > 5. Start bookie.
   > 6. Run bin/bookkeeper shell recover  (you can find it in zk, path is /ledgers/available).
   > 
   > Have a try !
   
   OK, I will try it.Thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] MarvinCai commented on issue #11991: How to add an new disk to an exists bookkeeper node?

Posted by GitBox <gi...@apache.org>.
MarvinCai commented on issue #11991:
URL: https://github.com/apache/pulsar/issues/11991#issuecomment-917002070


   From the doc, seems bookkeeper doesn't support adding disk dynamicly, you'll need to restart bookie after adding the disk: https://bookkeeper.apache.org/docs/latest/admin/bookies/#missing-disks-or-directories
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org