| Specifying servers when adding a client [message #33016] |
Fri, 11 July 2008 16:23  |
pace  Messages: 248 Registered: May 2008 |
Senior Member |
|
|
Hey there. I'm using the following command to create a client:
/script/add --class=client --name=testme --v-plan_name=basic___client-admin --v-type=customer --v-password=password --v-dnstemplate_name=test_default.dnst --v-domain_name=testme.com --v-syncserver=lx03.test.net
The client and domain get created, but I always end up with the web, mail, DNS, and mysql servers configured to run on the master server (where I don't want to host anything).
What should I be doing to correctly configure those servers when I run the add script?
Thanks,
pace
[Updated on: Fri, 11 July 2008 16:28] Report message to a moderator
|
|
|
|
|
| [commandline] Re: Specifying servers when adding a client [message #33023 is a reply to message #33022] |
Fri, 11 July 2008 16:52   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
You can do it via the interface, or you can run that particular interface via the commandline. I will let you know how to transfer clients across to another server via commandline.
thanks.
On Fri, Jul 11, 2008 at 08:43:20PM -0000, Mark Pace wrote:
>
>
> Okay. Is there something I can run after the add to move them to the correct server?
|
|
|
|
| [commandline] Re: Specifying servers when adding a client [message #36255 is a reply to message #35782] |
Sun, 31 August 2008 16:29   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
Actually, whatever is possible via the interface is possible via the command line. Can you tell me exactly what you want? You need to provide servers when are add a client?
On Sun, Aug 24, 2008 at 03:43:06AM -0000, Mark Pace wrote:
>
>
> Any news on this? Its keeping me from being able to provision clients automatically...
>
>
> pace
|
|
|
|
| [commandline] Re: Specifying servers when adding a client [message #36274 is a reply to message #36271] |
Sun, 31 August 2008 18:58   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
| Quote: |
> 1. How to specify the servers (web, database, mail) while I'm creating a client?
|
You can provide it as
--v-websyncserver=localhost
--v-mmailsyncserver=localhost
--mysqldbsyncserver=slave
--dnssyncserver_list=localhost,slave
The dnssyncserver_list is a coma separated list of slave-ids.
thanks.
| Quote: |
> 2. The command to move a client between servers.
|
I will let you know this one soon.
|
|
|
|
| Re: Specifying servers when adding a client [message #51006 is a reply to message #51005] |
Sun, 21 December 2008 03:12   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
Yes, you are right. All properties other than class and name and sent as --v . The command line parser, just sends every v variable directly to the framework.
thanks.
On Sun, Dec 21, 2008 at 07:57:28AM -0000, Dragomir Denev wrote:
>
>
> Lxhelp wrote on Mon, 01 September 2008 01:58
> > You can provide it as
> >
> > --v-websyncserver=localhost
> > --v-mmailsyncserver=localhost
> > --mysqldbsyncserver=slave
> > --dnssyncserver_list=localhost,slave
> >
> > The dnssyncserver_list is a coma separated list of slave-ids.
>
|
|
|
|