Performs multiple functions, including registering or removing a participating node for a cluster, or update a specific server property.
updateprops.bat [-u username] [-p password] [-d dsn] [-f propertyFile] [-cn clusterName] [-nv "<propertyName=NewValue>"] [-r] [-v] [-x]
–nv “ml.threadcount=10#sup.admin.port=2005#sup.sync.port=2490"
updateProps.bat -nv "ml.threadcount=20"
This is only recommended for deployment editions of Unwired Platform.
updateProps.bat -nv "ml.threadcount=20"
0 [main] INFO com.sybase.djc.util.ThreadMonitor - init: minimumActiveThreads = 0 (unlimited) 3 [main] INFO com.sybase.djc.util.ThreadMonitor - init: maximumActiveThreads = 0 (unlimited) 3 [main] INFO com.sybase.djc.util.ThreadMonitor - init: initialThreadLimit = 0 (unlimited) 4 [main] INFO com.sybase.djc.util.ThreadMonitor - init: targetResponseTime = 0 (unchecked) 11 [main] INFO com.sybase.djc.sql.DataSource - dataSourceClass = class com.syba se.jdbc3.jdbc.SybDataSource 23 [main] INFO com.sybase.djc.sql.DataSource - ant.project = default-data-sourc es 24 [main] INFO com.sybase.djc.sql.DataSource - dataSourceClass = com.sybase.jdb c3.jdbc.SybDataSource 25 [main] INFO com.sybase.djc.sql.DataSource - databaseType = Sybase_ASA 25 [main] INFO com.sybase.djc.sql.DataSource - maxPoolSize = 100 26 [main] INFO com.sybase.djc.sql.DataSource - password = ****** 26 [main] INFO com.sybase.djc.sql.DataSource - portNumber = 5200 27 [main] INFO com.sybase.djc.sql.DataSource - serverName = localhost 27 [main] INFO com.sybase.djc.sql.DataSource - serviceName = clusterdb 28 [main] INFO com.sybase.djc.sql.DataSource - user = dba 28 [main] INFO com.sybase.djc.sql.DataSource - jdbc:DISABLE_UNPROCESSED_PARAM_W ARNINGS = true 29 [main] INFO com.sybase.djc.sql.DataSource - jdbc:IS_CLOSED_TEST = INTERNAL 30 [main] INFO com.sybase.djc.sql.DataSource - jdbc:SERVICENAME = clusterdb 30 [main] INFO com.sybase.djc.sql.DataSource - jdbc:networkProtocol = Tds 31 [main] INFO com.sybase.djc.sql.DataSource - jdbc:portNumber = 5200 31 [main] INFO com.sybase.djc.sql.DataSource - jdbc:serverName = localhost 1000 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.Log4jLoggerAdapter (org.mortbay.log) via org.mortbay.log.Slf4jLog 1001 [main] INFO org.mortbay.log - ClusterRegistration completed successfully.
Before running this utility, ensure that the data tier is available; otherwise platform data is not modified correctly.