[root]# hpacucli ctrl all show
No lpfc hosts found
Smart Array P400 in Slot 3 (sn: PAFGL0P9SWY1S8)
[root]#
[root]# hpacucli ctrl slot=3 pd all show status
No lpfc hosts found
physicaldrive 2I:1:1 (port 2I:box 1:bay 1, 146 GB): OK
physicaldrive 2I:1:2 (port 2I:box 1:bay 2, 146 GB): OK
[root]# hpacucli ctrl slot=3 ld all show status
No lpfc hosts found
logicaldrive 1 (136.7 GB, RAID 1): OK
[root]#
Monday, May 23, 2011
Tuesday, May 10, 2011
HPUX: how to reboot server
root# shutdown -r -y now
SHUTDOWN PROGRAM
05/10/11 10:06:27 METDST
Broadcast Message from XXX (pts/0) Tue May 10 10:06:27...
SYSTEM BEING BROUGHT DOWN NOW ! ! !
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
ovc instance NOT running
System shutdown in progress
___________________________
Stop Highly Available cluster ................................... N/A
Stopping Control Daemon ......................................... OK
Stopping OVTrcSrv ............................................... OK
Stoppping OVCM (radia) agent daemons ............................ OK
Stop LVM daemon ................................................. OK
Stop kwdbd ...................................................... N/A
Stopping HP-UX Apache-based Web Server .......................... OK
Stopping HP-UX Tomcat-based Servlet Engine. ..................... N/A
Stopping HP-UX Webmin-based Admin ............................... OK
Stopping the HPUX Webproxy subsystem ............................ OK
Stopping HP-UX XML Web Server Tools ............................. OK
Stop ESM network daemon ......................................... OK
Stop NFS server subsystem ....................................... OK
................................................................ OK
Collecting AVIO and VIO hba and lun inventory.. ................. OK
Shutting down CIFS Client ....................................... N/A
Stopping Event Monitoring Service ............................... OK
Stop interrupt balance daemon ................................... N/A
Shutting down the Winbind Daemon ................................ OK
Unload/Uninstall XF86 DLKM Helper Modules ....................... N/A
Stopping the gWLM Agent ......................................... OK
Stopping Data Protector services ................................ OK
Stop Workload Manager subsystem ................................. OK
Reset PRM and shut down PRM daemons ............................. OK
Shutting down the System Management HomePage server ............. OK
Shutting down Perf Agent software ............................... OK
Stopping the perfd daemon. ...................................... OK
Shutting down OSD Down Time software ............................ OK
Stopping USB hub daemon ......................................... OK
Stop auditing subsystem ......................................... OK
Stop environment monitoring daemon .............................. OK
Stop diagnostic subsystem ....................................... OK
Stop oserrlogd .................................................. OK
Stop clock daemon ............................................... OK
Stop print spooler .............................................. OK
Stop accounting ................................................. N/A
Stopping time synchronization ................................... OK
Stop vt daemon .................................................. OK
Terminating X Font Server ....................................... OK
Stop HA cluster WBEM subagent ................................... OK
Stopping HP-UX Secure Shell ..................................... OK
Stopping Instant Capacity ....................................... N/A
Stop CIM cimserver subsystem .................................... OK
Stop RPC daemon ................................................. OK
Stop DCE daemons ................................................ OK
Stop HA cluster SNMP subagent ................................... OK
Stopping OSPF MIB Network Management subAgent ................... N/A
Stopping SNMP HP-UNIX Network Management subAgent ............... OK
Stopping SNMP IPv6 Network Management subAgent .................. OK
Stopping SNMP MIB-2 Network Management subAgent ................. OK
Stopping Native Adapter Agent ................................... OK
Stopping SNMP Trap Dest Network Management subAgent ............. OK
Stopping SNMP Master Network Management daemon .................. OK
Stop HA cluster proxy daemon .................................... OK
Stopping outbound connection daemons for DDFA software .......... N/A
Stopping syslog-ng daemons ...................................... N/A
Stopping cfengine's cfservd daemon .............................. N/A
Shutting down sendmail [Done] Shutting down sm-client [Done] .... OK
Stopping IPv6 router advertisement daemon ....................... N/A
Stopping remote system status daemon ............................ N/A
Stopping RARP protocol daemon ................................... N/A
Stop PPPoE configuration ........................................ N/A
Stop PPP configuration .......................................... OK
Stopping router discover protocol daemon ........................ N/A
Stopping ramd routing daemon .................................... N/A
Stopping dynamic routing daemon ................................. N/A
Stopping Internet services daemon ............................... OK
Stopping multicast routing daemon ............................... N/A
Stop AUTOFS subsystem ........................................... OK
Stop NFS client subsystem ....................................... OK
Stop lock manager subsystem ..................................... OK
Stop NIS client subsystem ....................................... OK
Stop ldap client daemon ......................................... OK
Stop NIS/LDAP server subsystem .................................. N/A
Stop NIS server subsystem ....................................... OK
Stop NFS core subsystem ......................................... OK
Stopping name server daemon ..................................... N/A
Unconfiguring DHCPv6 Interfaces ................................. OK
Stopping DHCPv6 Server daemon ................................... N/A
Stopping sfmdb PostgreSQL daemons ............................... OK
Unconfigure LAN interfaces ...................................... OK
Unconfigure LAN interfaces for IPv6 ............................. OK
Unconfigure HP igssn Gigabit Ethernet interfaces ................ OK
Unconfigure HP gelan Gigabit Ethernet interfaces ................ OK
Unconfigure HP iether 100BT/Gigabit Ethernet interfaces ......... OK
Unconfigure HP igelan Gigabit Ethernet interfaces ............... OK
Stop ESM network daemon ......................................... OK
Stop network tracing and logging daemon ......................... OK
Stop pty allocator daemon ....................................... OK
Stop system message logging daemon .............................. OK
Stop Software Distributor agent daemon .......................... OK
Stop Essential Services monitoring daemon ....................... OK
Stopping Event Management (EVM) ................................. OK
Unconfigure Loopback interfaces (lo0) ........................... OK
Stop Utmp Daemon ................................................ OK
Stopping livedump subsystem ..................................... OK
Stop syncer daemon .............................................. OK
Killing user processes .......................................... OK
Starting the fsdaemon for transition into single-user mode ...... OK
Apply kernel configuration changes for next boot ................ OK
Unmount file systems ............................................ OK
Transition to run-level 0 is complete.
Executing "/sbin/reboot ".
Shutdown at 10:08 (in 0 minutes)
*** FINAL System shutdown message from hpfimhas@esesbux0006 ***
System going down IMMEDIATELY
System shutdown time has arrived
reboot: redirecting error messages to /dev/console
Connection to xxx closed by remote host.
Connection to xxx closed.
#
SHUTDOWN PROGRAM
05/10/11 10:06:27 METDST
Broadcast Message from XXX (pts/0) Tue May 10 10:06:27...
SYSTEM BEING BROUGHT DOWN NOW ! ! !
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
ovc instance NOT running
System shutdown in progress
___________________________
Stop Highly Available cluster ................................... N/A
Stopping Control Daemon ......................................... OK
Stopping OVTrcSrv ............................................... OK
Stoppping OVCM (radia) agent daemons ............................ OK
Stop LVM daemon ................................................. OK
Stop kwdbd ...................................................... N/A
Stopping HP-UX Apache-based Web Server .......................... OK
Stopping HP-UX Tomcat-based Servlet Engine. ..................... N/A
Stopping HP-UX Webmin-based Admin ............................... OK
Stopping the HPUX Webproxy subsystem ............................ OK
Stopping HP-UX XML Web Server Tools ............................. OK
Stop ESM network daemon ......................................... OK
Stop NFS server subsystem ....................................... OK
................................................................ OK
Collecting AVIO and VIO hba and lun inventory.. ................. OK
Shutting down CIFS Client ....................................... N/A
Stopping Event Monitoring Service ............................... OK
Stop interrupt balance daemon ................................... N/A
Shutting down the Winbind Daemon ................................ OK
Unload/Uninstall XF86 DLKM Helper Modules ....................... N/A
Stopping the gWLM Agent ......................................... OK
Stopping Data Protector services ................................ OK
Stop Workload Manager subsystem ................................. OK
Reset PRM and shut down PRM daemons ............................. OK
Shutting down the System Management HomePage server ............. OK
Shutting down Perf Agent software ............................... OK
Stopping the perfd daemon. ...................................... OK
Shutting down OSD Down Time software ............................ OK
Stopping USB hub daemon ......................................... OK
Stop auditing subsystem ......................................... OK
Stop environment monitoring daemon .............................. OK
Stop diagnostic subsystem ....................................... OK
Stop oserrlogd .................................................. OK
Stop clock daemon ............................................... OK
Stop print spooler .............................................. OK
Stop accounting ................................................. N/A
Stopping time synchronization ................................... OK
Stop vt daemon .................................................. OK
Terminating X Font Server ....................................... OK
Stop HA cluster WBEM subagent ................................... OK
Stopping HP-UX Secure Shell ..................................... OK
Stopping Instant Capacity ....................................... N/A
Stop CIM cimserver subsystem .................................... OK
Stop RPC daemon ................................................. OK
Stop DCE daemons ................................................ OK
Stop HA cluster SNMP subagent ................................... OK
Stopping OSPF MIB Network Management subAgent ................... N/A
Stopping SNMP HP-UNIX Network Management subAgent ............... OK
Stopping SNMP IPv6 Network Management subAgent .................. OK
Stopping SNMP MIB-2 Network Management subAgent ................. OK
Stopping Native Adapter Agent ................................... OK
Stopping SNMP Trap Dest Network Management subAgent ............. OK
Stopping SNMP Master Network Management daemon .................. OK
Stop HA cluster proxy daemon .................................... OK
Stopping outbound connection daemons for DDFA software .......... N/A
Stopping syslog-ng daemons ...................................... N/A
Stopping cfengine's cfservd daemon .............................. N/A
Shutting down sendmail [Done] Shutting down sm-client [Done] .... OK
Stopping IPv6 router advertisement daemon ....................... N/A
Stopping remote system status daemon ............................ N/A
Stopping RARP protocol daemon ................................... N/A
Stop PPPoE configuration ........................................ N/A
Stop PPP configuration .......................................... OK
Stopping router discover protocol daemon ........................ N/A
Stopping ramd routing daemon .................................... N/A
Stopping dynamic routing daemon ................................. N/A
Stopping Internet services daemon ............................... OK
Stopping multicast routing daemon ............................... N/A
Stop AUTOFS subsystem ........................................... OK
Stop NFS client subsystem ....................................... OK
Stop lock manager subsystem ..................................... OK
Stop NIS client subsystem ....................................... OK
Stop ldap client daemon ......................................... OK
Stop NIS/LDAP server subsystem .................................. N/A
Stop NIS server subsystem ....................................... OK
Stop NFS core subsystem ......................................... OK
Stopping name server daemon ..................................... N/A
Unconfiguring DHCPv6 Interfaces ................................. OK
Stopping DHCPv6 Server daemon ................................... N/A
Stopping sfmdb PostgreSQL daemons ............................... OK
Unconfigure LAN interfaces ...................................... OK
Unconfigure LAN interfaces for IPv6 ............................. OK
Unconfigure HP igssn Gigabit Ethernet interfaces ................ OK
Unconfigure HP gelan Gigabit Ethernet interfaces ................ OK
Unconfigure HP iether 100BT/Gigabit Ethernet interfaces ......... OK
Unconfigure HP igelan Gigabit Ethernet interfaces ............... OK
Stop ESM network daemon ......................................... OK
Stop network tracing and logging daemon ......................... OK
Stop pty allocator daemon ....................................... OK
Stop system message logging daemon .............................. OK
Stop Software Distributor agent daemon .......................... OK
Stop Essential Services monitoring daemon ....................... OK
Stopping Event Management (EVM) ................................. OK
Unconfigure Loopback interfaces (lo0) ........................... OK
Stop Utmp Daemon ................................................ OK
Stopping livedump subsystem ..................................... OK
Stop syncer daemon .............................................. OK
Killing user processes .......................................... OK
Starting the fsdaemon for transition into single-user mode ...... OK
Apply kernel configuration changes for next boot ................ OK
Unmount file systems ............................................ OK
Transition to run-level 0 is complete.
Executing "/sbin/reboot ".
Shutdown at 10:08 (in 0 minutes)
*** FINAL System shutdown message from hpfimhas@esesbux0006 ***
System going down IMMEDIATELY
System shutdown time has arrived
reboot: redirecting error messages to /dev/console
Connection to xxx closed by remote host.
Connection to xxx closed.
#
Redhat: Check NIC speed/duplex
[root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:56:A5:6E:28
inet addr:155.53.154.197 Bcast:155.53.155.255 Mask:255.255.254.0
inet6 addr: fe80::250:56ff:fea5:6e28/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2657820622 errors:0 dropped:0 overruns:0 frame:0
TX packets:2174534933 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3362843874812 (3.0 TiB) TX bytes:1238184921670 (1.1 TiB)
Base address:0x2000 Memory:d8920000-d8940000
[root]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
[root]#
eth0 Link encap:Ethernet HWaddr 00:50:56:A5:6E:28
inet addr:155.53.154.197 Bcast:155.53.155.255 Mask:255.255.254.0
inet6 addr: fe80::250:56ff:fea5:6e28/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2657820622 errors:0 dropped:0 overruns:0 frame:0
TX packets:2174534933 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3362843874812 (3.0 TiB) TX bytes:1238184921670 (1.1 TiB)
Base address:0x2000 Memory:d8920000-d8940000
[root]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
[root]#
Subscribe to:
Posts (Atom)
UNIX: How to print column nicely using printf
[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...
-
This does increase the amount of CPU and I/O that both your sending and receiving side use, but I’ve been able to run ~25 parallel instance...
-
syntax: rmvterm –m {msys} –p {lpar} # rmvterm -m Server-9117-570-SN103FACD_B -p WBITVIO2
-
Cluster operations Start VCS hastart [-force-stale] hasys -force system Stop VCS hastop -local [-force-evacuate] hastop -sys system [-force-...