[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [stellation-res] Commands to svcadmin
|
On Wed, 2003-01-01 at 08:28, Dale Bennett wrote:
> I've finally found some time to do some work on SQLServer support and
> have made a number of mods, however I'm having a little trouble
> understanding the way svcadmin decides if a command is valid or not.
>
> when I ask svcadmin to create a database using the command
> "sqlserver:stellation <username> <password>"
> It tells me that the command is invalid; no big surprise but I can't
> seem to find where valid commands are defined! I've searched and
> debugged to no avail.
>
> I know that Selector and CommandSelector are involved and can see
> where the svc commands are defined but the svcadmin commands elude me.
>
> Maybe someone could point me in the right direction.
With the caveat that I'm no expert on the command line stuff, I'm pretty
sure that the commands provided by svcadmin are defined using a
Selector, defined in Admin.getCommandSelector. The only command
currently provided by svcadmin is "initialize". Perhaps you're omitting
the command? That is, perhaps you're doing
svcadmin sqlserver:stellation <username> <password>
instead of:
svcadmin initialize sqlserver:stellation <username> <password>.
(I know it looks a little odd that it's got all the mechanics of command
selection when there's only one command, but the intention is that
eventually the admin command will be used for invoking other
administrators operations, like backup/restore, etc. So the framework is
there for future expansion.)
-Mark
>
> Regards,
> Dale Bennett.
--
Mark Craig Chu-Carroll, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: mcc@xxxxxxxxxxxxxx ------- Personal Email: markcc@xxxxxxxxxxx