HP UX System Management Software manual Customizations based on the client hardware

Page 168

Defining an Installation Depot

The next example defines a single SD depot from which software can be installed. Two different pieces of software are defined for the SD depot. Each can be selected independently for installation. The impacts lines tell Ignite-UX how much space this software requires in a given directory. This information is used to size the file systems correctly. The sw_category construct enables you to group the software so the GUI can present it in chunks that make sense to you. Because this example references an SD depot, it have been created by make_config:

sw_source "ee_apps_depot" {

description = "Electrical Engineering Application Depot" source_format = SD

source_type = "NET"

sd_server = "10.23.45.6"

sd_depot_dir = "/var/opt/ignite/depots/Rel_B.11.11/ee_apps"

}

sw_category "Applications" { description = "User Applications"

}

sw_sel "EE CAD Package" { sw_source = "ee_apps_depot" sw_category = "Applications"

sd_software_list = "EECad,r=1.2,a=HP-UX_B.11.11" impacts = "/var" 90524Kb

impacts = "/sbin" 1248Kb

}

sw_sel "EE Routing Package" { sw_source = "ee_apps_depot" sw_category = "Applications"

sd_software_list = "EERoute,r=2.4,a=HP-UX_B.11.11" impacts = "/usr" 12568Kb

impacts = "/var" 26788Kb

}

Customizations based on the client hardware

The configuration file syntax provides a large number of system attribute keywords that describe the client. Some examples are:

disk[hw_path].size

size of the disk at the specified hw_path

memory

amount of memory present on the client

hardware_model

string returned from uname -m

, lla

MAC address of the client

Using the logical expressions provided by instl_adm(4), you can use system attribute keywords to construct expressions in configuration files so that a particular clause is only included in specific client situations. The basic format of these clauses is:

(x){y}

which translates roughly to "if the expression x is true, then do y."

For example, this clause sets the size of two kernel tunable parameters if the client has more than

4096 MB of memory:

(memory > 4096MB) {

mod_kernel += "nproc (20+100*MAXUSERS)" mod_kernel += "maxuprc 1000"

}

As another example, use this if you want to run a script to do some particular graphics customizations, but you only want to do so when the client has the appropriate hardware:

