Session 16B - HP-UX System Administration Part 2

19
Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II © 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice HP-UX System Administration Tools HP IBM Alliance Team Hewlett-Packard Company

Transcript of Session 16B - HP-UX System Administration Part 2

Page 1: Session 16B - HP-UX System Administration Part 2

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II

© 2005 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice

HP-UX System Administration Tools

HP IBM Alliance TeamHewlett-Packard Company

Page 2: Session 16B - HP-UX System Administration Part 2
Page 3: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-1

July 23, 2006 2

AgendaHP-UX System Administration – Part 2

• pdweb• Configuring hardware device / OLAR

• Kcweb• Configuring kernel parameters• Viewing kernel resource usages• Configuring drivers into the kernel

• Software Distributor• swlist• Swinstall

• Other Resources

July 23, 2006 3

What is HP SIM? After

HP SIM(HP-UX, Linux or Windows)

Proliant/Win32, /Lin32, Proliant/AMD/Win64, /Lin64

Itanium servers running Windows 64, Linux 64, and HP-UX

PA-RISC servers running HP-UX, Linux 32

With HP SIM

Same management consoles managing all hardware and operating systems Or any combination you choose!

Overview

Insight Manager TopTools(Windows)

Service Control Manager, System

Inventory Manager(HP-UX or Linux)

IA-32 servers running Windows and Linux 32

Itanium servers running Windows, Linux

PA-RISC servers running HP-UX, Linux 32 Proliant –Linux 32

Before HP SIM

Different management consoles managing different hardware and operating systems

Itanium servers running HP-UX, Linux

Page 4: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-2

July 23, 2006 4

disk subsystem• drive configuration• capacity utilization• performance• array controller health• asset information• prefailure warranty

network adapters• link through-put• packet error rate• controller failure• asset information

processor• CPU utilization• processor state• temperature• prefailure warranty• asset information

memory• memory configuration• speed and type• prefailure warranty

PCI adapters• adapter configuration• asset information

environment• internal temperature• fan operation

managed server• vendor• model number• physical location• asset information• operating system

secure link128 bit SSL encryption

notification • visual alerts• phone alerts• email alerts• user defined thresholds

response • browser-based remote access• access from anywhere• proactive tasks

Web-enabled and SNMP Agents for Windows, Linux, NetWare, OVMS, Tru64 servers, Windows clients.

SNMP, DMI and WBEM Agents for PA-RISC and Itanium based servers

Standards-based support through SNMP, WBEM,

WMI & DMI for third party devices

SSH for all OS and environments (optional)

Multi-System ManagementTheory of Operation

July 23, 2006 5

Workload Management

• Process Resource Manager• HP-UX Workload Manager• GlancePlus Pak

Central Point of Administration

Discovery, inventory, fault & remote management, role-based security, distributed tasks

•HP Systems Insight Manager

Systems Management for HP-UX 11i: Delivering The Most Manageable Platforms with Best RoIT

Configuration Management

• Systems Administration Manager (SAM)

• Partition Manager• HP-UX Bastille• HP-UX webmin-based Admin

Note: HP Systems Insight Manager replaces HP Servicecontrol Manager.

Software Deployment

• Ignite-UX• Software Distributor-UX• Update-UX• Patch Assessment Tool• Security Patch Check

Page 5: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-3

July 23, 2006 6

Installing HP SIM on HP-UX• Remove any older versions (including SCM)

• Also remove directories left behind after uninstall• swinstall –s /HPSIM-HP-UX_C.05.00.05.00_11.23.depot \*• Initialize the database

• /opt/mx/bin/mxinitconfig –a• Wait for the initialization to complete

• Check with /opt/mx/bin/mxuser –lt• If the user is present, init is complete

• Setup SSH• cat /etc/opt/mx/config/sshtools/.dtfSshKey.pub >>

~/.ssh/authorized_keys2• Verify services started

• ps –ef | grep mx• Look for mxdomainmgr, mxinventory, mxadmin, mxdtf, mxagent

July 23, 2006 7

Setting up a managed HP-UX system

• Providers, Monitors, EMS: Health Monitoring• WBEM Providers available on software.hp.com

• Part of System Fault Management (SysFaultMgmt)• Includes EMS Wrapper

• Monitors, EMS• Part of the Diagnostic package

• WBEM, SNMP: Eventing• A.02.00: For HP-UX 11i v1

• Transports Events from Specific Hardware/OS Providers and EMS Events using the EMS Wrapper

• SNMP for all others• Monitors must be configured (EMS)

• SSH: Remote Task Execution• Available for 11.0, 11i v1 and v2

Page 6: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-4

July 23, 2006 8

Getting the required files:www.hp.com/go/hpsim

July 23, 2006 9

Getting the required files:www.hp.com/go/wbem

Page 7: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-5

July 23, 2006 10

Getting the required files:docs.hp.com/hpux/diag/

July 23, 2006 11

HP SIM• Connect to HP SIM via http://localhost:280

Page 8: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-6

July 23, 2006 12

HP Systems Insight Manager:Distributed Task Facility (DTF) makes single-system aware tools multi-system aware

central management

server (CMS)

managed node

tool

managed node

tool

managed node

tool

central management

server (CMS)

managed node

managed node

managed nodetool

Single-system awaremulti-system aware(e.g., Ignite, SD)

Note: functionality not available for SAM and Partition Manager

July 23, 2006 13

Extending HP SIM through custom tools and SSH

Command line usage Example Usage Scenario: What systems are running a specific application or patch

Easy – just run an HP SIM task such as swlist, ps or find with appropriate parameters across all your servers and grep through the output, looking for all those that have the specific application trace.

toolcentral management

server (CMS)

tool

tool

SSH

SSH

SSH

Page 9: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-7

July 23, 2006 14

Extending HP SIM through custom tools and SSH

July 23, 2006 15

Web Interfaces

HPUX Web Interfaces- System – Management – Homepage- PDWEB – OLAR- KCWEB – Kernel configuration- Partition Manager- WEB Console- SLWEB – View System Events- HPUX web server suite- Array Configuration Utility

Page 10: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-8

July 23, 2006 16

System Management Homepage

Single Point of Access to the WEB based tools.

Installation Packages are available on the HP Website.

Login to the System Management Homepage:https://<hostname>:2381/

System Management Homepage Navigation Areas

System Operating System System ConfigurationSystem Summary Memory Utilization Accounts for Users and GroupsCooling Network Information Disks and File SystemsPhysical Memory Process Information Kernel ConfigurationPower Peripheral DevicesProcessors SoftwareTemperature Software BundlesVoltage Software Products

July 23, 2006 17

System Management Homepage

Page 11: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-9

July 23, 2006 18

Peripheral Device WEB Interface –the OLAR WEB Interface

• Perform OLAR operations

•Start the tool:pdweb –s start

•login with the following link:https://<hostname>:1188/common/

•Stop the tool:pdweb –s stop

Alternative:- SAM character mode- Command line Interface

(olrad command)

July 23, 2006 19

Peripheral Device WEB Interface –the OLAR WEB Interface

Page 12: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-10

July 23, 2006 20

Peripheral Device WEB Interface –the OLAR WEB Interface

July 23, 2006 21

Kernel Configuration WEB Interface • View and change the HP-UX Kernel configuration

•Start the tool:kcweb –s start

•login with the following link:https://<hostname>:1188/casey/

•Stop the tool:kcweb –s stop

Alternative:- SAM character mode- Command line Interface

(kctune, kconfig, kcmodule)

Page 13: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-11

July 23, 2006 22

Kernel ConfigurationFeatures üReplaces SAM’s kernel

configuration areaüDynamic discovery of kernel

tunable updatesüKernel tunable usage chartsüStatic/dynamic kernel tunable

tuningüDLKM supportüSet alarms for kernel tunablesüEasy access to kernel

monitoring informationüCapability to analyze top

consumers of certain kernel parametersüDisplays kernel tunable man

pages

July 23, 2006 23

Kernel Configuration WEB Interface

Page 14: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-12

July 23, 2006 24

Kernel Configuration WEB Interface

July 23, 2006 25

Partition Manager• Configure Partitions in the Complex

•Start the tool:/opt/parmgr/bin/parmgr –s start

•login with the following link:https://<hostname>:50000/parmgr

•Stop the tool:/opt/parmgr/bin/parmgr –s stop

Alternative:Use the Partition Manager CLIparcreate, parmodify, ….

Page 15: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-13

July 23, 2006 26

Partition Manager

July 23, 2006 27

Partition Manager

Page 16: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-14

July 23, 2006 28

SLWEB – View Event logs • View the Event Logs stored on the HPUX file system:

•Start the tool:/usr/sbin/diag/contrib/slweb –s start

•login with the following link:https://<hostname>:1188/sl/sl.cgi

•Stop the tool:/usr/sbin/diag/contrib/slweb –s stop

Alternative:- Command line Interface

(slview command)

July 23, 2006 29

SLWEB – View System Event logs

Page 17: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-15

July 23, 2006 30

SLWEB – View System Event logs

July 23, 2006 31

MP – Web Console • Console Access via a WEB Interface:

•Enable the WEB Interface:MP:CM> SA - commandoption: W – Web console

•login with the following link:https://<MP IP Adress>

! JAVA required !

Alternative:- Use SSH or Telnet for Remote Access to the MP

Page 18: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-16

July 23, 2006 32

MP – Web Console

July 23, 2006 33

HP-UX Web Server Suite

Page 19: Session 16B - HP-UX System Administration Part 2

HP-UX System Administration II

Copyright © 2006 HP corporate presentation. All rights reserved. HP-UX System Administration II 16B-17

July 23, 2006 34

Partition Manager - Windows

July 23, 2006 35

Array Configuration UtilitySmart Array Controller