On Wed, Mar 1, 2017 at 9:47 AM, Gustav H Meyer <[email protected]> wrote:

> Hi,
>
> Thanks Joe for asking that question as I would love to see the answer to
> that as well.
>
> In fact I would actually like to know how to approach and change the
> source-email address so that you can actually see what host the email is
> coming from rather than from localhost.
>
> Regards,
> Gustav H Meyer
>
> On 01/03/2017 09:53, Joseph Kelly wrote:
>
> Hello all - does anyone know how to update the destination-emails address
> after the hosted-engine is deployed ? And can this be done from the
> webadmin GUI ? I
>
> # cat  /var/lib/ovirt-hosted-engine-ha/broker.conf
> [email]
> smtp-server = mailhost.ts.com
> smtp-port = 25
> source-email = root@localhost <[email protected]>
> *destination-emails = [email protected] <[email protected]> <-- want
> to change this *
>
> [notify]
> state_transition = maintenance|start|stop|migrate|up|down
>
> And I've done the following on both nodes but itseems to keeps on getting
> over-written:
>
> 1) Shutdown the hosted-engine
>
> 2)  Stopped these services on all nodes:
> service ovirt-ha-agent stop
> service ovirt-ha-broker stop
>
> 3) Updated broker.conf on each node:
> Edited /var/lib/ovirt-hosted-engine-ha/broker.conf on each node
> Edited /etc/ovirt-hosted-engine/answers.conf <-- just for good measure
>
> 4) Re-started these services on all nodes:
> service ovirt-ha-agent start
> service ovirt-ha-broker start
>
> 5) Restarted the hosted-engine.
>
> Pretty easy in 4.1:

[root@c72he20170228h1 ~]# hosted-engine --get-shared-config
destination-emails --type=broker

destination-emails : root@localhost, type : broker

[root@c72he20170228h1 ~]# hosted-engine --set-shared-config
destination-emails [email protected] --type=broker
[root@c72he20170228h1 ~]# hosted-engine --get-shared-config
destination-emails --type=broker

destination-emails : [email protected], type : broker

[root@c72he20170228h1 ~]# systemctl restart ovirt-ha-broker


> Thanks,
> Joe.
>
> --
>
> *J. Kelly*
> Infrastructure Engineer
> TradingScreenwww.tradingscreen.com
> KDX Roppongi 228 Bldg. 6F
> 2-2-8 Roppongi, Minato-ku, Tokyo 106-0032, Japan
> office: +81-3-4540-8513 <+81%203-4540-8513>
> email: [email protected]
>
> Follow TradingScreen on Twitter, Facebook, or our blog, Trading Smarter
>
> This message is intended only for the recipient(s) named above and may
> contain confidential information. If you are not an intended recipient,
> you should not review, distribute or copy this message. Please notify
> the sender immediately by e-mail if you have received this message in
> error and delete it from your system.
>
>
>
>
> _______________________________________________
> Users mailing [email protected]http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ovirt.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to