ENTERPRISE

Installing HP-UX : Setting the System Parameters After Booting

11/12/2012 2:44:07 AM
When the system comes up after installation, a series of windows appear that allow you to configure your system name, time zone, root password, Internet Protocol (IP) address, subnet mask, and other networking settings if you don't enter them under the System tab at the time of installation.  One of the first questions you are asked is whether you want to use DHCP to obtain networking information. Dynamic Host Configuration Protocol works with an Ignite-UX server that automatically assigns system name, IP address, and so on. Because the installation does not use this, I answered "no" which means that I have to manually enter all the information.

The system-specific information to be entered next can also be entered, after your system boots, by running /sbin/set_parms. This program can be used to set an individual system parameter or all the system parameters that would be set at boot time. /sbin/set_parms uses one of the arguments in Table 1, depending on what you would like to configure.

Table 1. /sbin/set_parms Arguments
set_parms ArgumentComments
hostnameSets hostname.
timezoneSets time zone.
date_timeSets date and time.
ip_address Sets Internet Protocol address.
addl_network Configures subnet mask, Domain Name System, and Network Information Service.
initialGoes through the entire question-and-answer session you would experience at boot time.

If you use the initial argument, various dialog boxes ask you for information. The System Hostname is requested in the following listing:

_______________________________________________________________________________

For the system to operate correctly, you must assign it a unique
system name or "hostname".  The hostname can be a simple name
(example: widget) or an Internet fully-qualified domain name
(example: widget.region.mycorp.com).

A simple name, or each dot (.) separated component of a domain name, must:

    * Start and end with a letter or number.
    * Contain no more than 8 characters per component.
    * Contain no more than 63 total characters.
    * Contain only letters, numbers, underscore (_), or dash (-).
      The underscore (_) is not recommended.

NOTE: The first or only component of a hostname should contain no more
      than 8 characters and the full hostname should contain no more
      than 63 characters for maximum compatibility with HP-UX software.

The current hostname is npar2.
_______________________________________________________________________________

Enter the system name, then press [Enter] or simply press [Enter]
to retain the current host name (npar2):
				

					  

Next, you're asked about the time zone and root password. After these are entered, you're asked for the IP address as shown in the following listing:

___________________________________________________________


  If you wish networking to operate correctly, you must assign the
  system a unique Internet Protocol (IP) address.  The IP address must:

     * Contain 4 numeric components.

     * Have a period (.) separating each numeric component.

     * Contain numbers between 0 and 255.

     For example:  134.32.3.10

  Warning: Leading zeros within a component are not allowed!

  Your current address is 192.6.174.67.  To retain this address,
  just press [Enter].
_______________________________________________________________________________

Enter your IP address, then press [Enter] or press [Enter] to select
the current address (192.6.174.67):


					  

You can now configure your subnet mask and other networking parameters.

Configuration includes the items shown in this listing:

  You may configure some additional network parameters at this time:

     * Subnetwork Mask and Default Gateway

     * Domain Name System (DNS)

     * Network Information Service (NIS)

  Your local network administrator can tell you which if any of these
  parameters should be configured for your system, and provide you the
  appropriate values.

  If you do not have these values now, you can configure them later.
_______________________________________________________________________________

Do you want to configure these additional network parameters?

Press [y] for yes or [n] for no, then press [Enter]


					  

Running set_parms initial or set_parms with other options allows you to specify all the initial information related to your system setup. This saves you the trouble of finding all the relevant files in which you'd have to place the information you provide to set_parms.

Among the information that is updated is the contents of /etc/rc.config.d/netconf, which contains the IP address of the LAN card, netmask, and default router you just entered. The /etc/hosts file is updated with the name and IP address of this host.
Other  
  •  BizTalk 2006 : Dealing with Compressed Files (part 2) - Receiving Zipped Files
  •  BizTalk 2006 : Dealing with Compressed Files (part 1) - Sending Simple Zipped Files
  •  Control The Keys To Your Cloud Vault
  •  Downloading and Installing 3CX Phone System (part 3) - Checking the status of 3CX
  •  Downloading and Installing 3CX Phone System (part 2) - Starting the install
  •  Downloading and Installing 3CX Phone System (part 1)
  •  A Potentially Perfect Partnership
  •  SharePoint 2010: Business Connectivity Services - The Secure Store Service (part 2) - Creating a Secure Store Service Application for Impersonating
  •  SharePoint 2010: Business Connectivity Services - The Secure Store Service (part 1) - Configuring the Secure Store Service
  •  Visual Studio 2010 IDE : Using, Creating, and Managing Reusable Code Snippets
  •  
    Top 10
    Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
    Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    3 Tips for Maintaining Your Cell Phone Battery (part 1) - Charge Smart
    OPEL MERIVA : Making a grand entrance
    FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
    BMW 650i COUPE : Sexy retooling of BMW's 6-series
    BMW 120d; M135i - Finely tuned
    PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
    PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS