HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't ping cluster application
Operating System - HP-UX
1837018
Members
2168
Online
110111
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2007 09:13 AM
09-10-2007 09:13 AM
Can't ping cluster application
I have two N Class Server cluster with HP-Ux 11.0 with oracle 8i.I have four L Class Server for Load balancing. I have two cluster packages
Oracle_app and concurrent_m running. Oracle_app is running on 172.172.1.21 while concurrent_m is 172.172.1.22. On ap01 which is first application
Server ,i can ping the two above ip address both by ip and name. On ap02,ap03 and ap04 i can only 172.172.1.22 i can't ping 172.172.1.21.
All the host files are correct with ip addresses.One thing which I observed that is abnormal ,if i first ping the 172.172.1.22 first and later ping the 172.172.1.21 it starts to ping okay. I want know what is the problem. Kind tell where are all the configuration files kept for the Cluster with paths.Where is TSNAME.orc kept.Where is the MS/service guide SG-ops configuration files kept and Pfs kept.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2007 11:19 PM
09-10-2007 11:19 PM
Re: Can't ping cluster application
A relocatable IP will only be configured on one node and one NIC on that node at any given time, whether using Serviceguard or Serviceguard extension for RAC.
That means that the 172.172.1.21 is applied to a NIC only when it's host package is started on a particular node. And only that node should respond to ping requests for either the IP or the alias to that IP.
The relocatable IP is assigned in the package control script. The administrator creates and configures the package control script. Have you made certain that each node has the same copy of the package control script? It's possible that you overlooked this and one node may not activate the IP when starting the package.
How is hostname resolution handled?
The admin uses /etc/nsswitch.conf "hosts" line to define whether the local node will look to /etc/hosts, DNS or both.
One of these methods should associate the IP with an alias name. Use 'nslookup' on each server to see if hostname resolution is configured for the problematic IP.
That means that the 172.172.1.21 is applied to a NIC only when it's host package is started on a particular node. And only that node should respond to ping requests for either the IP or the alias to that IP.
The relocatable IP is assigned in the package control script. The administrator creates and configures the package control script. Have you made certain that each node has the same copy of the package control script? It's possible that you overlooked this and one node may not activate the IP when starting the package.
How is hostname resolution handled?
The admin uses /etc/nsswitch.conf "hosts" line to define whether the local node will look to /etc/hosts, DNS or both.
One of these methods should associate the IP with an alias name. Use 'nslookup' on each server to see if hostname resolution is configured for the problematic IP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 11:33 PM
09-24-2007 11:33 PM
Re: Can't ping cluster application
Below is the configuration
x_db01 #cat /etc/hosts
# Configured using SAM by root on Mon Apr 22 12:45:26 2002
# Configured using SAM by root on Mon Dec 1 18:59:03 2003
@(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
The form for each entry is:
For example:
192.1.2.34 hpfcrm loghost
See the hosts(4) manual page for more information.
Note: The entries cannot be preceded by a space.
The format described in this file is the correct format.
The original Berkeley manual page contains an error in
the format description.
0.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
0.1.1.19 ux_db01
0.1.1.20 ux_db02
27.0.0.1 localhost loopback
0.1.1.50 laser4100
72.172.1.19 ux_db01 ux_db01a
Printers
Pufmarp Accra
0.1.1.99 lj4050_1 # 1st Floor Annex A
0.1.1.100 lj4050_2 # Oracle Training
0.1.1.50 lj4050_3 # MOF Data Centre
0.1.2.70 ORACLEPRN1 # ORACLE Room F17
ACCCAG
0.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training roo
0.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training roo
0.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
0.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
0.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
0.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
0.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
0.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Computer
Centre
Finance Epson Printers
10.1.2.35 Mofepspr1
10.1.2.215 Mofepspr2
10.1.2.36 Mofepspr3
10.1.2.115 Mofepspr4
CAGD Epson Printers
10.1.3.230 acccagdepspr1
x_db01 #
ux_db01 #ping concurrent_m
PING concurrent_m.accdac.pufmarp.gov.gh: 64 byte packets
ux_db01 #ping oracle_app
PING oracle_app.accdac.pufmarp.gov.gh: 64 byte packet
64 bytes from 172.172.1.21: icmp_seq=0. time=0. ms
64 bytes from 172.172.1.21: icmp_seq=1. time=0. ms
64 bytes from 172.172.1.21: icmp_seq=2. time=0. ms
64 bytes from 172.172.1.21: icmp_seq=3. time=0. ms
ux_db01 #cmviewcl
CLUSTER STATUS
pufmarp up
NODE STATUS STATE
ux_db01 up running
PACKAGE STATUS STATE PKG_SWITCH NODE
oracle_app up running enabled ux_db01
NODE STATUS STATE
ux_db02 up running
PACKAGE STATUS STATE PKG_SWITCH NODE
concurrent_m up running enabled ux_db02
omni up running enabled ux_db02
ux_db01 #
ux_db02 # cat /etc/hosts
## Configured using SAM by root on Mon Apr 22 12:45:26 2002
## Configured using SAM by roo
on Wed Jul 12 21:43:41 2006
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34 hpfcrm loghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
# The format described in this file is the correct format.
# The original Berkeley manual page contains an error in
# the format description.
#
127.0.0.1 localhost loopback
10.1.1.20 ux_db02.accdac.pufmarp.gov.gh ux_db02
10.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
10.1.1.50 laser4100
172.172.1.20 ux_db02a.accdac.pufmarp.gov.gh ux_db02a
#
# Printers
#
# Pufmarp Accra
10.1.1.99 lj4050_1 # 1st Floor Annex A
10.1.1.100 lj4050_2 # Oracle Training
10.1.1.50 lj4050_3 # MOF Data Centre
10.1.2.70 ORACLEPRN1 # ORACLE Room F17
#
# ACCCAG
#
10.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training roo
m
10.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training roo
m
10.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
10.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
10.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
10.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
10.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
10.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Computer
Centre
#
# Finance Epson Printers
10.1.2.36 Mofepspr3
10.1.2.35 Mofepspr1
10.1.2.215 Mofepspr2
# CAGD Epson Printer
10.1.3.230 acccagdepspr1
10.1.1.170 project1
10.1.2.239 accmofwsn0xx
10.1.25.1 accpwdnbs1
10.1.25.1 accpwdnbs1.accpwd.accdac.pufmarp.gov.gh
10.1.16.1 accmoinbs1
10.1.16.1 accmoinbs1.accmoi.accdac.pufmarp.gov.gh
10.1.14.1 accmtc1
10.1.14.1 accmtcnbs1.accmtc.accdac.pufmarp.gov.gh
10.1.10.1 accmoenbs1
10.1.10.1 accmoenbs1.accmoe.accdac.pufmarp.gov.gh
10.1.9.1 accghanbs1
10.1.9.1 accghanbs1.accgha.accdac.pufmarp.gov.gh
ux_db02 #
ux_db02 #cat /etc/nsswitch.conf
#
# /etc/nsswitch.hp_defaults:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/ns
# uses NIS (YP) in conjunction with files.
#
passwd: compat
group: compat
hosts: files [NOTFOUND=continue UNAVAIL=continue] dn
VAIL=continue TRYAGAIN=return]
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
ux_db02 #ping oracle_app
PING oracle_app.accdac.pufmarp.gov.gh: 64 byte packets
64 bytes from 172.172.1.21: icmp_seq=0. time=0. ms
64 bytes from 172.172.1.21: icmp_seq=1. time=0. ms
----oracle_app.accdac.pufmarp.gov.gh PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
ux_db02 #ping concurrent_m
PING concurrent_m.accdac.pufmarp.gov.gh: 64 byte packets
64 bytes from 172.172.1.22: icmp_seq=0. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=1. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=2. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=3. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=4. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=5. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=6. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=7. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=8. time=0. ms
----concurrent_m.accdac.pufmarp.gov.gh PING Statistics----
9 packets transmitted, 9 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
ux_db02 #cmviewcl
CLUSTER STATUS
pufmarp up
NODE STATUS STATE
ux_db01 up running
PACKAGE STATUS STATE PKG_SWITCH NODE
oracle_app up running enabled ux_db01
NODE STATUS STATE
ux_db02 up running
PACKAGE STATUS STATE PKG_SWITCH NODE
concurrent_m up running enabled ux_db02
omni up running enabled ux_db02
ux_db02 #cmviewcl -v
CLUSTER STATUS
pufmarp up
NODE STATUS STATE
ux_db01 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/0/0 lan0
PRIMARY up 1/10/0/0 lan2
STANDBY down 0/5/0/0 lan1
PACKAGE STATUS STATE PKG_SWITCH NODE
oracle_app up running enabled ux_db01
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service uninitia 0 0 oracle_srv
Subnet up 172.172.1.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled ux_db01 (current)
Alternate up enabled ux_db02
NODE STATUS STATE
ux_db02 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/0/0 lan0
PRIMARY up 1/10/0/0 lan2
PACKAGE STATUS STATE PKG_SWITCH NODE
concurrent_m up running enabled ux_db02
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Subnet up 172.172.1.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled ux_db02 (current)
Alternate up enabled ux_db01
PACKAGE STATUS STATE PKG_SWITCH NODE
omni up running enabled ux_db02
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service up 2 0 omni_sv
Subnet up 172.172.1.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled ux_db02 (current)
Alternate up enabled ux_db01
applicatiion server
127.0.0.1 localhost loopback
10.1.1.7 ux_ap01.accdac.pufmarp.gov.gh ux_ap01
10.1.1.8 ux_ap02.accdac.pufmarp.gov.gh ux_ap02
10.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
172.172.1.7 ux_ap01a #ux_ap01 GIG1
172.172.1.8 ux_ap02a #ux_ap02 GIG1
#
# Printers
#
# Pufmarp Accra
10.1.1.99 lj4050_1 # 1st Floor Annex A
10.1.1.100 lj4050_2 # Oracle Training
10.1.1.50 lj4050_3 # MOF Data Cente
10.1.2.70 ORACLEPRN1 # ORACLE Room F17
#
# ACCCAG - Accra CAGD
#
10.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training ro
m
10.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training ro
m
10.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
10.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
10.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
10.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
10.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
10.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Compute
Centre
#
#epson printers in MOF
10.1.2.35 mofepspr1
10.1.2.215 mofepspr2
10.1.2.36 mofepspr3
10.1.2.115 mofepspr4
output netconf
HOSTNAME="ux_ap01"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
# Internet configuration parameters. See ifconfig(1m), autopush(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: Hostname (in /etc/hosts) or IP address in decim
# notation (e.g., 192.1.2.3)
#
# SUBNET_MASK: Subnetwork mask in decimal-dot notation, if dif
# from default
#
# BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if
# different from default
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up or down, default is up.
#
# DHCP_ENABLE Determines whether or not DHCP client functiona
# will be enabled on the network interface (see
# auto_parms(1M), dhcpclient(1M)). DHCP clients g
# their IP address assignments from DHCP servers.
# 1 enables DHCP client functionality; 0 disables
#
# For each additional network interfaces, add a set of variable assig
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines betw
# the next set of statements
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.1.1.7
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]="10.1.1.255"
INTERFACE_STATE[0]="up"
DHCP_ENABLE[0]=0
# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or host or
# IP address in decimal-dot notation, preceded by
# "host" or "net"; or simply the word "default".
#
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C l
# hexadecimal notation. This is an optional fiel
# A IP address, subnet mask pair uniquely identif
# a subnet to be reached. If a subnet mask is not
# then the system will assign the longest subnet
# of the configured network interfaces to this ro
# If there is no matching subnet mask, then the s
# will assign the default network mask as the rou
# subnet mask.
#
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address
# decimal-dot notation. If local interface, must
# same form as used for IP_ADDRESS above (hostnam
# decimal-dot notation). If loopback interface, i
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway i
# remote interface (one) or the local interface (
# or loopback interface (e.g., 127.*).
#
# ROUTE_ARGS: Route command arguments and options. This vari
# may contain a combination of the following argu
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like t
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines betw
# the next set of statements
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=10.1.1.253
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
#ROUTE_DESTINATION[1]="net 10.1.2.0"
#ROUTE_MASK[1]=255.255.255.0
#ROUTE_GATEWAY[1]=10.1.2.230
#ROUTE_COUNT[1]=1
#ROUTE_ARGS[1]=""
#ROUTE_DESTINATION[1]="net 10.1.3.0"
#ROUTE_MASK[1]=255.255.255.0
#ROUTE_GATEWAY[1]=10.1.1.135
#ROUTE_COUNT[1]=1
#ROUTE_ARGS[1]=""
# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
GATED=0
GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#
RDPD=0
#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
IP_ADDRESS[1]=172.172.1.7
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=172.172.1.255
INTERFACE_STATE[1]=up
#epson printers in CAGD
10.1.3.230 acccagdepspr1
10.1.1.4 ux_tr01
10.1.1.4 ux_tr01.accdac.pufmarp.gov.gh
Output from Etc nsswitch.conf
#
passwd: compat
group: compat
hosts: dns [NOTFOUND=continue] files [NOTFOUND=return] nis
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
#
127.0.0.1 localhost loopback
10.1.1.7 ux_ap01
10.1.1.8 ux_ap02
10.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
172.172.1.7 ux_ap01a #ux_ap01 GIG1
172.172.1.8 ux_ap02a #ux_ap02 GIG1
#
# Printers
#
# Pufmarp Accra
10.1.1.99 lj4050_1 # 1st Floor Annex A
10.1.1.100 lj4050_2 # Oracle Training
10.1.1.50 lj4050_3 # MOF Data Centre
10.1.2.70 ORACLEPRN1 # ORACLE Room F17
#
# ACCCAG
#
10.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training roo
m
10.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training roo
m
10.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
10.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
10.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
10.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
10.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
10.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Computer
Centre
# cat /etc/nsswitch.conf
#
# /etc/nsswitch.hp_defaults:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: compat
group: compat
hosts: files [NOTFOUND=continue] dns [NOTFOUND=return] nis
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
#
output from netconf
HOSTNAME="ux_ap02"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
# Internet configuration parameters. See ifconfig(1m), autopush(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: Hostname (in /etc/hosts) or IP address in decimal-dot
# notation (e.g., 192.1.2.3)
#
# SUBNET_MASK: Subnetwork mask in decimal-dot notation, if different
# from default
#
# BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if
# different from default
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up or down, default is up.
#
# DHCP_ENABLE Determines whether or not DHCP client functionality
# will be enabled on the network interface (see
# auto_parms(1M), dhcpclient(1M)). DHCP clients get
# their IP address assignments from DHCP servers.
# 1 enables DHCP client functionality; 0 disables it.
#
# For each additional network interfaces, add a set of variable assignments
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.1.1.8
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]="10.1.1.255"
INTERFACE_STATE[0]="up"
DHCP_ENABLE[0]=0
# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or host or network
# IP address in decimal-dot notation, preceded by the word
# "host" or "net"; or simply the word "default".
#
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# hexadecimal notation. This is an optional field.
# A IP address, subnet mask pair uniquely identifies
# a subnet to be reached. If a subnet mask is not given,
# then the system will assign the longest subnet mask
# of the configured network interfaces to this route.
# If there is no matching subnet mask, then the system
# will assign the default network mask as the route's
# subnet mask.
#
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address in
# decimal-dot notation. If local interface, must use the
# same form as used for IP_ADDRESS above (hostname or
# decimal-dot notation). If loopback interface, i.e.,
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# remote interface (one) or the local interface (zero)
# or loopback interface (e.g., 127.*).
#
# ROUTE_ARGS: Route command arguments and options. This variable
# may contain a combination of the following arguments:
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like the ones
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=10.1.1.253
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
GATED=0
GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#
RDPD=0
#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
IP_ADDRESS[1]=172.172.1.8
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=172.172.1.255
INTERFACE_STATE[1]=up
#
#
x_ap03 #cat /etc/hosts
## Configured using SAM by root on Fri Sep 13 19:04:17 2002
## Configured using SAM by root on Wed Oct 16 13:23:40 2002
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34 hpfcrm loghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
# The format described in this file is the correct format.
# The original Berkeley manual page contains an error in
# the format description.
#
10.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
10.1.1.9 ux_ap03.accdac.pufmarp.gov.gh ux_ap03
172.172.1.9 ux_ap03a
127.0.0.1 localhost loopback
#
# Printers
#
# Pufmarp Accra
10.1.1.99 lj4050_1 # 1st Floor Annex A
10.1.1.100 lj4050_2 # Oracle Training
10.1.1.50 lj4050_3 # MOF Data Centre
10.1.2.70 ORACLEPRN1 # ORACLE Room F17
#
# ACCCAG
#
10.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training roo
m
10.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training roo
m
10.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
10.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
10.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
10.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
10.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
10.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Computer
Centre
#
10.1.2.35 mofpr1
ux_ap03 #
netconf
HOSTNAME="ux_ap03"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
# Internet configuration parameters. See ifconfig(1m), autopush(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: Hostname (in /etc/hosts) or IP address in decimal-dot
# notation (e.g., 192.1.2.3)
#
# SUBNET_MASK: Subnetwork mask in decimal-dot notation, if different
# from default
#
# BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if
# different from default
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up or down, default is up.
#
# DHCP_ENABLE Determines whether or not DHCP client functionality
# will be enabled on the network interface (see
# auto_parms(1M), dhcpclient(1M)). DHCP clients get
# their IP address assignments from DHCP servers.
# 1 enables DHCP client functionality; 0 disables it.
#
# For each additional network interfaces, add a set of variable assignments
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.1.1.9
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or host or network
# IP address in decimal-dot notation, preceded by the word
# "host" or "net"; or simply the word "default".
#
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# hexadecimal notation. This is an optional field.
# A IP address, subnet mask pair uniquely identifies
# a subnet to be reached. If a subnet mask is not given,
# then the system will assign the longest subnet mask
# of the configured network interfaces to this route.
# If there is no matching subnet mask, then the system
# will assign the default network mask as the route's
# subnet mask.
#
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address in
# decimal-dot notation. If local interface, must use the
# same form as used for IP_ADDRESS above (hostname or
# decimal-dot notation). If loopback interface, i.e.,
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# remote interface (one) or the local interface (zero)
# or loopback interface (e.g., 127.*).
#
# ROUTE_ARGS: Route command arguments and options. This variable
# may contain a combination of the following arguments:
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like the ones
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=10.1.1.253
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
#ROUTE_DESTINATION[1]="net 10.1.2.0"
#ROUTE_MASK[1]=255.255.255.0
#ROUTE_GATEWAY[1]=10.1.2.230
#ROUTE_COUNT[1]=1
#ROUTE_ARGS[1]=""
#ROUTE_DESTINATION[1]="net 10.1.3.0"
#ROUTE_MASK[1]=255.255.255.0
#ROUTE_GATEWAY[1]=10.1.1.135
#ROUTE_COUNT[1]=1
#ROUTE_ARGS[1]=""
# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
GATED=0
GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#
RDPD=0
#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
IP_ADDRESS[1]=172.172.1.9
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=172.172.1.255
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0
x_db01 #cat /etc/hosts
# Configured using SAM by root on Mon Apr 22 12:45:26 2002
# Configured using SAM by root on Mon Dec 1 18:59:03 2003
@(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
The form for each entry is:
For example:
192.1.2.34 hpfcrm loghost
See the hosts(4) manual page for more information.
Note: The entries cannot be preceded by a space.
The format described in this file is the correct format.
The original Berkeley manual page contains an error in
the format description.
0.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
0.1.1.19 ux_db01
0.1.1.20 ux_db02
27.0.0.1 localhost loopback
0.1.1.50 laser4100
72.172.1.19 ux_db01 ux_db01a
Printers
Pufmarp Accra
0.1.1.99 lj4050_1 # 1st Floor Annex A
0.1.1.100 lj4050_2 # Oracle Training
0.1.1.50 lj4050_3 # MOF Data Centre
0.1.2.70 ORACLEPRN1 # ORACLE Room F17
ACCCAG
0.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training roo
0.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training roo
0.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
0.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
0.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
0.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
0.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
0.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Computer
Centre
Finance Epson Printers
10.1.2.35 Mofepspr1
10.1.2.215 Mofepspr2
10.1.2.36 Mofepspr3
10.1.2.115 Mofepspr4
CAGD Epson Printers
10.1.3.230 acccagdepspr1
x_db01 #
ux_db01 #ping concurrent_m
PING concurrent_m.accdac.pufmarp.gov.gh: 64 byte packets
ux_db01 #ping oracle_app
PING oracle_app.accdac.pufmarp.gov.gh: 64 byte packet
64 bytes from 172.172.1.21: icmp_seq=0. time=0. ms
64 bytes from 172.172.1.21: icmp_seq=1. time=0. ms
64 bytes from 172.172.1.21: icmp_seq=2. time=0. ms
64 bytes from 172.172.1.21: icmp_seq=3. time=0. ms
ux_db01 #cmviewcl
CLUSTER STATUS
pufmarp up
NODE STATUS STATE
ux_db01 up running
PACKAGE STATUS STATE PKG_SWITCH NODE
oracle_app up running enabled ux_db01
NODE STATUS STATE
ux_db02 up running
PACKAGE STATUS STATE PKG_SWITCH NODE
concurrent_m up running enabled ux_db02
omni up running enabled ux_db02
ux_db01 #
ux_db02 # cat /etc/hosts
## Configured using SAM by root on Mon Apr 22 12:45:26 2002
## Configured using SAM by roo
on Wed Jul 12 21:43:41 2006
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34 hpfcrm loghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
# The format described in this file is the correct format.
# The original Berkeley manual page contains an error in
# the format description.
#
127.0.0.1 localhost loopback
10.1.1.20 ux_db02.accdac.pufmarp.gov.gh ux_db02
10.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
10.1.1.50 laser4100
172.172.1.20 ux_db02a.accdac.pufmarp.gov.gh ux_db02a
#
# Printers
#
# Pufmarp Accra
10.1.1.99 lj4050_1 # 1st Floor Annex A
10.1.1.100 lj4050_2 # Oracle Training
10.1.1.50 lj4050_3 # MOF Data Centre
10.1.2.70 ORACLEPRN1 # ORACLE Room F17
#
# ACCCAG
#
10.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training roo
m
10.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training roo
m
10.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
10.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
10.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
10.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
10.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
10.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Computer
Centre
#
# Finance Epson Printers
10.1.2.36 Mofepspr3
10.1.2.35 Mofepspr1
10.1.2.215 Mofepspr2
# CAGD Epson Printer
10.1.3.230 acccagdepspr1
10.1.1.170 project1
10.1.2.239 accmofwsn0xx
10.1.25.1 accpwdnbs1
10.1.25.1 accpwdnbs1.accpwd.accdac.pufmarp.gov.gh
10.1.16.1 accmoinbs1
10.1.16.1 accmoinbs1.accmoi.accdac.pufmarp.gov.gh
10.1.14.1 accmtc1
10.1.14.1 accmtcnbs1.accmtc.accdac.pufmarp.gov.gh
10.1.10.1 accmoenbs1
10.1.10.1 accmoenbs1.accmoe.accdac.pufmarp.gov.gh
10.1.9.1 accghanbs1
10.1.9.1 accghanbs1.accgha.accdac.pufmarp.gov.gh
ux_db02 #
ux_db02 #cat /etc/nsswitch.conf
#
# /etc/nsswitch.hp_defaults:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/ns
# uses NIS (YP) in conjunction with files.
#
passwd: compat
group: compat
hosts: files [NOTFOUND=continue UNAVAIL=continue] dn
VAIL=continue TRYAGAIN=return]
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
ux_db02 #ping oracle_app
PING oracle_app.accdac.pufmarp.gov.gh: 64 byte packets
64 bytes from 172.172.1.21: icmp_seq=0. time=0. ms
64 bytes from 172.172.1.21: icmp_seq=1. time=0. ms
----oracle_app.accdac.pufmarp.gov.gh PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
ux_db02 #ping concurrent_m
PING concurrent_m.accdac.pufmarp.gov.gh: 64 byte packets
64 bytes from 172.172.1.22: icmp_seq=0. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=1. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=2. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=3. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=4. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=5. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=6. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=7. time=0. ms
64 bytes from 172.172.1.22: icmp_seq=8. time=0. ms
----concurrent_m.accdac.pufmarp.gov.gh PING Statistics----
9 packets transmitted, 9 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
ux_db02 #cmviewcl
CLUSTER STATUS
pufmarp up
NODE STATUS STATE
ux_db01 up running
PACKAGE STATUS STATE PKG_SWITCH NODE
oracle_app up running enabled ux_db01
NODE STATUS STATE
ux_db02 up running
PACKAGE STATUS STATE PKG_SWITCH NODE
concurrent_m up running enabled ux_db02
omni up running enabled ux_db02
ux_db02 #cmviewcl -v
CLUSTER STATUS
pufmarp up
NODE STATUS STATE
ux_db01 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/0/0 lan0
PRIMARY up 1/10/0/0 lan2
STANDBY down 0/5/0/0 lan1
PACKAGE STATUS STATE PKG_SWITCH NODE
oracle_app up running enabled ux_db01
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service uninitia 0 0 oracle_srv
Subnet up 172.172.1.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled ux_db01 (current)
Alternate up enabled ux_db02
NODE STATUS STATE
ux_db02 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/0/0 lan0
PRIMARY up 1/10/0/0 lan2
PACKAGE STATUS STATE PKG_SWITCH NODE
concurrent_m up running enabled ux_db02
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Subnet up 172.172.1.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled ux_db02 (current)
Alternate up enabled ux_db01
PACKAGE STATUS STATE PKG_SWITCH NODE
omni up running enabled ux_db02
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service up 2 0 omni_sv
Subnet up 172.172.1.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled ux_db02 (current)
Alternate up enabled ux_db01
applicatiion server
127.0.0.1 localhost loopback
10.1.1.7 ux_ap01.accdac.pufmarp.gov.gh ux_ap01
10.1.1.8 ux_ap02.accdac.pufmarp.gov.gh ux_ap02
10.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
172.172.1.7 ux_ap01a #ux_ap01 GIG1
172.172.1.8 ux_ap02a #ux_ap02 GIG1
#
# Printers
#
# Pufmarp Accra
10.1.1.99 lj4050_1 # 1st Floor Annex A
10.1.1.100 lj4050_2 # Oracle Training
10.1.1.50 lj4050_3 # MOF Data Cente
10.1.2.70 ORACLEPRN1 # ORACLE Room F17
#
# ACCCAG - Accra CAGD
#
10.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training ro
m
10.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training ro
m
10.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
10.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
10.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
10.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
10.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
10.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Compute
Centre
#
#epson printers in MOF
10.1.2.35 mofepspr1
10.1.2.215 mofepspr2
10.1.2.36 mofepspr3
10.1.2.115 mofepspr4
output netconf
HOSTNAME="ux_ap01"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
# Internet configuration parameters. See ifconfig(1m), autopush(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: Hostname (in /etc/hosts) or IP address in decim
# notation (e.g., 192.1.2.3)
#
# SUBNET_MASK: Subnetwork mask in decimal-dot notation, if dif
# from default
#
# BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if
# different from default
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up or down, default is up.
#
# DHCP_ENABLE Determines whether or not DHCP client functiona
# will be enabled on the network interface (see
# auto_parms(1M), dhcpclient(1M)). DHCP clients g
# their IP address assignments from DHCP servers.
# 1 enables DHCP client functionality; 0 disables
#
# For each additional network interfaces, add a set of variable assig
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines betw
# the next set of statements
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.1.1.7
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]="10.1.1.255"
INTERFACE_STATE[0]="up"
DHCP_ENABLE[0]=0
# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or host or
# IP address in decimal-dot notation, preceded by
# "host" or "net"; or simply the word "default".
#
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C l
# hexadecimal notation. This is an optional fiel
# A IP address, subnet mask pair uniquely identif
# a subnet to be reached. If a subnet mask is not
# then the system will assign the longest subnet
# of the configured network interfaces to this ro
# If there is no matching subnet mask, then the s
# will assign the default network mask as the rou
# subnet mask.
#
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address
# decimal-dot notation. If local interface, must
# same form as used for IP_ADDRESS above (hostnam
# decimal-dot notation). If loopback interface, i
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway i
# remote interface (one) or the local interface (
# or loopback interface (e.g., 127.*).
#
# ROUTE_ARGS: Route command arguments and options. This vari
# may contain a combination of the following argu
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like t
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines betw
# the next set of statements
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=10.1.1.253
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
#ROUTE_DESTINATION[1]="net 10.1.2.0"
#ROUTE_MASK[1]=255.255.255.0
#ROUTE_GATEWAY[1]=10.1.2.230
#ROUTE_COUNT[1]=1
#ROUTE_ARGS[1]=""
#ROUTE_DESTINATION[1]="net 10.1.3.0"
#ROUTE_MASK[1]=255.255.255.0
#ROUTE_GATEWAY[1]=10.1.1.135
#ROUTE_COUNT[1]=1
#ROUTE_ARGS[1]=""
# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
GATED=0
GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#
RDPD=0
#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
IP_ADDRESS[1]=172.172.1.7
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=172.172.1.255
INTERFACE_STATE[1]=up
#epson printers in CAGD
10.1.3.230 acccagdepspr1
10.1.1.4 ux_tr01
10.1.1.4 ux_tr01.accdac.pufmarp.gov.gh
Output from Etc nsswitch.conf
#
passwd: compat
group: compat
hosts: dns [NOTFOUND=continue] files [NOTFOUND=return] nis
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
#
127.0.0.1 localhost loopback
10.1.1.7 ux_ap01
10.1.1.8 ux_ap02
10.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
172.172.1.7 ux_ap01a #ux_ap01 GIG1
172.172.1.8 ux_ap02a #ux_ap02 GIG1
#
# Printers
#
# Pufmarp Accra
10.1.1.99 lj4050_1 # 1st Floor Annex A
10.1.1.100 lj4050_2 # Oracle Training
10.1.1.50 lj4050_3 # MOF Data Centre
10.1.2.70 ORACLEPRN1 # ORACLE Room F17
#
# ACCCAG
#
10.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training roo
m
10.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training roo
m
10.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
10.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
10.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
10.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
10.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
10.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Computer
Centre
# cat /etc/nsswitch.conf
#
# /etc/nsswitch.hp_defaults:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: compat
group: compat
hosts: files [NOTFOUND=continue] dns [NOTFOUND=return] nis
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
#
output from netconf
HOSTNAME="ux_ap02"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
# Internet configuration parameters. See ifconfig(1m), autopush(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: Hostname (in /etc/hosts) or IP address in decimal-dot
# notation (e.g., 192.1.2.3)
#
# SUBNET_MASK: Subnetwork mask in decimal-dot notation, if different
# from default
#
# BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if
# different from default
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up or down, default is up.
#
# DHCP_ENABLE Determines whether or not DHCP client functionality
# will be enabled on the network interface (see
# auto_parms(1M), dhcpclient(1M)). DHCP clients get
# their IP address assignments from DHCP servers.
# 1 enables DHCP client functionality; 0 disables it.
#
# For each additional network interfaces, add a set of variable assignments
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.1.1.8
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]="10.1.1.255"
INTERFACE_STATE[0]="up"
DHCP_ENABLE[0]=0
# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or host or network
# IP address in decimal-dot notation, preceded by the word
# "host" or "net"; or simply the word "default".
#
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# hexadecimal notation. This is an optional field.
# A IP address, subnet mask pair uniquely identifies
# a subnet to be reached. If a subnet mask is not given,
# then the system will assign the longest subnet mask
# of the configured network interfaces to this route.
# If there is no matching subnet mask, then the system
# will assign the default network mask as the route's
# subnet mask.
#
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address in
# decimal-dot notation. If local interface, must use the
# same form as used for IP_ADDRESS above (hostname or
# decimal-dot notation). If loopback interface, i.e.,
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# remote interface (one) or the local interface (zero)
# or loopback interface (e.g., 127.*).
#
# ROUTE_ARGS: Route command arguments and options. This variable
# may contain a combination of the following arguments:
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like the ones
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=10.1.1.253
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
GATED=0
GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#
RDPD=0
#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
IP_ADDRESS[1]=172.172.1.8
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=172.172.1.255
INTERFACE_STATE[1]=up
#
#
x_ap03 #cat /etc/hosts
## Configured using SAM by root on Fri Sep 13 19:04:17 2002
## Configured using SAM by root on Wed Oct 16 13:23:40 2002
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34 hpfcrm loghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
# The format described in this file is the correct format.
# The original Berkeley manual page contains an error in
# the format description.
#
10.1.1.31 accdacnbs2.accdac.pufmarp.gov.gh accdacnbs2
10.1.1.9 ux_ap03.accdac.pufmarp.gov.gh ux_ap03
172.172.1.9 ux_ap03a
127.0.0.1 localhost loopback
#
# Printers
#
# Pufmarp Accra
10.1.1.99 lj4050_1 # 1st Floor Annex A
10.1.1.100 lj4050_2 # Oracle Training
10.1.1.50 lj4050_3 # MOF Data Centre
10.1.2.70 ORACLEPRN1 # ORACLE Room F17
#
# ACCCAG
#
10.1.3.12 ACCCAGPRB1 acccagprb1 # LJ5000 - new CAGD Training roo
m
10.1.3.13 ACCCAGPRB2 acccagprb2 # LJ5000 - new CAGD Training roo
m
10.1.3.11 ACCCAGPRC1 acccagprc1 # LJ4100 - Room 205
10.1.3.10 ACCCAGPRC2 acccagprc2 # LJ4100 - Room 104
10.1.3.18 ACCCAGPRB3 acccagprb3 # LJ5000 - Room 47
10.1.3.16 ACCCAGPRC3 acccagprc3 # LJ4100 - Room 50
10.1.3.17 ACCCAGPRA1 acccagpra1 # LJ8150 - Room 39
10.1.3.15 ACCCAGPRB4 acccagprb4 # LJ5000 - Last Room in Computer
Centre
#
10.1.2.35 mofpr1
ux_ap03 #
netconf
HOSTNAME="ux_ap03"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
# Internet configuration parameters. See ifconfig(1m), autopush(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: Hostname (in /etc/hosts) or IP address in decimal-dot
# notation (e.g., 192.1.2.3)
#
# SUBNET_MASK: Subnetwork mask in decimal-dot notation, if different
# from default
#
# BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if
# different from default
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up or down, default is up.
#
# DHCP_ENABLE Determines whether or not DHCP client functionality
# will be enabled on the network interface (see
# auto_parms(1M), dhcpclient(1M)). DHCP clients get
# their IP address assignments from DHCP servers.
# 1 enables DHCP client functionality; 0 disables it.
#
# For each additional network interfaces, add a set of variable assignments
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.1.1.9
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or host or network
# IP address in decimal-dot notation, preceded by the word
# "host" or "net"; or simply the word "default".
#
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# hexadecimal notation. This is an optional field.
# A IP address, subnet mask pair uniquely identifies
# a subnet to be reached. If a subnet mask is not given,
# then the system will assign the longest subnet mask
# of the configured network interfaces to this route.
# If there is no matching subnet mask, then the system
# will assign the default network mask as the route's
# subnet mask.
#
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address in
# decimal-dot notation. If local interface, must use the
# same form as used for IP_ADDRESS above (hostname or
# decimal-dot notation). If loopback interface, i.e.,
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# remote interface (one) or the local interface (zero)
# or loopback interface (e.g., 127.*).
#
# ROUTE_ARGS: Route command arguments and options. This variable
# may contain a combination of the following arguments:
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like the ones
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=10.1.1.253
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
#ROUTE_DESTINATION[1]="net 10.1.2.0"
#ROUTE_MASK[1]=255.255.255.0
#ROUTE_GATEWAY[1]=10.1.2.230
#ROUTE_COUNT[1]=1
#ROUTE_ARGS[1]=""
#ROUTE_DESTINATION[1]="net 10.1.3.0"
#ROUTE_MASK[1]=255.255.255.0
#ROUTE_GATEWAY[1]=10.1.1.135
#ROUTE_COUNT[1]=1
#ROUTE_ARGS[1]=""
# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
GATED=0
GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#
RDPD=0
#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
IP_ADDRESS[1]=172.172.1.9
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=172.172.1.255
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP