对于客户端应用程序,必须在以下位置手动更改服务器主机名或 IP 地址,以指向正确的服务器:
<安装目录>/config/configuration.xml。
Sentineal 控制中心和解决方案设计器使用此信息。
<安装目录>/config/SentinelPreferences.properties 文件中提供的帮助 URL。
运行以下命令以更新 sdm.connect 文件中的主机名:
sdm -action saveConnection -server <postgresql> -host <hostIpaddress/hostName> -port <portnum> -database <databaseName/SID> [-driverProps <propertiesFile] {-user <dbUser> -password <dbPass> | -winAuth} -connectFile <filenameToSaveConnection>