May 4, 2018

Sreekanth B

HP-ux 11iv3 System Administration Freshers Interview Questions Answers

How To Find Recently Added Lun In Hp Unix Box ?

#ls -lrt /dev/disk/*

then take the latest dated disk path and check th lun path

#inq |grep -i "c?t?d?"

if you got /dev/disk/c?t?d? then get the legacy path and tehn check for lun path

#ioscan -m dsf /dev/disk/c?t?d?
#inq |grep -i "c?t?d?"

How To Check The Mac Address?

#lanscan
USe the above command to get the MAC address.

I Updated My Server; Now It Cannot Find "/d_cfg_mnt_sb61/monitor_bpr" ?

This is caused by having a mix of Ignite-UX fileset revisions on your server. In most cases it happens when you update only one release  (like Ignite-UX-11-23) even though you install other releases from that server.

An easy way to check for this case is to look at the output from the command swlist Ignite-UX. All the filesets should have the same revision; if not, then you need to install all consistent versions. If you have "boot helper" systems, they also need to have the Ignite-UX product updated to match the same revision as the server that they reference.

Can The Ignite-ux Gui For Make_tape_recovery Span Multiple Tapes?

No. We use pax as the tool to create the archive tape and there is no current communication between pax and the GUI to prompt the user on the GUI when pax requests a second tape. You need to use make_tape_recovery on the interactively client to be able to span multiple tapes.

Why Do I Get Warnings From Pax Concerning Files That Are Not On The Client When I Run Either Make_tape_recovery Or Make_net_recovery ?

If files are removed from the client between the time the list of files to be archived is created and the time the files are actually archived, warnings are generated. For more information, refer to make_tape_recovery(1M) and make_net_recovery(1M).

When Igniting From An Archive, Why Do I Get Numerous Samreg Errors ?

The problem is that the SAM filesets have not been configured when certain products are trying to register themselves with SAM.

The workaround is as follows:

Place this configuration stanza in "/var/opt/ignite/config.local" or directly in the configuration file with the core

sw_source:
sw_source "core"
{
post_load_cmd += "
swconfig -xautoselect_dependencies=false /
-xenforce_dependencies=false SystemAdmin.SAM "
}

Can An Ignite-ux Server Install Clients On Multiple Subnets ?

There is one known problem with having an Ignite-UX server that is multi-homed (connected to multiple subnets):

The "server" keyword that specifies the IP address for your Ignite-UX server can only correspond to one of the LAN interfaces. If each subnet is routed such that all clients can use the one IP address to contact their server, then the installation will work. However, it is more efficient for the client to use the server's IP address that is connected directly to the client's own subnet. If a client is on a subnet that does not have a route to the IP address specified by "server", then it will not be able to contact the server after it boots.

The workarounds for this problem are as follows:

Manually correct the server's IP address on the networking screen that appears on the client console when you boot the client.
Use a boot-helper on each subnet. When using a boot helper, the server's IP address can be specified correctly on each helper system.
Can I Run Make_net_recovery From A Pa-risc Server To Create An Archive For An Itanium-based Client Or Vice Versa ?

Yes

Why Do The Iux_postconfig Scripts Associated With Ems Krm Sometimes Fail?

On some HP-UX 11.x clients you might see the following errors when recovering a client from a make_net_recovery or make_tape_recoverytape, or a make_net_recovery image:

Executing:

"/var/adm/sw/products/EMS-KRMonitor/KRMON-RUN/iux_postconfig".
ERROR: Cannot install a dlkm driver.
ERROR: Cannot configure a dlkm driver.
ERROR: The script:

"/var/adm/sw/products/EMS-KRMonitor/KRMON-RUN/iux_postconfig" failed, exit code was 1.

The reason for this is when the recovery archive was created, the kernel the client was running was not created correctly (the DLKM information was out of sync). You should always use kmupdate to move a new kernel into place after creating it with mk_kernel, this will move the DLKM information into place when the new vmunix is moved into place at the next shutdown.

To solve this problem, create a kernel in the way described above then recreate the recovery tape or network recovery archive. You should not see this message the next time you use the new tape or network recovery archive (the old tape or network recovery archive will always show this problem).

What Is Hp-ux ?

HP-UX (Hewlett-Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on UNIX System V (initially System III) and first released in 1984. Recent versions support the HP 9000 series of computer systems, based on the PA-RISC processor architecture, and HP Integrity systems, based on Intel's Itanium architecture.

How To Check Your Hp Unix Is 32-bit Or 64-bit ?

Use getconf KERNEL_BITS , getconf KERNEL_BITS will return whether it is a 32 bit HP Unix or 64 bit HP Unix as shown below.

# getconf KERNEL_BITS

32

# getconf KERNEL_BITS

64

How To Create User And To Be Ask Change Passwd At Login ?

After created the user account and assign the password with the below command

#passwd -f user1

How To Check Routing Table?

# cat /etc/rc.config.d/netconf

or

#netstat -rn

How To Boot Hp-ux Into Single User Mode ?

Interrupt the boot process when prompted by pressing [ESCAPE] key , we need to tell HP-UX box to boot primary, it should give you a prompt to interact with the ISL. You should reply 'y' to this. Once at ISL> prompt type hpux -is or hpux -iS /stand/vmunix to boot into single user mode.

The Bootsys Command Fails Due To Insufficient Space In The /stand Volume. Why?

The bootsys commands needs to copy the two files:

# /opt/ignite/boot/Rel_<release>/*INSTALL
# /opt/ignite/boot/Rel_<release>/*INSTALLFS

where <release> is the operating system release, from the server into the client's /stand directory. This error indicates that there is not enough space in /stand on the client. To correct the error, you may need to remove any backup kernels. Additionally, check for kernels in the /stand/build directory (like vmunix_test).

How To Change Kernel Parameter In 11.11 And 11.31

in 11.31
#kctune parameter=value

before change the value check whether this parameter change required reboot or not

$kctune -v parameter
in 11.31
#kmtune parameter=value

Why Is Install.log So Difficult To Read?

The installation messages that are logged into install.log are obtained by Ignite-UX from multiple sources including the standard output (stdout) and standard error (stderr of Software Distributor and the contents of swagent.log. It is not possible to control how these messages are logged into install.log, thus the file can be confusing.

If you want to verify the installation of a product, HP recommends that you examining the swagent.log file directly, rather than the Ignite-UX install.log file.

Why Am I Getting The Following Message? Pax: Cannot Access /sbin/pax_enh : No Such File Or Directory.

If you try archiving using pax format, you see the following message:

pax: Cannot access /sbin/pax_enh: No such file or directory
pax:  PAX-ENH product needs to be installed to enable the options -A, -o exclude and -o graph.
WARNING: The pax command returned a non-zero exit status (exit status 1). You need to install PAX-ENH product to create pax format tape archives using make_tape_recovery, even on 11.31.

Why Did It Call My Client "<hostname>.0x080009…."?

If your client has multiple LAN interfaces, and you have previously installed the client using one interface, and then later chose to use the other interface during the installation, then the client name will have the LLA (link-level address) appended to the host name so that it does not conflict with the prior host name left from the prior installation.

This may also happen if you had to replace the LAN interface in your client since the last time you installed it. The LLA number is attached to the LAN interface, not the client. It is only the name of the icon that has been renamed. You can use the Ignite-UX GUI "Action" menu to "Change icon name" to rename oneor both of the clients.

How Do I Include All Volume/disk Groups Into A Recovery Tape ?

To include all volume and disk groups on the system into a recovery tape (can be used with make_net_recovery as well) use the following command:

# make_tape_recovery -A -x inc_cross=/

The make_tape_recovery manual page defines inc_cross as follows:

-x inc_cross=file|dir

Includes the file or directory in the recovery archive and crosses mount points to access any directories that are mounted or files contained in directories that are mounted.

We Tried Running The Recovery System Option From A Client Booted Inignite-ux, Which Generated Errors. For Tftp? What Files Need To Be Accessible For Tftp?

Only /opt/ignite and /var/opt/ignite are needed for tftp access.

How Do I Deal With Hot-swappable Disk Devices During Recovery?

Ignite-UX only supports hot-swappable disks that are completely installed and present when creating a recovery image. Proper software and hardware procedures must be used for hot swap disk removal or replacement before or after recovery, but not during. The LVM command lvlnboot used by save_config does not work when a disk is removed and the system is in this transitional state. If this command is not working, then recovery has no chance of succeeding.

What Is The Maximum Amount Of Data That A Make_tape_recovery Tape Can Hold?

A make_tape_recovery tape can hold as much data as will fit on the tape. If make_tape_recovery is run in the foreground it prompts for more tapes if they are necessary.

Note that to include files larger than 2GB but less than 8GB you may need to install patches. On HP-UX 11.11 you must have PHCO_28414 or later installed. On HP-UX B.11.23 you should have PHCO_31634 or later installed. Otherwise files will be limited to being less than 4GB in size.

Subscribe to get more Posts :