Agile Process : Administering My webMethods Server : Using the Command Line to Manage My webMethods Server : My webMethods Server Instance Management : Creating a My webMethods Server Instance
Creating a My webMethods Server Instance
The following table lists the parameters to include when creating a My webMethods Server instance using the Command Central instance management commands.
Command
Parameter
Description
sagcc create instances
MwsProgramFiles
Required. The product ID of the installed My webMethods Server.
instance.name=name
Required. The name of the new My webMethods Server instance. The default name is default.
fixRepository=repoID
Optional, but recommended. Specifies the ID of the fix repository, registered in Command Central, which you used to install fixes during the initial product installation. If you use this parameter, Command Central re-installs the fixes from this repository required for the new product instance you are creating.
Note that if you do not include this parameter, Command Central does not apply fixes on the new product instance.
db.type={sqlserver|ms|oracle|db2}
Required. The type of database used by the new server instance. Specify one of the following databases:
*sqlserver or ms - Microsoft SQL Server
*oracle - Oracle
*db2 - DB2
db.url="url"
Required. The connection URL for the database. Enclose the url value in double quotes.
db.username=name
Required. The user name assigned to the My webMethods Server database.
db.password=password
Required. The password of the My webMethods Server database user.
[install.service={true|false}]
Optional. Specifies whether to install a new My webMethods Server instance as an application or a service. Valid values are:
*true - install as a service.
*false - install as an application (default).
db.driver=name
Optional. The class name of the JDBC driver used to connect to the My webMethods Server database.
node.name=name
Optional. The name of the cluster node that will host the new server instance. The default name is master.
http.port=port
Optional. The port number on which the new server instance listens. The default port number is 8585.
https.port=port
Optional. The https port on which the new server instance listens. A value of 0 disables the listener.
debug.port=port
Optional. The Java debug port for the new server instance. The default port number is 10033.
jmx.port=port
Optional. The JMX port for the new server instance. The default port number is 5002.
server.features={core|default|fabric|all}
Optional. The set of component features configured with the new server instance. Specify one of the following values:
*core - The minimum set of features needed to support development of JSR 168 portlets using Software AG Designer. This value indicates a pure runtime, with a single skin and shell, and no administration or configuration features.
*default - The standard set of My webMethods Server features, but without the additional features or development tools found in the Software AG_directory \MWS\ components directory. This is the default value.
*fabric - The default My webMethods Server taxonomy with all installed My webMethods Server user interfaces.
*all - The standard set of features plus all components found in the Software AG_directory \MWS\components directory.
components.include=name
Optional. Components in the Software AG_directory \MWS\components directory to include in the new server instance.
components.exclude=name
Optional. Components in the Software AG_directory \MWS\components directory to exclude from the new server instance.
components.overwrite=
{true|false}
Optional. Specifies whether to overwrite the component files in the Software AG_directory \MWS\server\serverName\deploy directory that are older than the component files in the Software AG_directory \MWS\components directory. Valid values are:
*true - overwrite component files in the \deploy directory.
*false - do not overwrite component files in the \deploy directory. This is the default value.
Examples When Executing on Command Central
*To create a new instance for an installed My webMethods Server with instance name “test1”, database type “sqlserver”, database user name “mws”, database password “mws”, and database URL “jdbc:wm:sqlserver://localhost:1433;databaseName=testDB” in the installation with alias name “local”:
sagcc create instances local MwsProgramFiles  instance.name=test1
db.type=sqlserver db.username=mws db.password=mws
db.url="jdbc:wm:sqlserver://localhost:1433;databaseName=testDB"
*To create a new instance for an installed My webMethods Server with instance name “test1”, database type “sqlserver”, database user name “mws”, database password “mws”, database URL “jdbc:wm:sqlserver://localhost:1433;databaseName=testDB”, database driver “com.wm.dd.jdbc.sqlserver.SQLServerDriver”, http port “9595”, and JMX port “7000” in the installation with alias name “local”:
sagcc create instances local MwsProgramFiles  instance.name=test1
db.type=sqlserver db.username=mws db.password=mws
db.url="jdbc:wm:sqlserver://localhost:1433;databaseName=testDB"
db.driver=com.wm.dd.jdbc.sqlserver.SQLServerDriver http.port=9595
jmx.port=7000
*To create a new instance for an installed My webMethods Server with instance name “test1”, http port “9595”, and JMX port “7000” in the local installation and register the instance as a service. The new My webMethods Server instance uses an external database with database type “sqlserver”, database user name “mws”, database password “mws”, database URL “jdbc:wm:sqlserver://localhost:1433;databaseName=testDB” and database driver “com.wm.dd.jdbc.sqlserver.SQLServerDriver”:
sagcc create instances local MwsProgramFiles instance.name=test1
db.type=sqlserver db.username=mws db.password=mws
db.url="jdbc:wm:sqlserver://localhost:1433;databaseName=testDB"
db.driver=com.wm.dd.jdbc.sqlserver.SQLServerDriver http.port=9595
jmx.port=7000 install.service=true
Examples When Executing on Platform Manager
*To create a new instance for an installed My webMethods Server with instance name “test1”, database type “sqlserver”, database user name “mws”, database password “mws”, and database URL “jdbc:wm:sqlserver://localhost:1433;databaseName=testDB”:
sagcc create instances MwsProgramFiles  instance.name=test1
db.type=sqlserver db.username=mws db.password=mws
db.url="jdbc:wm:sqlserver://localhost:1433;databaseName=testDB"
*To create a new instance for an installed My webMethods Server with instance name “test1”, database type “sqlserver”, database user name “mws”, database password “mws”, database URL “jdbc:wm:sqlserver://localhost:1433;databaseName=testDB”, database driver “com.wm.dd.jdbc.sqlserver.SQLServerDriver”, http port “9595”, and JMX port “7000”:
sagcc create instances MwsProgramFiles  instance.name=test1
db.type=sqlserver db.username=mws db.password=mws
db.url="jdbc:wm:sqlserver://localhost:1433;databaseName=testDB"
db.driver=com.wm.dd.jdbc.sqlserver.SQLServerDriver http.port=9595
jmx.port=7000
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback