Removing index host nodes by using a direct connection to the database
In a multinode cluster system, the index files required for search can be hosted on one or more nodes. To remove an index host node by using a direct connection to the database, complete the following steps.
-
Configure the common properties of the prpcUtils.properties
file.
Property name Value pega.jdbc.driver.jarPath to the database driver .jar file. pega.jdbc.driver.classThe database driver class. pega.database.typeDatabase vendor type. pega.jdbc.urlURL of your database. pega.jdbc.usernameDatabase user name. pega.jdbc.passwordDatabase password. rules.schema.nameIf you use a split schema, the value for the rules schema name. If you do not use a split schema, the value for the schema name. data.schema.nameIf you use a split schema, the value for the data schema name. -
Configure the index node properties of the prpcUtils.properties
file.
Property name Value removeIndexNode.nodeIdThe node ID of the index node to be removed. - Save and close the prpcUtils.properties file.
-
Run the prpcUtils.bat or prpcUtils.sh script
with the removeIndexNode option, for example:
prpcUtils.bat removeIndexNodeprpcUtils script argument Value connPropFileThe full path to the connection.properties file that includes information for multiple targets. driverClassYour JDBC driver class. For example, oracle.jdbc.OracleDriver. driverJARLocation of your JDBC .jar file. dbTypeDatabase vendor type, such as mssql, udb, oracledate, postgres, and db2zos. dbURLJDBC URL to the database. dbUserDatabase user name. dbPasswordDatabase password. archivePathFull path to the archive to be imported or exported. propFileThe full path to the properties file, to override the default prpcUtils.properties. hfixActionIf manageHotfixes is selected, sets the hotfix operation. Valid values are commit,rollback,generateDDL,install, andscan.rulesSchemaThe rules schema. dataSchemaThe data schema. noFailOnErrorSet to trueorfalse. When enabled, instances that fail to import are skipped and import continues instead of failing.UPega user name. PPega password. accessGroupAccessGroup in which the Rule-Declare-Index of the classes being exposed exists. Applicable for the expose utility if --U or --P are not provided.