Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple ceph cluster support #29

Open
aderumier opened this issue Mar 15, 2018 · 2 comments
Open

multiple ceph cluster support #29

aderumier opened this issue Mar 15, 2018 · 2 comments

Comments

@aderumier
Copy link

Hi,

currently rbd commands don't specify specifc monitors or specific ceph.conf.

That mean that it's only work with the cluster defined in /etc/pve/conf

This could be great to be able to add

  1. another ceph.conf (rbd -c /path/ceph.conf)
    or
  2. pass monitor address to command line (rbd -m ip1;ip2;ip3)

and cephx auth + keyring if supported

proxmox code is

/usr/share/perl5/PVE/Storage/RBDPlugin.pm

if ($pveceph_managed) {
    push @$cmd, '-c', $pveceph_config;
} else {
    push @$cmd, '-m', $hostlist->($scfg->{monhost}, ',');
    push @$cmd, '--auth_supported', -e $keyring ? 'cephx' : 'none';
}

if (-e $keyring) {
    push @$cmd, '-n', "client.$username";
    push @$cmd, '--keyring', $keyring;
}
@franklupo
Copy link
Member

Hi,
in new version.

Best regards

@ndb14
Copy link

ndb14 commented Jun 19, 2019

Hello,

It will be great if this update was done :)

I have 2 ceph cluster and i can't backup the second one.

PS : your script is great

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

No branches or pull requests

3 participants