An error has occurred after IP address change in LDD
- Database server (Firebird)
- Load balancer
- LDD application server
Try one or more of the following:
Make sure that the database server is configured correctly
-
From your computer, navigate to the C:\ProgramFiles\Lexmark\Solutions\InstallHelper folder.
-
Run Update-addr.bat, and then enter
update-addr.bat –ip <DB_IPaddress>, where<DB_IPaddress>is the new database server IP address. -
From the Framework DB section, make sure that the LOADBALANCER and SERVER tables are blank.
-
From your computer, navigate to the C:\ProgramFiles\Lexmark\Solutions\InstallHelper folder.
-
Run lpm-update-address.bat, and then enter
lpm‑update-addr.bat –ip <LB_IPaddress>, where<LB_IPaddress>is the new load balancer server IP address. -
Stop all LDD services and Apache 3.
-
From the registry, do either of the following:
-
For Firebird, update
HKLM\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\ApacheAgent\Parameters\StartwithParams [REG_MULTI_SZ] = "start <DB_IPaddress> <LB_IPaddress> 9705 C:\Program Files\Lexmark\Solutions FIREBIRD" -
For Microsoft SQL Server, update
HKLM\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\ApacheAgent\Parameters\StartwithParams [REG_MULTI_SZ] = "start <DB_IPaddress> <LB_IPaddress> 9705 C:\Program Files\Lexmark\Solutions MSSQL"
Where:
-
<DB_IPaddress>is the new database server IP address. -
<LB_IPaddress>is the new load balancer server IP address.
-
-
Navigate to the C:\ProgramFiles\Lexmark\Solutions\Apache2\conf folder, and then configure the following files:
For httpd.conf
-
Listen <LB_IPaddress>:9780 -
ServerAdmin admin@<LB_IPaddress> -
ServerName <LB_IPaddress>:9780 -
<VirtualHost <LB_IPaddress>:9780
For httpd-lpm-airprint-config-extension.conf
-
Listen <LB_IPaddress>:631 -
<VirtualHost <LB_IPaddress>:631
For httpd-lpm-redirect.conf
-
RedirectMatch "^/printrelease/(.*)" https://<LB_IPaddress>/printrelease/$1 -
RedirectMatch "^/lpm/(.*)" https://<LB_IPaddress>/lpm/$1 -
RedirectMatch "^/idm/(.*)" https://<LB_IPaddress>/idm/$1 -
RedirectMatch "^/mfpauth/(.*)" https://<LB_IPaddress>/mfpauth/$1 -
RedirectMatch "^/email/(.*)" https://<LB_IPaddress>/email/$1 -
RedirectMatch "^/mobile/(.*)" https://<LB_IPaddress>/mobile/$1
For openssl_ldd.conf
update commonName_default = <LB_Server>Where:
-
<LB_IPaddress>is the new load balancer server IP address. -
<LB_Server>is the new load balancer server.
-
-
From your computer, navigate to the C:\ProgramFiles\Lexmark\Solutions\InstallHelper folder.
-
Run lpm-update-address.bat, and then enter
lpm‑update-addr.bat –ip <LB_IPaddress>, where<LB_IPaddress>is the new load balancer server IP address. -
Navigate to the C:/Program Files/Lexmark/Solutions/apps/wf-ldss/WEB-INF/classes/adaptor.properties file, and then update the following:
-
adaptor.canonicalhostname=<LB_IPaddress> -
adaptor.address=<LB_IPaddress> -
centralwebdav.canonicalhostname=<LB_IPaddress>
Where
<LB_IPaddress>is the new load balancer server IP address. -
-
Navigate to the C:/Program Files/Lexmark/Solutions/apps/wf-ldss/WEB-INF/classes/dbProduct.properties file, and then update the following:
database.hostname=<DB_IPaddress>Where
<DB_IPaddress>is the new database server IP address. -
Navigate to the C:/Program Files/Lexmark/Solutions/apps/wf-ldss/lmc.url file, and then update the following:
URL=http://<LB_IPaddress>:9780/lmcWhere
<LB_IPaddress>is the new load balancer server IP address. -
Navigate to the C:/Program Files/Lexmark/Solutions/apps/printrelease/ folder, and then configure the following files:
database.properties
-
database.FRAMEWORK.connect=jdbc:firebirdsql:<DB_IPaddress>/3050:FRAMEWORK -
database.WEBAPP.connect=jdbc:firebirdsql:<DB_IPaddress>/3050:SOLUTIONINFO -
database.PRINTRELEASE.connect=jdbc:firebirdsql:<DB_IPaddress>/3050:SOLUTIONINFO -
database.PRINTRELEASE.driverUrl=jdbc:firebirdsql:<DB_IPaddress>/3050: -
database.PRINTTRACK.connect=jdbc:firebirdsql:<DB_IPaddress>/3050:SOLUTIONINFO -
database.PRINTTRACK.driverUrl=jdbc:firebirdsql:<DB_IPaddress>/3050: -
database.BADGE.connect=jdbc:firebirdsql:<DB_IPaddress>/3050:SOLUTIONINFO -
database.BADGE.driverUrl=jdbc:firebirdsql:<DB_IPaddress>/3050: -
database.PIN.connect=jdbc:firebirdsql:<DB_IPaddress>/3050:SOLUTIONINFO -
database.PIN.driverUrl=jdbc:firebirdsql:<DB_IPaddress>/3050: -
database.STATS.connect=jdbc:firebirdsql:<DB_IPaddress>/3050:SOLUTIONINFO -
database.STATS.driverUrl=jdbc:firebirdsql:<DB_IPaddress>/3050:update loadbalancer=http://<LB_IPaddress>:9780
ldss.properties
loadbalancer=http://<LB_IPaddress>:9780Where:
-
<DB_IPaddress>is the new database server IP address. -
<LB_IPaddress>is the new load balancer server IP address.
-
-
Navigate to the C:/Program Files/Lexmark/Solutions/apps/printrelease/idm folder, and then configure the following files:
idm-production-config,properties
idm.lddLoadBalancer=<LB_IPaddress>database-production-config.properties
-
dataSource.url=<DB_IPaddress> -
dataSource_webapp.url=<DB_IPaddress>
Where:
-
<DB_IPaddress>is the new database server IP address. -
<LB_IPaddress>is the new load balancer server IP address.
-
-
Navigate to the C:/Program Files/Lexmark/Solutions/apps/printrelease/lpm folder, and then configure the following files:
app-production-config.properties
-
lddMobile.lddLoadBalancer=<LB_IPaddress> -
jms.broker.url=<LB_IPaddress>
database-production-config.properties
-
dataSource.url=<DB_IPaddress> -
dataSource_secondary.url=<DB_IPaddress>
webdav-production-config.properties
webdav.baseUri=<LB_IPaddress>Where:
-
<DB_IPaddress>is the new database server IP address. -
<LB_IPaddress>is the new load balancer server IP address.
-
-
Navigate to the C:/Program Files/Lexmark/Solutions/apps/printrelease/mfpauth file, and then update the following:
jdbc.url=<DB_IPaddress>Where
<DB_IPaddress>is the new database server IP address. -
Stop all LDD and LPM services.