#Performing task "Add Remote Printer": Adding "remoteprinter"

/usr/sbin/lpadmin -premoteprinter -ormserver.com -orptsslj \ -mrmodel -v/dev/null -orc -ocmrcmodel -osmrsmodel /usr/sbin/lpadmin -dremoteprinter

/usr/sbin/accept remoteprinter /usr/bin/enable remoteprinter

NOTE: Make sure that the directory the post-installation script resides in is available to tftp by examining and changing the /etc/inetd.conf file.

1.Create a script to set up access to a default network printer.

2.Ignite-UX post-installation scripts are defined using the post_config_script variable. To add the script you created in the previous step, edit your core_cfg configuration file and add the following line:

post_config_script += \ "/var/opt/ignite/scripts/install_default_printer"

IMPORTANT: You must ensure that the variable _hp_cfg_detail_level value includes t when a post_config_script is added in the Per-Clientconfiguration file. For more information, see the instl_adm(4).

For example, the variable _hp_cfg_detail_level value in the Per-Clientconfiguration file can be set as follows:

_hp_cfg_detail_level="ivst"

where t is for post_config_script selection settings.

This sets the install_default_printer script to be run as a post-installation process on the client. This line must stand alone, and be placed outside of any clauses in the file (such as a sw_sel clause). The script set to execute with the post_config_script variable executes after all software has been installed and the system has been booted with its final kernel, but before any of the normal /etc/rc startup scripts have been run.

You can change the default installation script behavior from the Actions menu, by choosing Install Client, and then choosing New install. Then click on the Advanced tab and select the post-installation scripts that you want to be executed.

TIP: If you want to make a script available under all configurations, add it to the /var/opt/ ignite/data/INDEX file. For example, to execute the install_default_printer script following every client installation, add the following line to the end of this file:

scripts {"/var/opt/ignite/scripts/install_default_printer"}

This script is made available for selection on the Advanced tab for all configurations. For more information, see “Advanced tab” (page 144).

Using post-installation scripts 173

Page 173
Image 173
HP UX System Management Software manual Where t is for postconfigscript selection settings

UX System Management Software specifications

HP-UX System Management Software is a robust suite of tools designed to facilitate the administration and management of HP's Unix-based operating system, HP-UX. As organizations increasingly rely on mission-critical applications, the need for a reliable and efficient management solution becomes paramount. HP-UX provides a comprehensive understanding of system performance, resource utilization, and enterprise-wide configuration, all while maintaining high availability and security.

One of the key features of HP-UX System Management Software is its Advanced System Administrator Toolkit. This toolkit includes a wide array of utilities that streamline daily administrative tasks such as monitoring system performance, managing user accounts, and configuring system settings. Tools such as Glance provide real-time monitoring of system resources, enabling administrators to identify bottlenecks and optimize performance.

The software also boasts an advanced security framework, including features such as Role-Based Access Control (RBAC) and Secure Shell (SSH) for secure data transmission. Security patches and updates can be managed through HP’s Service Pack for HP-UX, which provides a streamlined method for maintaining system integrity and compliance with various regulatory standards.

Another notable aspect is the extensive support for virtualization technologies. HP-UX supports HP’s Integrity Virtual Machines (IVMs) and vPars, allowing administrators to create multiple isolated environments on a single physical server. This not only enhances resource utilization but also improves disaster recovery planning by enabling easier backup and restore processes.

For storage management, HP-UX offers tools that enable easy setup and management of Logical Volume Managers (LVM). This allows simplified disk space allocation and management, ensuring that critical applications have the necessary resources without manual intervention.

Furthermore, HP-UX is designed with compatibility in mind, supporting a wide range of third-party applications and frameworks. Integration with management platforms like HP System Insight Manager enhances the ability to monitor and manage systems from a centralized perspective, providing alerts and reports that help in proactive decision-making.

In summary, HP-UX System Management Software delivers a streamlined approach to system administration, focusing on performance, security, and ease of management. Its advanced features, combined with an emphasis on virtualization and storage management, make it a powerful tool for organizations seeking reliability and efficiency in their Unix-based environments. As businesses continue to evolve, tools like HP-UX will remain crucial for ensuring consistent performance and operational excellence.