
On Feb 2, 2016, at 2:47 AM, Simone Tiraboschi <stirabos@redhat.com> = wrote: =20 Hi Bill, in order to provide HA, the hosted-engine HA services should be able = to autonomously connect the shared storage from each hosted-engine = involved host. =20 The storage configuration is in = /etc/ovirt-hosted-engine/hosted-engine.conf =20 So: 1. set global-maintenance mode 2. shutdown the engine VM 3. manually edit /etc/ovirt-hosted-engine/hosted-engine.conf on each = host=20 4. here we have a delicate point: on restart ovirt-ha-agent will = connect the new storage server but the issue is that it will not call = disconnectStorageServer on the previously connected one so you will =
--Apple-Mail=_3C3DBFAC-C7FD-4202-9ED3-FEDF371ABEE1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I changed the IQN and the hosted engine VM now won=E2=80=99t boot. Is = there something else I need to change. Feb 2 11:30:43 CHISRVPRDOVND002 ovirt-ha-agent: = INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Reloading = vm.conf from the shared storage domain Feb 2 11:30:43 CHISRVPRDOVND002 ovirt-ha-agent: = INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config:Trying= to get a fresher copy of vm configuration from the OVF_STORE Feb 2 11:30:43 CHISRVPRDOVND002 kernel: dd: sending ioctl 80306d02 to a = partition! Feb 2 11:30:44 CHISRVPRDOVND002 kernel: dd: sending ioctl 80306d02 to a = partition! Feb 2 11:30:44 CHISRVPRDOVND002 kernel: dd: sending ioctl 80306d02 to a = partition! Feb 2 11:30:44 CHISRVPRDOVND002 kernel: dd: sending ioctl 80306d02 to a = partition! Feb 2 11:30:44 CHISRVPRDOVND002 ovirt-ha-agent: = WARNING:ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore:Unable to find = OVF_STORE Feb 2 11:30:44 CHISRVPRDOVND002 journal: ovirt-ha-agent = ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config ERROR = Unable to get vm.conf from OVF_STORE, falling back to initial vm.conf Feb 2 11:30:44 CHISRVPRDOVND002 ovirt-ha-agent: = ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config:Unabl= e to get vm.conf from OVF_STORE, falling back to initial vm.conf Feb 2 11:30:44 CHISRVPRDOVND002 ovirt-ha-agent: = INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Current = state GlobalMaintenance (score: 3400) probably end with VDSM that has still a reference also to the previous = location and this can cause timeouts and so on if not available. = Restarting VDSM is probably not enough since the the symlinks under = /var/run/vdsm will not be refreshed if they are already there ( ) so = I'd suggest to reboot all the hosts to avoid any possible issue.
5. exits global maintenance mode =20 On Tue, Feb 2, 2016 at 6:12 AM, bill@taney.com <mailto:bill@taney.com> = <bill@taney.com <mailto:bill@taney.com>> wrote: In a hosted-engine deployment has anyone had to migrate to a new iSCSI = SAN? I can not figure out how to move the engine(s) to a new iSCSI = target.. The SAN=E2=80=99s can fully replicate to one another and I can = move the LUN to the other device but don=E2=80=99t see how to stop the = engine and change the settings for it=E2=80=99s iSCSI target to another = IP/IQN. Any direction would be greatly appreciated - I am looking for = any method to get this done, we have to retire the old SAN - Thanks.=EF=BB= =BF =20 _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> =20 =20
--Apple-Mail=_3C3DBFAC-C7FD-4202-9ED3-FEDF371ABEE1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><div class=3D"">I changed the IQN and the hosted engine VM = now won=E2=80=99t boot. Is there something else I need to = change.</div><div class=3D""><br class=3D""></div><div class=3D""><br = class=3D""></div>Feb 2 11:30:43 CHISRVPRDOVND002 = ovirt-ha-agent: = INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Reloading = vm.conf from the shared storage domain<br class=3D"">Feb 2 = 11:30:43 CHISRVPRDOVND002 ovirt-ha-agent: = INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config:Trying= to get a fresher copy of vm configuration from the OVF_STORE<br = class=3D"">Feb 2 11:30:43 CHISRVPRDOVND002 kernel: dd: = sending ioctl 80306d02 to a partition!<br class=3D"">Feb 2 = 11:30:44 CHISRVPRDOVND002 kernel: dd: sending ioctl 80306d02 to a = partition!<br class=3D"">Feb 2 11:30:44 CHISRVPRDOVND002 = kernel: dd: sending ioctl 80306d02 to a partition!<br = class=3D"">Feb 2 11:30:44 CHISRVPRDOVND002 kernel: dd: = sending ioctl 80306d02 to a partition!<br class=3D"">Feb 2 = 11:30:44 CHISRVPRDOVND002 ovirt-ha-agent: = WARNING:ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore:Unable to find = OVF_STORE<br class=3D"">Feb 2 11:30:44 CHISRVPRDOVND002 = journal: ovirt-ha-agent = ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config ERROR = Unable to get vm.conf from OVF_STORE, falling back to = initial vm.conf<br class=3D"">Feb 2 11:30:44 = CHISRVPRDOVND002 ovirt-ha-agent: = ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config:Unabl= e to get vm.conf from OVF_STORE, falling back to initial vm.conf<br = class=3D"">Feb 2 11:30:44 CHISRVPRDOVND002 ovirt-ha-agent: = INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Current = state GlobalMaintenance (score: 3400)<br class=3D""><br = class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On = Feb 2, 2016, at 2:47 AM, Simone Tiraboschi <<a = href=3D"mailto:stirabos@redhat.com" class=3D"">stirabos@redhat.com</a>>= wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div = dir=3D"ltr" class=3D"">Hi Bill,<div class=3D"">in order to provide HA, = the hosted-engine HA services should be able to autonomously connect the = shared storage from each hosted-engine involved host.</div><div = class=3D""><br class=3D""></div><div class=3D"">The storage = configuration is = in /etc/ovirt-hosted-engine/hosted-engine.conf</div><div = class=3D""><br class=3D""></div><div class=3D"">So:</div><div = class=3D""><div style=3D"font-size:12.8px" class=3D""><span = style=3D"font-size:12.8px" class=3D"">1. set global-maintenance = mode</span><br class=3D""></div><div style=3D"font-size:12.8px" = class=3D"">2. shutdown the engine VM</div><div style=3D"font-size:12.8px" = class=3D"">3. manually edit <span style=3D"font-size:small" = class=3D"">/etc/ovirt-hosted-engine/hosted-engine.conf</span> on = each host </div><div style=3D"font-size:12.8px" class=3D"">4. here = we have a delicate point: on restart <span style=3D"font-size:12.8px"= class=3D"">ovirt-ha-agent will connect the new storage server but the = issue is that it will not call disconnectStorageServer on the previously = connected one so you will probably end with VDSM that has still a = reference also to the previous location and this can cause timeouts and = so on if not available. Restarting VDSM is probably not enough since the = the symlinks under /var/run/vdsm will not be refreshed if they are = already there ( ) so I'd suggest to reboot all the hosts to avoid = any possible issue.</span></div><div style=3D"font-size:12.8px" = class=3D"">5. exits global maintenance mode</div></div></div><div = class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On Tue, = Feb 2, 2016 at 6:12 AM, <a href=3D"mailto:bill@taney.com" = class=3D"">bill@taney.com</a> <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:bill@taney.com" target=3D"_blank" = class=3D"">bill@taney.com</a>></span> wrote:<br class=3D""><blockquote = class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc = solid;padding-left:1ex"><div style=3D"word-wrap:break-word" = class=3D""><span style=3D"background-color:rgb(255,255,255)" = class=3D""><font color=3D"#404040" size=3D"2" class=3D"">In a = hosted-engine deployment has anyone had to migrate to a new iSCSI SAN? I = can not figure out how to move the engine(s) to a new iSCSI target.. The = SAN=E2=80=99s can fully replicate to one another and I can move the LUN = to the other device but don=E2=80=99t see how to stop the engine and = change the settings for it=E2=80=99s iSCSI target to another IP/IQN. Any = direction would be greatly appreciated - I am looking for any method to = get this done, we have to retire the old SAN - = Thanks.=EF=BB=BF</font></span></div><br = class=3D"">_______________________________________________<br class=3D""> Users mailing list<br class=3D""> <a href=3D"mailto:Users@ovirt.org" class=3D"">Users@ovirt.org</a><br = class=3D""> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/mailman/listinfo/users</a><br = class=3D""> <br class=3D""></blockquote></div><br class=3D""></div> </div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_3C3DBFAC-C7FD-4202-9ED3-FEDF371ABEE1--