[ovirt-users] Re: hyperconverged cluster - how to change the mount path?

2018-07-10 Thread Liebe , André-Sebastian
Thanks, that worked! I should have read man page instead of googling around and 
use wrong arguments (via 
https://ovirt.org/develop/release-management/features/sla/hosted-engine-edit-configuration-on-shared-storage/)



Von: Sahina Bose [sab...@redhat.com]
Gesendet: Montag, 9. Juli 2018 15:27
An: Liebe, André-Sebastian
Cc: Hesham Ahmed; users
Betreff: Re: [ovirt-users] Re: hyperconverged cluster - how to change the mount 
path?



On Fri, Jul 6, 2018 at 1:55 PM, Liebe, André-Sebastian 
mailto:andre.li...@gematik.de>> wrote:
> To edit the entry of storage connection in database, you can use
> hosted-engine --set-shared-config mnt_options 
> backup-volfile-servers=:

I tried editing shared configuration but it failed.

# hosted-engine --get-shared-config mnt_options --type=vm
Invalid configuration key mnt_options.
Available keys are:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/get_shared_config.py",
 line 71, in 
value_and_type = get_shared_config.get_shared_config(*sys.argv)
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/get_shared_config.py",
 line 55, in get_shared_config
for c_type in config_keys_for_type:
TypeError: 'NoneType' object is not iterable

# hosted-engine --get-shared-config mnt_options --type=broker
Invalid configuration key mnt_options.
Available keys are:
broker : ['email.smtp-server', 'email.smtp-port', 'email.source-email', 
'email.destination-emails', 'notify.state_transition']

# hosted-engine --set-shared-config mnt_options backup-volfile-servers=lvh2:lvh4
Duplicate key mnt_options, please specify the key type
#  hosted-engine --set-shared-config mnt_options 
backup-volfile-servers=lvh2:lvh4 --type=broker
Invalid configuration key mnt_options.
Available keys are:
broker : ['email.smtp-server', 'email.smtp-port', 'email.source-email', 
'email.destination-emails', 'notify.state_transition']

# hosted-engine --set-shared-config mnt_options 
backup-volfile-servers=lvh2.lab.gematik.de:lvh4.lab.gematik.de<http://vh4.lab.gematik.de>
 --type=vm
Invalid configuration key mnt_options.
Available keys are:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_shared_config.py",
 line 71, in 
if not set_shared_config.set_shared_config(*sys.argv):
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_shared_config.py",
 line 54, in set_shared_config
for c_type in config_keys_for_type:
TypeError: 'NoneType' object is not iterable


Can you try

#  hosted-engine --get-shared-config mnt_options --type=he_shared





André





smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/R4TISNVWZT7KJW5A7VOXBQNH64IV66ZV/


[ovirt-users] Re: hyperconverged cluster - how to change the mount path?

2018-07-09 Thread Sahina Bose
On Fri, Jul 6, 2018 at 1:55 PM, Liebe, André-Sebastian <
andre.li...@gematik.de> wrote:

> > To edit the entry of storage connection in database, you can use
> > hosted-engine --set-shared-config mnt_options backup-volfile-servers=<
> server2>:
>
> I tried editing shared configuration but it failed.
> 
> # hosted-engine --get-shared-config mnt_options --type=vm
> Invalid configuration key mnt_options.
> Available keys are:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
>   File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
> exec code in run_globals
>   File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/get_shared_config.py",
> line 71, in 
> value_and_type = get_shared_config.get_shared_config(*sys.argv)
>   File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/get_shared_config.py",
> line 55, in get_shared_config
> for c_type in config_keys_for_type:
> TypeError: 'NoneType' object is not iterable
>
> # hosted-engine --get-shared-config mnt_options --type=broker
> Invalid configuration key mnt_options.
> Available keys are:
> broker : ['email.smtp-server', 'email.smtp-port', 'email.source-email',
> 'email.destination-emails', 'notify.state_transition']
>
> # hosted-engine --set-shared-config mnt_options
> backup-volfile-servers=lvh2:lvh4
> Duplicate key mnt_options, please specify the key type
> #  hosted-engine --set-shared-config mnt_options
> backup-volfile-servers=lvh2:lvh4 --type=broker
> Invalid configuration key mnt_options.
> Available keys are:
> broker : ['email.smtp-server', 'email.smtp-port', 'email.source-email',
> 'email.destination-emails', 'notify.state_transition']
>
> # hosted-engine --set-shared-config mnt_options
> backup-volfile-servers=lvh2.lab.gematik.de:lvh4.lab.gematik.de --type=vm
> Invalid configuration key mnt_options.
> Available keys are:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
>   File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
> exec code in run_globals
>   File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_shared_config.py",
> line 71, in 
> if not set_shared_config.set_shared_config(*sys.argv):
>   File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_shared_config.py",
> line 54, in set_shared_config
> for c_type in config_keys_for_type:
> TypeError: 'NoneType' object is not iterable
>


Can you try

#  hosted-engine --get-shared-config mnt_options --type=he_shared



>
>
> André
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AZIV2L6KUVW76C5PPE46HVNTGEKFR5YK/


[ovirt-users] Re: hyperconverged cluster - how to change the mount path?

2018-07-07 Thread Liebe , André-Sebastian
> To edit the entry of storage connection in database, you can use
> hosted-engine --set-shared-config mnt_options 
> backup-volfile-servers=:

I tried editing shared configuration but it failed.

# hosted-engine --get-shared-config mnt_options --type=vm
Invalid configuration key mnt_options.
Available keys are:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/get_shared_config.py",
 line 71, in 
value_and_type = get_shared_config.get_shared_config(*sys.argv)
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/get_shared_config.py",
 line 55, in get_shared_config
for c_type in config_keys_for_type:
TypeError: 'NoneType' object is not iterable

# hosted-engine --get-shared-config mnt_options --type=broker
Invalid configuration key mnt_options.
Available keys are:
broker : ['email.smtp-server', 'email.smtp-port', 'email.source-email', 
'email.destination-emails', 'notify.state_transition']

# hosted-engine --set-shared-config mnt_options backup-volfile-servers=lvh2:lvh4
Duplicate key mnt_options, please specify the key type
#  hosted-engine --set-shared-config mnt_options 
backup-volfile-servers=lvh2:lvh4 --type=broker
Invalid configuration key mnt_options.
Available keys are:
broker : ['email.smtp-server', 'email.smtp-port', 'email.source-email', 
'email.destination-emails', 'notify.state_transition']

# hosted-engine --set-shared-config mnt_options 
backup-volfile-servers=lvh2.lab.gematik.de:lvh4.lab.gematik.de --type=vm
Invalid configuration key mnt_options.
Available keys are:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_shared_config.py",
 line 71, in 
if not set_shared_config.set_shared_config(*sys.argv):
  File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_shared_config.py",
 line 54, in set_shared_config
for c_type in config_keys_for_type:
TypeError: 'NoneType' object is not iterable



André




smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z6NKBFRBUVN6X4NB5IKKBOTRAGODDXHW/


[ovirt-users] Re: hyperconverged cluster - how to change the mount path?

2018-07-05 Thread Sahina Bose
On Wed, Jul 4, 2018 at 7:50 PM, Hesham Ahmed  wrote:

> The correct way to allow hosted engine to use other available gluster
> peers in case of failure of the specified peer is to pass the
> –config-append option during setup as described
> https://ovirt.org/develop/release-management/features/
> sla/self-hosted-engine-gluster-support/
>
> If you want to change that now, then just edit the file
> /etc/ovirt-hosted-engine/hosted-engine.conf on all hosts and add the
> following line:
>
> mnt_options=backup-volfile-servers=host02:host03
>
> However note that for any new hosted engine deployments, the file has
> to be manually edited.
>

To edit the entry of storage connection in database, you can use
hosted-engine --set-shared-config mnt_options
backup-volfile-servers=:

New hosts added to the cluster will automatically take this. The
/etc/ovirt-hosted-engine/hosted-engine.conf needs to be edited only for
existing hosts


On Wed, Jul 4, 2018 at 4:51 PM Liebe, André-Sebastian
>  wrote:
> >
> > Well, I though this wouldn’t be supported at the moment.
> >
> > But I seriously doubt changing this in engine’s SQL database will be a
> good idea at all, since the way hosted-engine’s configuration is shared
> across each node (/etc/ovirt-hosted-engine/hosted-engine.conf,
> /var/lib/ovirt-hsoted-engine-ha, configuration inside hosted-engine’s
> storage domain: hosted-engine.metadata)
> >
> >
> >
> > I had hoped hosted-engine or hosted-engine-setup cli could be extended
> to support this use case. I’m willing to help out testing any (manual)
> procedure to get this implemented (e.g. undeploy hosted-engine on two of
> three nodes, make changes to hosted-engine.metadata, hosted-engine.conf,
> start/stop hosted-engine, run SQL commands inside engine)
> >
> >
> >
> > Sincerely
> >
> > André
> >
> >
> >
> > Von: Renout Gerrits [mailto:m...@renout.nl]
> > Gesendet: Mittwoch, 4. Juli 2018 12:04
> > An: Liebe, André-Sebastian
> > Cc: Gobinda Das; Alex K; users
> > Betreff: Re: [ovirt-users] Re: hyperconverged cluster - how to change
> the mount path?
> >
> >
> >
> > unsupported, make backups, use at your own risk etc...
> >
> >
> >
> > you could update the db if you can't put the storage domain into
> maintenance
> >
> > after that put your hosts into maintenance and out again to remount
> >
> >
> >
> > find the id of the sd you want to update with:
> >
> >   engine=# select * from storage_server_connections;
> >
> >
> >
> > ensure you have to correct id, the following should point to the old
> mount point:
> >
> >   engine=# select connection from storage_server_connections where
> id='';
> >
> >
> >
> > next update your db
> >
> >   engine=# update storage_server_connections set connection=' mount point' where id='';
> >
> >
> >
> >
> >
> >
> >
> > On Wed, Jul 4, 2018 at 9:13 AM, Liebe, André-Sebastian <
> andre.li...@gematik.de> wrote:
> >
> > Yeah, sorry that doesn’t work.
> >
> > I can’t set hosted_storage (storage domain where hosted engine runs on)
> into maintenance mode to being able to edit it.
> >
> >
> >
> > André
> >
> >
> >
> > Von: Gobinda Das [mailto:go...@redhat.com]
> > Gesendet: Montag, 2. Juli 2018 09:00
> > An: Alex K
> > Cc: Liebe, André-Sebastian; users
> > Betreff: Re: [ovirt-users] Re: hyperconverged cluster - how to change
> the mount path?
> >
> >
> >
> > You can do it by using "Manage Domain" option from Starage Domain.
> >
> >
> >
> > On Sun, Jul 1, 2018 at 7:02 PM, Alex K  wrote:
> >
> > The steps roughly would be to put that storage domain in maintenance
> then edit/redefine it. You have the option to set gluster mount point
> options for the redundancy part. No need to set dns round robin.
> >
> >
> >
> > Alex
> >
> >
> >
> > On Sun, Jul 1, 2018, 13:29 Liebe, André-Sebastian <
> andre.li...@gematik.de> wrote:
> >
> > Hi list,
> >
> > I'm looking for an advice how to change the mount point of the
> hosted_storage due to a hostname change.
> >
> > When I set up our hyperconverged lab cluster (host1, host2, host3) I
> populated the mount path with host3:/hosted_storage which wasn't very
> clever as it brings in a single point of failure (i.e. when host3 is down).
> > So I thought adding a round robin dns/hosts entry (i.e. gluster1) for
>

[ovirt-users] Re: hyperconverged cluster - how to change the mount path?

2018-07-04 Thread Hesham Ahmed
The correct way to allow hosted engine to use other available gluster
peers in case of failure of the specified peer is to pass the
–config-append option during setup as described
https://ovirt.org/develop/release-management/features/sla/self-hosted-engine-gluster-support/

If you want to change that now, then just edit the file
/etc/ovirt-hosted-engine/hosted-engine.conf on all hosts and add the
following line:

mnt_options=backup-volfile-servers=host02:host03

However note that for any new hosted engine deployments, the file has
to be manually edited.
On Wed, Jul 4, 2018 at 4:51 PM Liebe, André-Sebastian
 wrote:
>
> Well, I though this wouldn’t be supported at the moment.
>
> But I seriously doubt changing this in engine’s SQL database will be a good 
> idea at all, since the way hosted-engine’s configuration is shared across 
> each node (/etc/ovirt-hosted-engine/hosted-engine.conf, 
> /var/lib/ovirt-hsoted-engine-ha, configuration inside hosted-engine’s storage 
> domain: hosted-engine.metadata)
>
>
>
> I had hoped hosted-engine or hosted-engine-setup cli could be extended to 
> support this use case. I’m willing to help out testing any (manual) procedure 
> to get this implemented (e.g. undeploy hosted-engine on two of three nodes, 
> make changes to hosted-engine.metadata, hosted-engine.conf, start/stop 
> hosted-engine, run SQL commands inside engine)
>
>
>
> Sincerely
>
> André
>
>
>
> Von: Renout Gerrits [mailto:m...@renout.nl]
> Gesendet: Mittwoch, 4. Juli 2018 12:04
> An: Liebe, André-Sebastian
> Cc: Gobinda Das; Alex K; users
> Betreff: Re: [ovirt-users] Re: hyperconverged cluster - how to change the 
> mount path?
>
>
>
> unsupported, make backups, use at your own risk etc...
>
>
>
> you could update the db if you can't put the storage domain into maintenance
>
> after that put your hosts into maintenance and out again to remount
>
>
>
> find the id of the sd you want to update with:
>
>   engine=# select * from storage_server_connections;
>
>
>
> ensure you have to correct id, the following should point to the old mount 
> point:
>
>   engine=# select connection from storage_server_connections where id=' from output above>';
>
>
>
> next update your db
>
>   engine=# update storage_server_connections set connection=' point' where id='';
>
>
>
>
>
>
>
> On Wed, Jul 4, 2018 at 9:13 AM, Liebe, André-Sebastian 
>  wrote:
>
> Yeah, sorry that doesn’t work.
>
> I can’t set hosted_storage (storage domain where hosted engine runs on) into 
> maintenance mode to being able to edit it.
>
>
>
> André
>
>
>
> Von: Gobinda Das [mailto:go...@redhat.com]
> Gesendet: Montag, 2. Juli 2018 09:00
> An: Alex K
> Cc: Liebe, André-Sebastian; users
> Betreff: Re: [ovirt-users] Re: hyperconverged cluster - how to change the 
> mount path?
>
>
>
> You can do it by using "Manage Domain" option from Starage Domain.
>
>
>
> On Sun, Jul 1, 2018 at 7:02 PM, Alex K  wrote:
>
> The steps roughly would be to put that storage domain in maintenance then 
> edit/redefine it. You have the option to set gluster mount point options for 
> the redundancy part. No need to set dns round robin.
>
>
>
> Alex
>
>
>
> On Sun, Jul 1, 2018, 13:29 Liebe, André-Sebastian  
> wrote:
>
> Hi list,
>
> I'm looking for an advice how to change the mount point of the hosted_storage 
> due to a hostname change.
>
> When I set up our hyperconverged lab cluster (host1, host2, host3) I 
> populated the mount path with host3:/hosted_storage which wasn't very clever 
> as it brings in a single point of failure (i.e. when host3 is down).
> So I thought adding a round robin dns/hosts entry (i.e. gluster1) for host 1 
> to 3 and changing the mount path would be a better idea. But the mount path 
> entry is locked in web gui and I couldn't find any hint how to change it 
> manually (in database, shared and local configuration) in a consistent way 
> without risking the cluster.
> So, is there a step by step guide how to achieve this without reinstalling 
> (from backup)?
>
>
> Sincerely
>
> André-Sebastian Liebe
> Technik / Innovation
>
> gematik
> Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH
> Friedrichstraße 136
> 10117 Berlin
> Telefon: +49 30 40041-197
> Telefax: +49 30 40041-111
> E-Mail:  andre.li...@gematik.de
> www.gematik.de
> ___
> Amtsgericht Berlin-Charlottenburg HRB 96351 B
> Geschäftsführer: Alexander Beyer
> ___
> Users mailing list -- users@ovirt.org
> 

[ovirt-users] Re: hyperconverged cluster - how to change the mount path?

2018-07-04 Thread Liebe , André-Sebastian
Well, I though this wouldn’t be supported at the moment.
But I seriously doubt changing this in engine’s SQL database will be a good 
idea at all, since the way hosted-engine’s configuration is shared across each 
node (/etc/ovirt-hosted-engine/hosted-engine.conf, 
/var/lib/ovirt-hsoted-engine-ha, configuration inside hosted-engine’s storage 
domain: hosted-engine.metadata)

I had hoped hosted-engine or hosted-engine-setup cli could be extended to 
support this use case. I’m willing to help out testing any (manual) procedure 
to get this implemented (e.g. undeploy hosted-engine on two of three nodes, 
make changes to hosted-engine.metadata, hosted-engine.conf, start/stop 
hosted-engine, run SQL commands inside engine)

Sincerely
André

Von: Renout Gerrits [mailto:m...@renout.nl]
Gesendet: Mittwoch, 4. Juli 2018 12:04
An: Liebe, André-Sebastian
Cc: Gobinda Das; Alex K; users
Betreff: Re: [ovirt-users] Re: hyperconverged cluster - how to change the mount 
path?

unsupported, make backups, use at your own risk etc...

you could update the db if you can't put the storage domain into maintenance
after that put your hosts into maintenance and out again to remount

find the id of the sd you want to update with:
  engine=# select * from storage_server_connections;

ensure you have to correct id, the following should point to the old mount 
point:
  engine=# select connection from storage_server_connections where id='';

next update your db
  engine=# update storage_server_connections set connection='mailto:andre.li...@gematik.de>> wrote:
Yeah, sorry that doesn’t work.
I can’t set hosted_storage (storage domain where hosted engine runs on) into 
maintenance mode to being able to edit it.

André

Von: Gobinda Das [mailto:go...@redhat.com<mailto:go...@redhat.com>]
Gesendet: Montag, 2. Juli 2018 09:00
An: Alex K
Cc: Liebe, André-Sebastian; users
Betreff: Re: [ovirt-users] Re: hyperconverged cluster - how to change the mount 
path?

You can do it by using "Manage Domain" option from Starage Domain.

On Sun, Jul 1, 2018 at 7:02 PM, Alex K 
mailto:rightkickt...@gmail.com>> wrote:
The steps roughly would be to put that storage domain in maintenance then 
edit/redefine it. You have the option to set gluster mount point options for 
the redundancy part. No need to set dns round robin.

Alex

On Sun, Jul 1, 2018, 13:29 Liebe, André-Sebastian 
mailto:andre.li...@gematik.de>> wrote:
Hi list,

I'm looking for an advice how to change the mount point of the hosted_storage 
due to a hostname change.

When I set up our hyperconverged lab cluster (host1, host2, host3) I populated 
the mount path with host3:/hosted_storage which wasn't very clever as it brings 
in a single point of failure (i.e. when host3 is down).
So I thought adding a round robin dns/hosts entry (i.e. gluster1) for host 1 to 
3 and changing the mount path would be a better idea. But the mount path entry 
is locked in web gui and I couldn't find any hint how to change it manually (in 
database, shared and local configuration) in a consistent way without risking 
the cluster.
So, is there a step by step guide how to achieve this without reinstalling 
(from backup)?


Sincerely

André-Sebastian Liebe
Technik / Innovation

gematik
Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH
Friedrichstraße 136
10117 Berlin
Telefon: +49 30 40041-197
Telefax: +49 30 40041-111
E-Mail:  andre.li...@gematik.de<mailto:andre.li...@gematik.de>
www.gematik.de<http://www.gematik.de>
___
Amtsgericht Berlin-Charlottenburg HRB 96351 B
Geschäftsführer: Alexander Beyer
___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/B2R6G3VCK545RKT5BMAQ5EXO4ZFJSMFG/

___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QKNPBUXPIHNYN2NT63KUCYZOBZO5HUOL/



--
Thanks,
Gobinda

___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Ar

[ovirt-users] Re: hyperconverged cluster - how to change the mount path?

2018-07-04 Thread Renout Gerrits
unsupported, make backups, use at your own risk etc...

you could update the db if you can't put the storage domain into maintenance
after that put your hosts into maintenance and out again to remount

find the id of the sd you want to update with:
  engine=# select * from storage_server_connections;

ensure you have to correct id, the following should point to the old mount
point:
  engine=# select connection from storage_server_connections where id='';

next update your db
  engine=# update storage_server_connections set connection=' wrote:

> Yeah, sorry that doesn’t work.
>
> I can’t set hosted_storage (storage domain where hosted engine runs on)
> into maintenance mode to being able to edit it.
>
>
>
> André
>
>
>
> *Von:* Gobinda Das [mailto:go...@redhat.com]
> *Gesendet:* Montag, 2. Juli 2018 09:00
> *An:* Alex K
> *Cc:* Liebe, André-Sebastian; users
> *Betreff:* Re: [ovirt-users] Re: hyperconverged cluster - how to change
> the mount path?
>
>
>
> You can do it by using "Manage Domain" option from Starage Domain.
>
>
>
> On Sun, Jul 1, 2018 at 7:02 PM, Alex K  wrote:
>
> The steps roughly would be to put that storage domain in maintenance then
> edit/redefine it. You have the option to set gluster mount point options
> for the redundancy part. No need to set dns round robin.
>
>
>
> Alex
>
>
>
> On Sun, Jul 1, 2018, 13:29 Liebe, André-Sebastian 
> wrote:
>
> Hi list,
>
> I'm looking for an advice how to change the mount point of the
> hosted_storage due to a hostname change.
>
> When I set up our hyperconverged lab cluster (host1, host2, host3) I
> populated the mount path with host3:/hosted_storage which wasn't very
> clever as it brings in a single point of failure (i.e. when host3 is down).
> So I thought adding a round robin dns/hosts entry (i.e. gluster1) for host
> 1 to 3 and changing the mount path would be a better idea. But the mount
> path entry is locked in web gui and I couldn't find any hint how to change
> it manually (in database, shared and local configuration) in a consistent
> way without risking the cluster.
> So, is there a step by step guide how to achieve this without reinstalling
> (from backup)?
>
>
> Sincerely
>
> André-Sebastian Liebe
> Technik / Innovation
>
> gematik
> Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH
> Friedrichstraße 136
> 10117 Berlin
> Telefon: +49 30 40041-197
> Telefax: +49 30 40041-111
> E-Mail:  andre.li...@gematik.de
> www.gematik.de
> ___
> Amtsgericht Berlin-Charlottenburg HRB 96351 B
> Geschäftsführer: Alexander Beyer
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/B2R6G3VCK545RKT5BMAQ5EXO4ZFJSMFG/
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/QKNPBUXPIHNYN2NT63KUCYZOBZO5HUOL/
>
>
>
>
>
> --
>
> Thanks,
>
> Gobinda
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/SQJGVJLSRHAXTX6EFU4Z6GPO5IN565CD/
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5CN675JLGV6JPPR6W2TXFMZ562ZYPMJJ/


[ovirt-users] Re: hyperconverged cluster - how to change the mount path?

2018-07-02 Thread Gobinda Das
You can do it by using "Manage Domain" option from Starage Domain.

On Sun, Jul 1, 2018 at 7:02 PM, Alex K  wrote:

> The steps roughly would be to put that storage domain in maintenance then
> edit/redefine it. You have the option to set gluster mount point options
> for the redundancy part. No need to set dns round robin.
>
> Alex
>
> On Sun, Jul 1, 2018, 13:29 Liebe, André-Sebastian 
> wrote:
>
>> Hi list,
>>
>> I'm looking for an advice how to change the mount point of the
>> hosted_storage due to a hostname change.
>>
>> When I set up our hyperconverged lab cluster (host1, host2, host3) I
>> populated the mount path with host3:/hosted_storage which wasn't very
>> clever as it brings in a single point of failure (i.e. when host3 is down).
>> So I thought adding a round robin dns/hosts entry (i.e. gluster1) for
>> host 1 to 3 and changing the mount path would be a better idea. But the
>> mount path entry is locked in web gui and I couldn't find any hint how to
>> change it manually (in database, shared and local configuration) in a
>> consistent way without risking the cluster.
>> So, is there a step by step guide how to achieve this without
>> reinstalling (from backup)?
>>
>>
>> Sincerely
>>
>> André-Sebastian Liebe
>> Technik / Innovation
>>
>> gematik
>> Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH
>> Friedrichstraße 136
>> 10117 Berlin
>> Telefon: +49 30 40041-197
>> Telefax: +49 30 40041-111
>> E-Mail:  andre.li...@gematik.de
>> www.gematik.de
>> ___
>> Amtsgericht Berlin-Charlottenburg HRB 96351 B
>> Geschäftsführer: Alexander Beyer
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
>> guidelines/
>> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
>> message/B2R6G3VCK545RKT5BMAQ5EXO4ZFJSMFG/
>>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/QKNPBUXPIHNYN2NT63KUCYZOBZO5HUOL/
>
>


-- 
Thanks,
Gobinda
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VXUMGTNZ3KJ3UXCT53LWN7PZIKI3Y7XX/


[ovirt-users] Re: hyperconverged cluster - how to change the mount path?

2018-07-01 Thread Alex K
The steps roughly would be to put that storage domain in maintenance then
edit/redefine it. You have the option to set gluster mount point options
for the redundancy part. No need to set dns round robin.

Alex

On Sun, Jul 1, 2018, 13:29 Liebe, André-Sebastian 
wrote:

> Hi list,
>
> I'm looking for an advice how to change the mount point of the
> hosted_storage due to a hostname change.
>
> When I set up our hyperconverged lab cluster (host1, host2, host3) I
> populated the mount path with host3:/hosted_storage which wasn't very
> clever as it brings in a single point of failure (i.e. when host3 is down).
> So I thought adding a round robin dns/hosts entry (i.e. gluster1) for host
> 1 to 3 and changing the mount path would be a better idea. But the mount
> path entry is locked in web gui and I couldn't find any hint how to change
> it manually (in database, shared and local configuration) in a consistent
> way without risking the cluster.
> So, is there a step by step guide how to achieve this without reinstalling
> (from backup)?
>
>
> Sincerely
>
> André-Sebastian Liebe
> Technik / Innovation
>
> gematik
> Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH
> Friedrichstraße 136
> 10117 Berlin
> Telefon: +49 30 40041-197
> Telefax: +49 30 40041-111
> E-Mail:  andre.li...@gematik.de
> www.gematik.de
> ___
> Amtsgericht Berlin-Charlottenburg HRB 96351 B
> Geschäftsführer: Alexander Beyer
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/B2R6G3VCK545RKT5BMAQ5EXO4ZFJSMFG/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QKNPBUXPIHNYN2NT63KUCYZOBZO5HUOL/