Setting up advanced hybrid storage for Windows and Ubuntu systems
Learn how to set up advanced hybrid storage for Windows and Ubuntu systems.
Supported operating systems
- Windows Server 2022 Datacenter (AMD64)
- Ubuntu 22.04 (AMD64)
- Ubuntu 24.04 (AMD64)
Installing the advanced hybrid package
Before you begin, you must enable the additional hybrid storage option from the Organizational Settings page. For more information, see Configuring organizational settings.
- Depending on your requirement, get the Windows installation package or the Ubuntu installation package.For more information on accessing the installation packages, contact your Lexmark representative.
- Unzip the installation package.
- Open the Windows PowerShell as an administrator.
- Run the installer script file with the following command line options:
- For Windows and Ubuntu operating system:$clientSecret = ConvertTo-SecureString "client_secret_value" -AsPlainText -Force$proxyPassword = ConvertTo-SecureString "proxy_password_value" -AsPlainText -Force
- For Windows operating system—install.ps1Basic installation:& .\install.ps1 -DATA_CENTER "<data-center>" -CLIENT_ID "<client-id>" -CLIENT_SECRET $clientSecretAdvanced installation:& .\install.ps1 -DATA_CENTER "<data-center>" -CLIENT_ID "<client-id>" -CLIENT_SECRET $clientSecret -JOB_PATH "<job-path>" -INSTALLATION_DIR "<install-path>" -SERVER_PORT "<server-port>" -ENABLE_HOSTNAME "<enable-hostname>" -DEVICE_NAME "<device-name>" -HTTPS_PROXY "http://<proxy_host>:<proxy_port>" -PROXY_USER "<username>" -PROXY_PASSWORD $proxyPassword -LOG_REDACT_PRIVATE_INFORMATION "<log-redact-private-information>" -LOG_IP_ADDRESSES "<log-ip-addresses>"
- For Ubuntu operating system—installer.shBasic installation:bash installer.sh DATA_CENTER=<data-center> CLIENT_ID=<client_id> CLIENT_SECRET=<client_secret>Advanced installation:bash installer.sh DATA_CENTER=<data-center> CLIENT_ID=<client_id> CLIENT_SECRET=<client_secret> JOB_PATH=</path/to/store/jobs> INSTALLATION_DIR=</path/to/installation/ directory> PROXY_USER=<proxy_username> PROXY_PASSWORD=<proxy_password> LOG_REDACT_PRIVATE_INFORMATION=<log-redact-private-information> LOG_IP_ADDRESSES=<log-ip-addresses>
- For more information on common variables, see Common variables.
- For more information on additional variables related to Windows and Ubuntu, see Additional optional variables for Windows and Ubuntu.
Uninstalling advanced hybrid storage
For Windows operating system
- Open Windows PowerShell in administrator mode.
- Navigate to installation directory.
- Make sure that theuninstall.ps1file is present in the directory.
- Execute theuninstall.ps1file.
For Ubuntu operating system
- Open terminal.
- Navigate to Installation Directory
- Make sure that theuninstaller.shfile is present in the directory.
- Execute theuninstaller.shfile with elevated access.
Upgrading advanced hybrid storage
For Windows operating system
- Download the desired package.
- Open the Windows PowerShell as an administrator.
- Execute theinstall.ps1file without any arguments.
For Ubuntu operating system
- Download the desired package.
- Open terminal.
- Execute theinstaller.shfile without any arguments.
Understanding the installation parameter information
Common variables
Name | Value | Description |
|---|---|---|
DATA_CENTER For Optra, instead of DATA_CENTER, set SPRING_PROFILES_ACTIVE. | Select one of the following that matches your data-center location:
| This variable is used by the application to connect to the data center where the Lexmark Cloud Services organization is located. |
CLIENT_ID For Optra, instead of CLIENT_ID, set EDGE_CLIENT_ID. |
| The value is used to register and authenticate with the Cloud Print Management. |
CLIENT_SECRET For Optra, instead of CLIENT_SECRET , set EDGE_CLIENT_SECRET. | Same as CLIENT_ID. | Same as CLIENT_ID. |
Optional variables
Name | Value | Description |
|---|---|---|
SERVER_PORT | Any port | The application listens on this port. The default port is 9443. |
DEVICE_ID | Custom device name of Windows or Ubuntu servers | Unique Identifier to identity a particular advanced storage device. The default value is server's hostname. |
CLEAN_UP_SCHEDULE | Cron expression | This value determines how often the application checks to determine if a job should be removed from this storage device. The default value is 30 minutes. |
ENABLE_HOSTNAME | True or False | The value determines whether the printer connects to this device using the host name or the IP address. The preferred and default value is False because due to network configurations, the host name may not be discoverable by the printer. |
STATUS_SCHEDULE | Cron expression | The value is how often the application updates its information (IP, disk space, etc.) to Cloud Print Management. The default value is one minute. |
LOG_REDACT _PRIVATE_INFORMATION | True or False | This value determines if we should remove private information from the logs. The default value is True. |
LOG_IP_ADDRESSES | True or False | The value determines whether to log the IP addresses. The default value is False. |
LOGGING_LEVEL _COM_LEXMARK | DEBUG/ INFO/ ERROR/ WARN | The default value is INFO. To change the logging level: For Windows operating system:
For Ubuntu operating system:
|
Additional optional variables for Windows and Ubuntu
Name | Value | Description |
|---|---|---|
JOB_PATH For Optra, JOB_PATH needs to be defined only if using external hard drive. For example, JOB_PATH = /media/sda1/jobs. | Fully qualified path to the directory where hybrid jobs are to be stored. | The following are the default values:
|
INSTALLATION_DIR | Fully qualified path to the wanted installation directory. | The following are the default values:
|
DEVICE_NAME | A name to uniquely identify each device where the service is running. | A unique identifier from Cloud Print Management to identity a particular device. |
HTTPS_PROXY | http:// <proxy_host>:<proxy_port> |
|
PROXY_USER | If a proxy needs authentication, then it is encrypted and stored in a local file system. | |
PROXY_PASSWORD | ||
DNS_TIMEOUT This is only required for Optra. | The default value is 3000 ms. | if you observe intermittent failure to sync jobs, then set this variable. |
Disabling storage clients
- From the Cloud Print Management portal, clickPrint Clients>Client Status.
- Click theAdvanced Hybrid Storage Clienttab.
- Select one or more devices.
- ClickDisable>Disable Storage ClientorDisable Storage Clients.
Deleting storage clients
- From the Cloud Print Management portal, clickPrint Clients>Client Status.
- Click theAdvanced Hybrid Storage Clienttab.
- Select one or more devices.
- ClickDelete>Delete Storage ClientorDelete Storage Clients.
It may take some time for the deletion to take effect.