Skip to content

Conversation

@liangxin1300
Copy link
Collaborator

@liangxin1300 liangxin1300 commented Dec 13, 2024

Usage

# Setup the cluster on the current node, with SBD+GFS2
crm cluster init -s <share disk1> -g <share disk2> -y

# Setup the cluster on the current node, with SBD+GFS2+Cluster LVM
crm cluster init -s <share disk1> -g <share disk2> -g <share disk3> -C -y

# Add GFS2+Cluster LVM on a running cluster
crm cluster init gfs2 -g <share disk1> -g <share disk2> -C -y

BTW, -o option is still available to bootstrapping OCFS2, if applicable

Test packages: https://build.opensuse.org/projects/home:XinLiang:branches:network:ha-clustering:Factory/packages/crmsh/repositories/openSUSE_Tumbleweed/binaries

zzhou1
zzhou1 previously approved these changes Dec 16, 2024
@zzhou1 zzhou1 dismissed their stale review December 16, 2024 08:40

still need to resolve the failure of the bootstrap oneliner to setup clusterfs with sbd

@codecov
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

Attention: Patch coverage is 83.91813% with 55 lines in your changes missing coverage. Please review.

Project coverage is 69.75%. Comparing base (562ce84) to head (28fe540).
Report is 9 commits behind head on master.

Files with missing lines Patch % Lines
crmsh/cluster_fs.py 80.89% 47 Missing ⚠️
crmsh/bootstrap.py 80.00% 5 Missing ⚠️
crmsh/report/collect.py 95.31% 3 Missing ⚠️
Additional details and impacted files
Flag Coverage Δ
integration 53.57% <32.16%> (-0.28%) ⬇️
unit 53.11% <79.82%> (+0.34%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
crmsh/report/constants.py 100.00% <100.00%> (ø)
crmsh/ui_cluster.py 75.14% <100.00%> (+0.19%) ⬆️
crmsh/report/collect.py 96.68% <95.31%> (-0.33%) ⬇️
crmsh/bootstrap.py 88.34% <80.00%> (+0.04%) ⬆️
crmsh/cluster_fs.py 80.89% <80.89%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@liangxin1300 liangxin1300 force-pushed the 20241209_gfs2_support branch 2 times, most recently from d07b33e to 219b164 Compare December 18, 2024 07:56
@liangxin1300
Copy link
Collaborator Author

Issue: should detect if required rpm packages are available on each node, when using gfs2/ocfs2 stage

@zzhou1 zzhou1 changed the title Support configuring GFS2 bootstrap: add gfs2 stage functionality (Technical Preview) Dec 19, 2024
@zzhou1 zzhou1 changed the title bootstrap: add gfs2 stage functionality (Technical Preview) Dev: bootstrap: add gfs2 stage functionality (Technical Preview) Dec 19, 2024
Copy link
Contributor

@zzhou1 zzhou1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGFM about the use cases

@liangxin1300 liangxin1300 merged commit 66a75d1 into ClusterLabs:master Dec 25, 2024
32 checks passed
liangxin1300 added a commit that referenced this pull request Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants