aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Khutornenko <ma...@apache.org>
Subject Re: aurora maintenance mode
Date Thu, 21 Aug 2014 20:13:27 GMT
Hi Bhuvan,

Looks like you are missing a cluster name argument in your command.
Something like "aurora_admin start_maintenance_hosts --hosts=<hosts>
<cluster>" should do it.

Thanks,
Maxim

On Thu, Aug 21, 2014 at 1:01 PM, Bhuvan Arumugam <bhuvan@apache.org> wrote:
> I'm trying to use aurora_admin command to bring few hosts in
> maintenance mode. I dont want to schedule jobs in these hosts, as they
> may be down or due to be rebooted soon.
>
> The aurora_admin interface dont seem to behave as advertised. Sounds
> like a bug with how options are parsed?
>
> [root@scheduler ~]# aurora_admin start_maintenance_hosts --hosts="slave1,slave2"
> FATAL] usage: start_maintenance_hosts {--filename=filename | --hosts=hosts}
>
> see the help subcommand for more details.
>
> [root@scheduler ~]# cat /tmp/maintenance.hosts
> slave1
> [root@scheduler ~]# aurora_admin start_maintenance_hosts
> --filename=/tmp/maintenance.hosts
> FATAL] usage: start_maintenance_hosts {--filename=filename | --hosts=hosts}
>
> see the help subcommand for more details.
>
>
> --
> Regards,
> Bhuvan Arumugam
> www.livecipher.com

Mime
View raw message