Automated PaperCut Server Deployment

KB Home   |   Automated PaperCut Server Deployment

Main.AutomatedApplicationDeployment History

Hide minor edits - Show changes to output

February 26, 2019, at 05:03 PM by Jack Lawless - Title change
Changed line 1 from:
(:title Automated Application Server Deployment :)
to:
(:title Automated PaperCut Server Deployment :)
February 26, 2019, at 05:01 PM by Jack Lawless - Make KB NG/MF neutral, added Tasks section, generally tidied up the grammar and format.
Changed lines 3-6 from:
This article discusses automating the deployment and installation of the PaperCut application server on multiple servers.  It is intended to be read by administrators will be installed automatically on multiple independent servers (e.g. administrators of state or district-wide networks).  This article is not applicable to most installations where PaperCut installed once on an organization's network.

For information about automating the client deployment using methods such as ''zero-install'', please consult the [[https://www.papercut.com/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[https://www.papercut.com/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]]. To automate or upgrade Site Servers, check out the steps in the FAQ [[https://www.papercut.com/kb/Main/CommonSiteServerQuestions | here]]. 
to:
This article discusses automating the deployment and installation of the PaperCut Application Server on multiple servers.  It is intended to be read by IT System Administrators that will be installing PaperCut NG or MG automatically on multiple independent Servers.  This article is not applicable to most installations where PaperCut is installed once on an organisation's network.

For information about automating the PaperCut Client deployment using methods such as ''zero-install'', please consult the [[https://www.papercut.com/products/ng/manual/ch-user-client.html | manual]].  There is also a section about [[https://www.papercut.com/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a Secondary Print Server installation]]. To automate or upgrade Site Servers, check out the steps in the FAQ [[https://www.papercut.com/kb/Main/CommonSiteServerQuestions | here]]. 
Added lines 28-41:
There are different types of installaions from the main executable used to install PaperCut.  One of the following 4 must be selected. ''(Please note that multiple installation types can't be specified within one installation.)'':

->'''/TYPE=full '''
-> Install the default option of a [[https://www.papercut.com/support/resources/manuals/ng-mf/common/topics/install.html | PaperCut Application Server]].

->'''/TYPE=secondary_print '''
-> Installs a [[https://www.papercut.com/support/resources/manuals/ng-mf/common/topics/secondary.html | PaperCut Secondary Server]].

->'''/TYPE=secondary_web_print '''
-> Installs a [[https://www.papercut.com/support/resources/manuals/ng-mf/applicationserver/topics/mobile-print-setting-up-sandbox-mode.html | PaperCut Sandbox Server]].

->'''/TYPE=site_server '''
-> Installs a [[https://www.papercut.com/support/resources/manuals/ng-mf/common/topics/site-server.html | PaperCut Site Server]].

Changed lines 45-46 from:
->When a setup is very silent this installation progress window is not displayed (runs 100% in the background).  Use this instead of /SILENT.
to:
->When a setup is set to very silent the installation progress window is not displayed (this runs entirely in the background).  Use this instead of /SILENT.
Changed lines 48-49 from:
->Prevents the user from canceling during the installation process, by disabling the Cancel button and ignoring clicks on the close button.
to:
->Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button.
Changed lines 51-52 from:
->Define the default install location.  Leave this off to install into the system's default ''Program Files'' folder.
to:
->Defines the default install location.  Leave this off to install into the system's default, i.e. the ''Program Files'' folder for Windows.
Changed lines 54-56 from:
->Don't install the desktop icon.

to:
->Stops a Shortcut from being added to Desktop during the installation.

Changed lines 58-59 from:
If the supplied digitally signed license file is renamed to [@application.license@] and placed in the same directory as the [@pcng-setup.exe@] installer program, the file will be detected and automatically installed.  This is useful as it avoids the need to manually install the license after the initial configuration.  If a license is not supplied, the software will be installed in 40-day trial mode and can be licensed later.
to:
If the supplied digitally signed license file is renamed to [@application.license@] and placed in the same directory as the [@pcng-setup.exe@] or [@pcmf-setup.exe@] installer, the file will be detected and automatically installed.  This is useful as it avoids the need to manually install the license after the initial configuration.  If a license is not supplied, the software will be installed in 40-day trial mode and can be licensed later.
Changed lines 61-62 from:
After PaperCut NG is installed for the first time (this does not apply to upgrades) and the browser is opened for the first time on port 9191, the system will enter the initial configuration wizard.  The configuration wizard can be pre-populated avoiding the need to complete the full wizard and/or help guide the user in selecting the correct options that match your given SOE.
to:
After PaperCut NG/MF is installed for the first time and a web browser is openned, the system will enter the initial configuration wizard (this does not apply to upgrades).  The configuration wizard can be pre-populated avoiding the need to complete the full wizard and/or help guide the user in selecting the correct options that match your given SOE.
Changed lines 65-70 from:
On Windows:

Place the  [@setup-defaults.properties@] file in in the same directory as the [@pcng-setup.exe@] installer program.

On
Linux:
to:
'''Windows''':

Place the  [@setup-defaults.properties@] file in in the same directory as the [@pcng-setup.exe@] or [@pcmf-setup.exe@] installer.

'''
Linux''':
Changed line 196 from:
Please feel free to contact our development team if you have any questions, comments or require further configuration options.
to:
Please feel free to contact our Support Team if you have any questions, comments or require further configuration options [[https://www.papercut.com/contact/ | here]].
January 24, 2019, at 08:06 PM by 207.173.252.92 -
Changed lines 1-2 from:
(:title Automated Application Deployment :)
to:
(:title Automated Application Server Deployment :)
Changed lines 5-6 from:
For information about automating the client deployment using methods such as ''zero-install'', please consult the [[https://www.papercut.com/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[https://www.papercut.com/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]]. To automate or upgrade Site Servers, check out the the steps in the FAQ [[https://www.papercut.com/kb/Main/CommonSiteServerQuestions | here]]. 
to:
For information about automating the client deployment using methods such as ''zero-install'', please consult the [[https://www.papercut.com/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[https://www.papercut.com/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]]. To automate or upgrade Site Servers, check out the steps in the FAQ [[https://www.papercut.com/kb/Main/CommonSiteServerQuestions | here]]. 
Changed lines 28-29 from:
Some other commandline switches include:
to:
Some other command line switches include:
Changed lines 34-35 from:
->Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button.
to:
->Prevents the user from canceling during the installation process, by disabling the Cancel button and ignoring clicks on the close button.
Changed lines 44-45 from:
If the supplied digitally signed license file is renamed to [@application.license@] and placed in the same directory as the [@pcng-setup.exe@] installer program, the file will be detected and automatically installed.  This is useful as it avoids the need to manually install the license after initial configuration.  If a license is not supplied, the software will be installed in 40-day trial mode and can be licensed later.
to:
If the supplied digitally signed license file is renamed to [@application.license@] and placed in the same directory as the [@pcng-setup.exe@] installer program, the file will be detected and automatically installed.  This is useful as it avoids the need to manually install the license after the initial configuration.  If a license is not supplied, the software will be installed in 40-day trial mode and can be licensed later.
Changed line 57 from:
# Run the Linux installer as normal , but answer no to “Would you like to perform these tasks now”
to:
# Run the Linux installer as normal, but answer no to “Would you like to perform these tasks now”
Changed line 175 from:
   #    will prevent the installer from being able to changing the
to:
   #    will prevent the installer from being able to change the
December 16, 2018, at 11:35 PM by Alec - Fix format
Changed line 58 from:
# After the installer is finished copy the file  [@setup-defaults.properties@] to the application directory  [@[app dir]/server/data/conf/@]
to:
# After the installer is finished copy the file  [@setup-defaults.properties@] to the application directory  [@[app dir]/server/data/conf/setup-defaults.properties@]
Changed lines 61-62 from:

 
Use the following file format to define the defaults:
to:
Use the following file format to define the defaults:
December 14, 2018, at 11:51 PM by Alec - Add a note making setup-defaults.properties work on Linux
Changed lines 49-62 from:
To pre-populate the setup wizard, create a plain text file called [@setup-defaults.properties@] in the same directory as the [@pcng-setup.exe@] installer program.  Use the following file format to define the defaults:
to:
To pre-populate the setup wizard, create a plain text file called [@setup-defaults.properties@]

On Windows:

Place
the  [@setup-defaults.properties@] file in in the same directory as the [@pcng-setup.exe@] installer program.

On Linux:

# Run the Linux installer as normal , but answer no to “Would you like to perform these tasks now”
# After the installer is finished copy the file  [@setup-defaults.properties@] to the application directory  [@[app dir]/server/data/conf/@]
# As the root user run the script  [@/usr/local/papercut/MUST-RUN-AS-ROOT@] to complete the installation.
 

 Use the following file format to define the defaults:
December 15, 2017, at 03:50 AM by Mel Zouzoulas - Added Site Server information
Changed line 5 from:
For information about automating the client deployment using methods such as ''zero-install'', please consult the [[https://www.papercut.com/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[https://www.papercut.com/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]]. For Site Server, check out the FAQ  please consult the [[https://www.papercut.com/kb/Main/CommonSiteServerQuestions | here]]. 
to:
For information about automating the client deployment using methods such as ''zero-install'', please consult the [[https://www.papercut.com/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[https://www.papercut.com/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]]. To automate or upgrade Site Servers, check out the the steps in the FAQ [[https://www.papercut.com/kb/Main/CommonSiteServerQuestions | here]]. 
December 15, 2017, at 03:49 AM by Mel Zouzoulas - Added Site Server information
Changed line 5 from:
For information about automating the client deployment using methods such as ''zero-install'', please consult the [[https://www.papercut.com/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[https://www.papercut.com/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]].
to:
For information about automating the client deployment using methods such as ''zero-install'', please consult the [[https://www.papercut.com/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[https://www.papercut.com/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]]. For Site Server, check out the FAQ  please consult the [[https://www.papercut.com/kb/Main/CommonSiteServerQuestions | here]]. 
June 26, 2015, at 04:56 AM by jason - Fix error about using a hashed password.
Changed lines 55-57 from:
   # The default admin password. This may also be defined using
  #
    the one-way hashed format as seen in the server.properties file in an
  #    existing install
.
to:
   # The default admin password. This password will be one-way encrypted and then stored
  # in the [app-path]\server\server.properties during the installation process.
April 29, 2014, at 10:33 PM by don - The word "to" added to: The ability automatically install the license
Changed lines 11-12 from:
* The ability automatically install the license during the install process.
to:
* The ability to automatically install the license during the install process.
Changed line 80 from:
   # The default page cost defined intially on all printers.
to:
   # The default color page cost defined initially on all printers.
Changed lines 83-84 from:
   print-default-page-cost=0.10
to:
   print-default-color-page-cost=0.10
Changed lines 86-87 from:
   # The default internet cost per Mb.
  #
    Set if the Internet control module is enabled.
to:
   # The default grayscale page cost defined initially on all printers.
  #    Set if the print control module is enabled.
Changed lines 89-90 from:
   net-default-mb-cost=
to:
   print-default-grayscale-page-cost=0.05
Changed line 92 from:
   # The default internet time cost.
to:
   # The default internet cost per Mb.
Changed lines 95-96 from:
   net-default-time-cost=
to:
   net-default-mb-cost=
Changed line 98 from:
   # The default internet time interval in seconds.
to:
   # The default internet time cost.
Changed lines 101-102 from:
   net-time-interval-seconds=
to:
   net-default-time-cost=
Changed lines 104-105 from:
   # The starting credit assigned to all users.
to:
   # The default internet time interval in seconds.
  #    Set if the Internet control module is enabled
.
Changed lines 107-108 from:
   initial-user-credit=10.00
to:
   net-time-interval-seconds=
Changed line 110 from:
   # Set to Y if all users should be initially restricted.
to:
   # The starting credit assigned to all users.
Changed lines 112-113 from:
   users-initially-restricted=Y
to:
   initial-user-credit=10.00
Added lines 115-119:
   # Set to Y if all users should be initially restricted.
  #
  users-initially-restricted=Y

  #
Changed lines 130-132 from:
   # By default, it displays all the groups in the domain. If the user source is WIN_AD,
  # this option may be used to set to only list groups from a particular
  #
organization unit.
to:
   # By default, the User/Group Sync Source displays all groups in the domain.
   # If the user source is WIN_AD, this option may be modified to only list groups
  # from a particular
organization unit.
Added line 128:
Added lines 130-137:
   # By default, it displays all the groups in the domain. If the user source is WIN_AD,
  # this option may be used to set to only list groups from a particular
  # organization unit.
  # e.g: myorganization.local/Import OU/Sub Import OU
  #
  user-sync-ad-group-ou-filter=

  #
Changed line 170 from:
[-keywords: silent install, push install, automatic -]
to:
[-keywords: silent install, push install, automatic -]
November 10, 2011, at 07:04 AM by matt - Add the "org-type" option.
Added lines 61-65:
   #
  # The type of your organization. Set to one of the following:
  #    Educational
  #    Commercial
  #    Professional
Added lines 67-69:
   org-type=Educational

  #
Changed lines 47-48 from:
After PaperCut NG is installed for the first time (this does not apply to upgrades) and the browser is opened for the first time on port 9191, the system will enter the initial configuration wizard.  The configuration wizard can be pre-populated avoiding the need to complete the full wizard.  Instead the user is taken directly to the final ''Verify'' screen.
to:
After PaperCut NG is installed for the first time (this does not apply to upgrades) and the browser is opened for the first time on port 9191, the system will enter the initial configuration wizard.  The configuration wizard can be pre-populated avoiding the need to complete the full wizard and/or help guide the user in selecting the correct options that match your given SOE.
Added line 136:
   #    Set to N if you'd like the user to review the suggestions.
Changed lines 44-45 from:
If the supplied digitally signed license file is renamed to [@application.license@] and placed in the same directory as the [@pcng-setup.exe@] installer program, the file will be detected and automatically installed.  This is useful as it avoids the need to manually install the license after initial configuration.
to:
If the supplied digitally signed license file is renamed to [@application.license@] and placed in the same directory as the [@pcng-setup.exe@] installer program, the file will be detected and automatically installed.  This is useful as it avoids the need to manually install the license after initial configuration.  If a license is not supplied, the software will be installed in 40-day trial mode and can be licensed later.
Changed lines 31-32 from:
->When a setup is very silent this installation progress window is not displayed.  Use this instead of /SILENT.
to:
->When a setup is very silent this installation progress window is not displayed (runs 100% in the background).  Use this instead of /SILENT.
Changed lines 34-35 from:
->Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. Useful along with '/SILENT' or '/VERYSILENT'.
to:
->Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button.
Changed lines 47-48 from:
After PaperCut NG is installed and the browser is opened for the first time on port 9191, the system will enter the initial configuration wizard.  The configuration wizard can be pre-populated avoiding the need to complete the full wizard.  Instead the user is taken directly to the final ''Verify'' screen.
to:
After PaperCut NG is installed for the first time (this does not apply to upgrades) and the browser is opened for the first time on port 9191, the system will enter the initial configuration wizard.  The configuration wizard can be pre-populated avoiding the need to complete the full wizard.  Instead the user is taken directly to the final ''Verify'' screen.
Changed lines 3-6 from:
This article discusses automating the application server installation.  For information about automating the client deployment using methods such as ''zero-install'', please consult the [[http://papercut.biz/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[http://papercut.biz/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]].

PaperCut has been deployed on a state-wide and district-wide basis in a number of regions.  Some of these deployments have involved a progressive or simultaneous rollout
across thousands of sites and networks.  PaperCut provides a number of automated and pre-configured install mechanisms to help maintain a common and consistent server environment.  This includes:
to:
This article discusses automating the deployment and installation of the PaperCut application server on multiple servers.  It is intended to be read by administrators will be installed automatically on multiple independent servers (e.g. administrators of state or district-wide networks).  This article is not applicable to most installations where PaperCut installed once on an organization's network.

For information about automating the client deployment using methods such as ''zero-install'', please consult the [[http://papercut.biz/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[http://papercut.biz/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]].

PaperCut has been deployed on a state-wide and district-wide basis in a number of regions.  Some of these deployments have involved a progressive or simultaneous roll-out
across thousands of sites and networks.  PaperCut provides a number of automated and pre-configured install mechanisms to help maintain a common and consistent server environment.  This includes:
Changed lines 47-48 from:
After PaperCut NG is installed and the browser is opened for the first time on port 9191, the system will enter the intial configuration wizard.  The configuration wizard can be pre-populated avoiding the need to complete the full wizard.  Instead the user is taken directly to the final ''Verify'' screen.
to:
After PaperCut NG is installed and the browser is opened for the first time on port 9191, the system will enter the initial configuration wizard.  The configuration wizard can be pre-populated avoiding the need to complete the full wizard.  Instead the user is taken directly to the final ''Verify'' screen.
April 18, 2007, at 11:26 PM by 218.214.136.161 -
Changed lines 3-4 from:
This article discusses automating the application server installation.  For information about automating the client deployment using methods such as ''zero-install'', please consult the [[http://www.papercut.biz/products/ng/manual/ch-user-client.html | application manual]].
to:
This article discusses automating the application server installation.  For information about automating the client deployment using methods such as ''zero-install'', please consult the [[http://papercut.biz/products/ng/manual/ch-user-client.html | application manual]].  There is also a section about [[http://papercut.biz/products/ng/manual/ch-secondary-print-windows-silent-install.html | automating a secondary print server installation]].
Deleted lines 146-147:
[-keywords: silent install, push install -]
Changed lines 149-150 from:
----
to:
----
[-keywords: silent install, push install, automatic -]
Added line 23:
   pause
Added lines 123-135:
   # If the user source type is WIN_AD, this option may be used to
  #    define multiple domains as user sources.  This value should be
  #    a semicolon (;) separated list of domains.  e.g.
  #        mydomain1.com;mydomain2.com
  #
  user-sync-ad-multiple-domains=

  #
  # Set to Y if the configuration wizard will be displayed at the last screen
  #    ready for the user/admin to press the Finish button.
  jump-to-verify-page=Y

  #
Changed lines 138-139 from:
   #    defaults in the configuration wizard.
to:
   #    defaults in the configuration wizard.  This should be used in
  #    conjunction with the jump-to-verify-page option
.

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on February 26, 2019, at 05:03 PM
Printable View   |   Article History   |   Edit Article