LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » Command-line Management » Specifying servers when adding a client
Specifying servers when adding a client [message #33016] Fri, 11 July 2008 16:23 Go to next message
pace is currently offline pace  United States
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 #33021 is a reply to message #33016] Fri, 11 July 2008 16:42 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
That feature is not yet available via commandline. We will release it very soon.

thanks.


On Fri, Jul 11, 2008 at 08:23:55PM -0000, Mark Pace wrote:
>
>
> Hey there. I'm using the following command to create a client:
>
Re: [commandline] Re: Specifying servers when adding a client [message #33022 is a reply to message #33021] Fri, 11 July 2008 16:43 Go to previous messageGo to next message
pace is currently offline pace  United States
Messages: 248
Registered: May 2008
Senior Member
Okay. Is there something I can run after the add to move them to the correct server?


pace
[commandline] Re: Specifying servers when adding a client [message #33023 is a reply to message #33022] Fri, 11 July 2008 16:52 Go to previous messageGo to next message
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?
Re: Specifying servers when adding a client [message #35782 is a reply to message #33016] Sat, 23 August 2008 23:43 Go to previous messageGo to next message
pace is currently offline pace  United States
Messages: 248
Registered: May 2008
Senior Member
Any news on this? Its keeping me from being able to provision clients automatically...


pace
[commandline] Re: Specifying servers when adding a client [message #36255 is a reply to message #35782] Sun, 31 August 2008 16:29 Go to previous messageGo to next message
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
Re: Specifying servers when adding a client [message #36271 is a reply to message #33016] Sun, 31 August 2008 18:13 Go to previous messageGo to next message
pace is currently offline pace  United States
Messages: 248
Registered: May 2008
Senior Member
I'm looking to do two things from the commandline:

1. How to specify the servers (web, database, mail) while I'm creating a client?

2. The command to move a client between servers.


pace
[commandline] Re: Specifying servers when adding a client [message #36274 is a reply to message #36271] Sun, 31 August 2008 18:58 Go to previous messageGo to next message
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: [commandline] Re: Specifying servers when adding a client [message #51005 is a reply to message #36274] Sun, 21 December 2008 02:57 Go to previous messageGo to next message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
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.



Isn't it:
--v-websyncserver=localhost
--v-mmailsyncserver=localhost
--v-mysqldbsyncserver=slave
--v-dnssyncserver_list=localhost,slave

with the --v in fron of mysql and dns server parameters?


Dragomir Denev
DGM
www.dgm.bg
Re: Specifying servers when adding a client [message #51006 is a reply to message #51005] Sun, 21 December 2008 03:12 Go to previous messageGo to next message
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.
>


Re: Specifying servers when adding a client [message #51008 is a reply to message #51006] Sun, 21 December 2008 03:15 Go to previous message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
OK, thanks, just wanted to make sure I'm not doing it wrong

Dragomir Denev
DGM
www.dgm.bg
Previous Topic:Showing functions/features?
Next Topic:How to get the internal name of a resource plan via its name?
Goto Forum:
  


Current Time: Tue Jun 18 03:05:13 EDT 2013

Total time taken to generate the page: 0.01190 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software