(graphics[0].planes > 0) { post_config_script +=

168 Customizing your installation

Image 168
Contents Ignite-UX Administration Guide AbstractRevision History AcknowledgementsB2355-90849 HP-UX 11.00, 11i v1, 11i v1.6, 11i Contents Complex networks challenges and solutions Managing I/O for installation and recoverySimple network creating a server for anonymous clients Complex networks multi-capable serversBooting and installing HP-UX on clients using the server 110 SecurityCustomizing your installation 161 Automating installations 174Creating your own boot and installation media 180 Golden images 151Recovery 191 Support and other resources 224Documentation feedback 227 Troubleshooting 228 Configuring Dhcp services 236LIF volume contents 239 Terminal keyboard shortcuts 255HP secure development lifecycle Ignite-UX features Ignite-UX overviewOne-step installation Custom installationsAutomated installations Create custom installation mediaGetting the Ignite-UX software Ignite-UX bundles available in the Ignite-UX productIgnite-UX commands and manpages Ignite-UX command manpagesIntroduction to the Ignite-UX GUI Ignite-UX GUIFile menu View menuOptions menu Actions menuHow Ignite works Client status dialog boxIgnite-UX install environment Boot sourcesInstallation versus recovery Network booting and IP addressesPhases of operation PA-RISC SystemsItanium-Based Systems StartupPhase Ignite-UX server requirements Hardware requirementsOther considerations Supported peripherals Disks and other I/OFirmware Disk arraysMaking configuration decisions for Ignite servers Boot and install client from mediaSimple network solutions Instlboottab Alternate boot with network server installation Diagnosing network boot issues Use DVD media to boot a system for network installationComplex networks For a detailed discussion, seeInvestigate instlbootd errors in /var/adm/syslog/syslog.log Instlboots allowHP-UX diagnosing and debugging Simple network debuggingRDP diagnosing and debugging Configuring the Ignite-UX server for PA-RISC clients Simple network creating a server for registered clientsLaunch Ignite-UX IgniteLaunch the server setup wizard Ignite-UX GUI welcome dialog boxServer setup wizard Configure booting IP addresses Register the PA-RISC clients with the serverConfiguring the Ignite-UX server for Itanium-based clients Skip Dhcp setupGo to the software setup section Register the Itanium-based clients with the serverSetting up software from OE depots More server setup options Configuring server optionsIgnite-UX server configuration tabs Configuring session options Add Dhcp addresses dialog boxSession options tab Setting up additional software on the server Example Create a configuration for compiler softwareSD software Non-SD softwareSimple network creating a server for registered clients Using the server setup wizard Editing the instlboottab fileItanium-based clients use Dhcp to boot anonymously Simple network creating a server for anonymous clientsUnderstanding PXE booting of Itanium-based systems Ignite-UX server and boot helper setup for DhcpWorking with Dhcp Page Since the install kernel and install file system must be Isolating Ignite-UX from noncontrollable Dhcp serversDhcpclassid=IgniteDHCPDeviceGroup Class-id=PXEClientArch00002IgniteDHCPDeviceGroupPage Complex networks challenges and solutions How to use this chapterComplex network challenges Multiple subnets Remote systemsAvoiding complex network issues Multiple boot serversUsing virtual LANs properly for Ignite-UX An Ignite-UX server for each subnetMulti-capable server for each subnet Extend the local subnetComplex network solutions Automating HP-UX OS version selectionDirected boot Limit network boot response by network interface addressLimit network response by system class Server selectionControl network boot via response timing Install remote clients through a network routerMultiple NICs attach the Ignite server to multiple subnets Getting the client the correct networking informationHaving the client contact the correct server Ignite-UX bootp boot helper HP-UX Dhcp PXE Next server boot helper for integrity systems Configuring a Next server boot helper for Integrity systemsForwarding boot requests via bootp relay Ha=000000000000\ Hm=000000000000\ Bp=10.2.1.11 Multi-capable subnet boot server Non-HP-UX Next server boot helperNon-HP-UX bootp boot helper Configuring an RDP server for specific MAC addresses Configuring an RDP server to delay PXE responseComplex networks multi-capable servers Configuring an RDP server to initiate HP-UX installation Setting up RDP MenuOptions via Windows commandsSetting up RDP MenuOptions via interactive UI Complex networks multi-capable servers Configuring an RDP server to initiate HP-UX installation Using an RDP MenuOption for HP-UX Client MAC Addr 00 30 6E 4C AA A5Page SuSE RedHat installation from an HP-UX server FTP HttpConfiguring an HP-UX server to support Windows installation SuSE installation from an HP-UX serverThen you must specify the location of Linux install content Managing I/O for installation and recovery Introducing multipathingAgile view concepts Agile view I/O addressing logic looks like FigureAgile multiple path I/O stack addressing model System installation configuration Practical considerationsIgnite-UX client installation configuration tabs Disk Selection Root Disk Dialog Box With Physical Locations More Info dialog box Support for 2 TB boot disk Disk selection add/remove disks dialog boxImportant characteristics of the agile view Identifying devices for other tasksUNpath Per YH/W evi Recovery and the agile view Legacy DSFs and device matchingPersistent DSFs and device matching Controlling the I/O configuration process O Configuration variablesPersistent DSF-to-device matching methods by protocol Agile view questions and answers O Configuration value typesAgile view questions and answers Security Ignite-UX server portsPort usage initiate LAN boot for Itanium-based clients Winstallfs Boot SequenceKernel Port usage makenetrecovery initiated from the client Makenetrecovery Initiated from ClientPort usage makenetrecovery initiated from the server Makesysimage Initiated from ClientEnabling Ignite-UX server requirements Remove or comment-out the following lineEnabling Ignite-UX client requirements Run BastilleConfiguring Ignite to replace Tftp with NFS ProcedureOverview Ignite Product Files Moved in Version C.7.9 and LaterNow use instladm to update the install file system Set up NFS exports and check custom configuration filesUse vi to add hploadfileusenfs=true to the file Would need to be modified to beDisable Tftp on the Ignite-UX server optional Preparing the client for installation Where release is the release identifierFor 64-bit PA-RISC clients the files on the server are For Itanium-based clients the files on the server areMaking boot decisions when using the client console Boot using the networkBoot using media Using bootsys on the client console Support?Booting PA-RISC clients from the console Boot ADMINhelp bootBooting Itanium-based clients using the network Select Add a Boot Option Enter a brief description for this boot optionEnter the data type of this boot option Press Y to save the new boot optionDirect boot profiles for Itanium-based systems LAN1Dbprofile command SyntaxOptions and operands Lanboot command Lanboot select -od optionaldata -dn nameExamples Shell dbprofile orInstalling HP-UX from the client console Shell lanboot orUser interface and media options Network Configuration with no Dhcp Examples Setting 100 Full Duplex Setting Mixed interface typesAdd this configuration clause to Wviinstallfs Edit the fileBooting and installing HP-UX on clients using the server Methods of installing client systemsInstallation using bootsys Touch /.bootsysblock Installation using the Ignite-UX GUI Prepare the client for installationStarting Ignite-UX Adding clientsBooting a client Select boot releaseBoot confirmation dialog box Boot process terminal windowNew client displayed in GUI Configuring the installation New installationInitializing the installation Client installation configuration interfaceFunctions available from all tabs Basic tabNo environments note Booting and installing HP-UX on clients using the server File system default choices All Legacy HW Paths Dialog BoxRoot Swap MB... button Languages dialog box Additional Configuration Controls Dialog Box Additional Configuration Controls Dialog Box Software tab Software tab for HP-UX 11i v1 and 11i Software cannot be unselected Marked ? column status can beChange Depot Location note Interactive swinstall notes Job? x/s/c System tab#nslookup test 255.255.248.0 or 0xfffff800 255.255.255.0 or 0xffffff00 Set Time Zone dialog boxSet Root Password dialog box Network Services tabs Set DNS Search Domains Dialog Box NIS tab Network Interfaces Dialog Box Select an Interface card from the selection listAdding or changing a file system configuration Configuring the installation Volume requirements for LVM and VxVM To change, add, or remove a disk from the clientAdvanced Disk Parameters dialog box Highlight a disk in the selection list to select itAdvanced File System Parameters dialog box Has these characteristics No gap is enabled between physical extents within a mirrorVolume Root volume /, the boot volume /stand, dump volumesAdvanced tab For more information, see manageindex1MRepeat an installation Executing the installation Repeat Install dialog boxInstallation Confirmation dialog box Client Status... dialog box Installation log file Viewing and printing a manifestPrintmanifest Golden images Advantages of golden imagesCreating a golden image Installing the HP-UX operating system Installing critical patches onto the operating systemInstalling optional software Install the patch non-interactivelyCustomizing the system Creating the golden archiveOn the golden system, run Localedescription Here are the HP-UX 11i v1 swsource and swsel examples Creating and using golden images using GUI and CLI Creating golden image using GUIXhost +Ignite-UXserverhostname Opt/ignite/bin/igniteCreation of a golden image using CLI Examples on using makegoldenimage scriptEnabling the client Installing the golden image on the client Customizing your installation Using configuration filesClasses of configuration files Configuration File Use and Locations These install kernels and install file systems are locatedOpt/ignite/data/Relrelease/config Var/opt/ignite/config.localVar/opt/ignite/data/Relrelease Combining configuration files using Index entries Var/opt/ignite/clients/client/config Configuration choices dialog box Example configuration files Defining DisksCombining Disks to Form a Single Volume Group Defining Networking ParametersDefining an Installation Depot Customizations based on the client hardwareCustomizations based on user selection # ia64# ia64 hp workstation zx2000 # 9000/785Avoid archiving patch files Xpatchsavefiles=falsetrueDebugging configuration files Using post-installation scriptsFor more information, see instldbg1M How the installation functions Adding a post-installation scriptExample Where t is for postconfigscript selection settings Automating installations Starting a non-interactive installation with bootsysUsing a saved configuration Specifying defaults in the config.local file Setting defaults with instladmUsing the per-client configuration file Final systemname=system11 Final ipaddrlan0=10.2.75.193 Scheduling installations Setting installation parameters dynamicallyPress Ctrl-D Example Checking modified files for errors Instladm -T -f fileCreating your own boot and installation media Why use custom boot and installation media?Building PA-RISC boot and installation tape Possible tape contentsPossible PA-RISC installation tape layouts Logical interchange formatArchives and depots #nfssource=PA-RISC installation tape creation example AssumptionsSdserver = IPaddress Sddepotdir = /var/tmp/depot Change the sourcetype attribute from NET to MTExample PA-RISC installation tape creation Instladm -d -F /var/tmp/lifvol /var/tmp/cfgVerify your changes Instladm -d -f /var/tmp/lifvolCreating a boot CD/DVD or an installation DVD Boot and archive-based CD/DVDsAssumptions File and ISO image size considerationsBoot CD/DVD examples Installation archive-based DVD examples# makemediainstall -? # makeopticaldiscrecovery -?Error messages Create a recovery DVDPut a PA-RISC HP-UX 11i v2 golden archive on a DVD No DVD availableHP-UX 11i v2 Depot-based installation DVDs Depot-based DVDsNo DVD special files Missing -cargument on HP-UX 11i v2 USB DVD driveFor more information, see instladm1M and instladm4 Create the first DVDCopy the EFI partition into the first DVD pseudo-root Run mkisofs to create the first DVD image pathtodvd1imageHP-UX 11i v3 Depot-based installation DVDs Create the second DVDRun mkisofs to create the second DVD image pathtodvd2image Burn the DVD images and test themRecovery System recoveryOverview System recovery tools Recovery tool comparisonUse maketaperecovery to Use makenetrecovery toRecovery image contents Recovery image configuration policies Recovery image creation process Create files and directories for the recovery imageVar/opt/ignite/clients/client/recovery/2005-03-17,1119 Var/opt/ignite/recovery/archives/client directoryRun the recovery interface Var/opt/ignite/clients/client/recovery/defaultsVar/opt/ignite/clients/client/recovery directory Prepare the configuration fileRecovery image creation status Examining recovery image contentsOpt/ignite/lbin/listexpander -f archivecontent Verifying recovery image results Init hpignoreswimpact=1Recovery Creating and using recovery tapes Recovery tape creation examplesOpt/ignite/recovery/mnressentials Tape recovery for PA-RISC systems Recovering a minimal operating systemMaketaperecovery -x incentire=vg00 Maketaperecovery -A -s myserver -a /dev/rmt/0mTape recovery for Itanium-based systems Determining the tape drive’s EFI pathEFI menu with timer Select Boot Configuration from the Boot MenuBoot configuration Add boot entryList of selectable boot devices Enter load options Tape recovery for Integrity Blade systems Boot Manager menu with the new optionCreating and using network recovery images Determine tape drive EFI path using Command Line InterfaceShell tapeboot select Fibre-Channel Network recovery server dependency Networking featuresAdding clients for recovery Var/opt/ignite/recovery/datetime/recovery.logXhost +Ignite-UXserverhostname Examples of network recovery image creation Recovering using the network for PA-RISC clientsMakenetrecovery -s myserver Makenetrecovery -s myserver -x incentire=vg00Recovering using the network for Itanium-based clients Retaining recovery images Hpux# rm latest # ln -s RecoveryArchive.sav latest Making recovery configuration file additions Using the recovery config.local fileVar/opt/ignite/clients/client/recovery/config.local Var/opt/ignite/recovery/config.localSelecting file systems during recovery Opt/ignite/data/RelB.11.11/configCD/DVD Using the makesysimage method Cloning a system using makenetrecovery Run # shareall -F nfsSystem recovery questions and answers QuestionCheck /etc/inetd.conf # rm oldhostname Support and other resources Contacting HPRelated information Websites Typographic conventions Following conventions are used in this documentTypographic Conventions Documentation feedback Troubleshooting Errors and warningsIgnite-UX server problems Installing systems with Ignite-UXProblem installing clients on multiple subnets Debugging SD during cold-installationToo much file space needed Ignite-UX requests more file system space than expectedBooting errors on PA-RISC systems Corrupted /opt/ignite/boot/bootlif fileProblems pointing to client over network Applications hang after ignitingReceived n bytes in s seconds Tftp quitBootsys Command Seems to Work in Reverse Server not listedInstalling from media Installing from golden imagesCommon network booting errors Insufficient Response to PXE Boot RequestFile size miscalculated Creation of archive File Size miscalculated on HP Integrity virtual machinesConfiguring Dhcp services Overview of Dhcp servicesDhcp usage examples Using bootptab as an alternative to Dhcp Background information on Dhcp designLIF volume contents For more information, see Using configuration files For more information, see Classes of configuration filesDescription of the files in the LIF volume Using Integrated Lights Out Virtual Media with Ignite-UX 243 Using Integrated Lights Out Virtual Media with Ignite-UX 245 Using Integrated Lights Out Virtual Media with Ignite-UX 247 Using vMedia with DVD installation media and ISO images Expert recovery Expert recovery preparationExpert recovery procedure Expert recovery Expert recovery procedure Expert recovery Expert recovery procedure # mknod /ROOT/dev/console c 0 Terminal keyboard shortcuts Basic keyboard shortcutsAdvanced keyboard navigation HP terminalsVt100 terminals Function keysAdvanced keyboard actions Glossary See Link Level Address LLAChecknetrecovery1M Maketaperecovery. See copyboottape1M Iinstall See instlcombine1M Makebundles1M Maketapenetrecovery See Software Distributor Vinstall Setting hplanadminargs, 108 boot source IndexIndex DVD Index LVM PXE Port usage on makenetrecovery, 89 port usage with bootsys Page Server display Xntp configuring, 136 screen Xntpd daemon
Related manuals
Manual 40 pages 50.5 Kb Manual 41 pages 43.08 Kb