iPrint 4.0 Troubleshooting
Logs:
PSM log: /var/opt/novell/log/iprint/ipsmd.log
Print Manager Log: /var/opt/novell/log/iprint/idsd.log
Mobile Server log: /var/opt/novell/log/iprintmobile/iprintmobile0.log
Orientdb log: /usr/share/orientdb/log/orient-server.log.0
Auth service log: /var/opt/novell/log/iprintauth/iprintauth.log
Datamodel log: /var/opt/novell/datamodel-service/logs/datamodel.stderrout.out
Jetty log: /var/opt/novell/jetty/logs/jetty.stderrout.out

OrientDb Troubleshooting (Confidential)
Service: systemctl [status/start/stop/restart] orientdb
Log file: /usr/share/orientdb/log/orient-server.log.0
Log level configuration: /usr/share/orientdb/config/orientdb-server-log.properties

Database connection steps:
Run command: orientdb-console
orientdb terminal command: connect remote:localhost root
Do not enter password in the above command while in remote session
Only
at the command prompt enter "root" (confidential)

Orientdb operation command:

List database: list databases
Connect database: connect remote.localhost/<database_name> root
Use table: list classes
Use SQL commands for fetching table details

eg:
iprintauth root (root)
list case
list classes
Note DirectoryServer table
exit

LDAP Import
Logs:
Auth service log: /var/opt/novell/log/ iprintauth/iprintauth.log
Log configuration: /etc/opt/novell/iprintauth/conf/log4j.properties
Sync summary snippet:

<date> INFO LdapSyncResults 283 - ==========LDAP SYNC SUMMARY==============
<date> INFO LdapSyncResults 286 - Sync status: SUCCESS
<date> INFO LdapSyncResults 291 - Ldap Sync Start time: <time>
<date> INFO LdapSyncResults 291 - Ldap Sync End time: <time>
<date> INFO LdapSyncResults 302 - Total sync duration: <time>
<date> INFO LdapSyncResults 304 - Number of users added: <number>
<date> INFO LdapSyncResults 305 - Number of users modified: <number>
<date> INFO LdapSyncResults 306 - Number of users deleted: <number>
<date> INFO LdapSyncResults 309 - Number of groups added: <number>
<date> INFO LdapSyncResults 310 - Number of groups modified: <number>
<date> INFO LdapSyncResults 311 - Number of groups deleted: <number>

demo:
login
Directory Servers (add directory server)
Specify directory type
Users/Groups tab:
Add search context, Specify Base DN

Local Renderer (KeyView Integration):
Till Appliance 3.2, Stellent libraries are used to convert documents into PDF for mobile jobs
Stellent technology also poses challenges in terms of stability, performacne and support
Keyview is installed as part of "microfocus-iprint-keyview" rpm
KeyView child process (exec:cnv2pdf) launched per job by mobile-server internally for local rendering


path: /opt/MicroFocus/keyview-converter/linux/x86-64/cnv2pdf
Usage: cnv2pdf <inputfile> outputfile>

cnv2pdf allws for manual verification KeyView output

Dual License Support:
|
Added support for uploading 2nd license
License management functions
UI revamp to display relevant details for dual licenses

License service: novell-iprint-license
Log file: /var/opt/novell/log/iprintlicense/license0.log
Mobile server not coming up after restart:
→ Check license service status
Check entitled features:
→ https://<server>/iprint/license

ACL based printer list visibility for Mobile App
What? Access control for printer list with users are created to limited the visibility and access to specific set of secure printers.
Why? This capability was available and realized through Print portal and is now available on Mobile App.

Auto deletion of print jobs with printer error
Delete spooled print jobs after "X" minutes
Why? When the printer is in error stat, jobs are queued until the printer recovers, which usually takes time. More often tan not, these jobs are redundant and result in wastage.
What? Administrator can configure an expiry time for the jobs on-hold specifically for printer error. The jobs would be purged automatically after expiry.

Admin can configure expiry time for print job in /etc/opt/novell/iprint/conf/iprintconf.properties
→ Syntax: job_expiry_timeout=x in minutes e.g. job_expiry_timeout=30 (30 min. timeout)
→ job_expiry_timeout=0 (default): feature deactivated
→ Restart psm and mobile server after configuration
This setting is effective only when the printer is in an error state i.e. "Error Printing".

Logs:
→ Enable "INFO" in /etc/opt/novell/iprint/conf/iprintconf.properties and "restart ipsmd"
→ Log file: /var/opt/novell/log/iprint/ipsmd.log
→ Log shows job_expiry_timeout configured value and job purge interval value
→ Log shows: job id and PA state and Job state of jobs deleted due to job expiry

Migration Enabler Patch for Appliance 2.1 and Appliance 3.2.1
Register to nu.novell.com from management console
Install all required patches.
Make sure "iprint3.2 Migration Enabler Patch" is installed
After applying, take the back up from the management console
Follow the documentation steps for migration/recovery of appliance from 3.2.1 to Appliance 4.0

Migration enabler patch for iPrint appliance 2.1

Update the appliance with all released patches
Download and install the enabler patch: iPrint2.1.0.Migration_Enabler.zip patch
Make sure Manage Installed Patches list has iPrint2.1.0.92.HP.zip
after applying patch, take backup from management console
Follow the documentation steps for migration/recovery of appliance from 2.1 to Appliance 4.0

Troubleshooting
Logs: /var/opt/novell/log/iprintmobile/restore.log
Make sure the enable patch is installed on the source server
New iprintconfig.zip will have .json files for DS configs
→ Path:
→ <extract_path>\tmp\iprint_Mobile_Backup\vastorage\backup\directory_server_config

If Directory Server is configured in source, must run a ladp-sync post successful migration

iPrint for OES 2018 SP1
Install patch for both "OES 2018 SP1" and "iPrint for OES 2018 SP1"
→ oes2018-sp1-2019-87 - Update 1 – iPrint
→ iprintforoes2018sp1-2019-80 - iPrint for OES 2018-SP1
Reboot the server

iPrint for OES 2018 SP1 in Cluster Environment
Ensure that every node running iPrint for OES 2018 SP1 is patched
Run below command shere pool resource is running
→ Execute /opt/nobvell/iprint/bin/iprint_nss_relocate.sh scropt.
--------> (ref: Running the iprint_nss_relocate script)
→ systemctl stop novell-iprint-tomcat.service
→ systemctl stop orintdb.service
→ systemctl stop novell-iprint-license.service
→ systemctl stop cups.service
Migrate the pool resource to the next identified node
Repeat above for all clusters

Edit unload script:

Add below statements after: ignore_error_systemctl stop novell-idsd.service
ignore_error systemctl stop novell-iprint-license.service
ignore_error systemctl stop novell-iprint-tomcat.service
ignore_error systemctl stop orientdb.service
ignore_error systemctl stop cups.service

Edit load script:

Add below statements before: "exit0"
exit_on_error systemctl start novell-iprint-license.service
exit_on_error systemctl start  orintdb.service
exit_on_error systemctl start novell-iprint-tomcat.service
exit_on_error systemctl start cups.service

Make resource offline then online for above changes to take effect