IBM Netezza System Administrator's Guide
Total Page:16
File Type:pdf, Size:1020Kb
IBM Netezza 7.0 and Later IBM Netezza System Administrator’s Guide Revised: October 9, 2012 20282-20 Rev. 1 Note: Before using this information and the product that it supports, read the information in “Notices and Trademarks” on page E-1. © Copyright IBM Corporation 2001, 2012. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Preface 1 Administration Overview Administrator’s Roles. 1-1 Administration Tasks . 1-1 Initial System Setup and Information . 1-2 Netezza Software Directories . 1-3 Managing the External Network Connections . 1-5 Managing Domain Name Service (DNS) Updates . 1-5 Setting up Remote Access . 1-7 Administration Interfaces . 1-7 Other Netezza Documentation. 1-8 2 Installing the Netezza Client Software Client Software Packages . 2-2 Installing the Netezza CLI Client on a Linux/UNIX System . 2-3 Installing on Linux/UNIX Clients . 2-3 Setting the Path for Netezza CLI Client Commands. 2-5 Removing the CLI Clients from UNIX Systems . 2-5 Installing the Netezza Tools on a Windows Client . 2-5 Installation Requirements. 2-5 Installing the Netezza Tools . 2-6 Environment Variables . 2-7 Removing the IBM Netezza Tools . 2-7 Installing the Web Admin Interface . 2-7 Installing the RPM and Shared Library Files. 2-8 Installing the Web Admin Server and Application Files . 2-8 Upgrading the Web Admin Interface . 2-10 Removing the Web Admin Interface. 2-10 Contents of the WebAdmin Directory . 2-10 Installing the Netezza SSL Site Certificate . 2-11 Clients and Unicode Characters . 2-11 Client Timeout Controls . 2-12 Netezza Port Numbers . 2-13 Changing the Default Port Numbers . 2-13 iii Specifying Non-Default NPS Port Numbers for Clients . 2-14 Creating Encrypted Passwords . 2-15 Using Stored Passwords . 2-16 3 Using the Netezza Administration Interfaces Netezza CLI Overview . 3-1 Summary of Commands . 3-2 Command Locations . 3-4 Netezza CLI Command Syntax . 3-5 Using the Netezza Commands . 3-6 Specifying Identifiers in Commands . 3-6 SQL Command Overview . 3-7 nzsql Command . 3-7 NzAdmin Tool Overview . 3-11 Client Compatibility . 3-11 Starting the NzAdmin Tool . 3-12 Logging In to NzAdmin . 3-12 Connecting to the Netezza System . 3-13 Displaying System Components. 3-14 Interpreting the Color Status Indicators . 3-14 Main Menu Commands . 3-15 Using the NzAdmin Tool Hyperlinks . 3-16 Administration Commands . 3-17 Setting Automatic Refresh . 3-17 Controlling NzAdmin Session Termination . 3-19 Web Admin Overview . 3-19 Using the Web Admin Application. 3-20 Understanding the Web Admin Page Layout . 3-20 4 Managing Netezza HA Systems Linux-HA and DRBD Overview . 4-1 Differences with the Previous Netezza HA Solution . 4-2 Linux-HA Administration . 4-3 Heartbeat Configuration . 4-3 CIB . 4-3 Important Information about Host 1 and Host 2 . 4-3 Managing Failover Timers. 4-4 Netezza Cluster Management Scripts. 4-4 iv Identifying the Active and Standby Nodes . 4-5 Monitoring the Cluster and Resource Group Status . 4-6 nps Resource Group. 4-7 Failover Criteria . 4-8 Relocate to the Standby Node. 4-9 Safe Manual Control of the Hosts (And Heartbeat) . 4-9 Transition to Maintenance (Non-Heartbeat) Mode . 4-10 Transitioning from Maintenance to Clustering Mode . 4-11 Cluster Manager Events . 4-12 Logging and Messages . 4-13 DRBD Administration. 4-13 Monitoring DRBD Status . 4-14 Sample DRBD Status Output . 4-15 Split-Brain . 4-15 Administration Reference and Troubleshooting . 4-16 IP Address Requirements . 4-17 Forcing Heartbeat to Shutdown . 4-17 Shutting Down Heartbeat on Both Nodes without Causing Relocate . 4-17 Restarting Heartbeat after Maintenance Network Issues . 4-17 Resolving Configuration Problems . 4-18 Fixed a Problem, but crm_mon Still Shows Failed Items . 4-18 Output From crm_mon Does Not Show the nps Resource Group . 4-18 Linux Users and Groups Required for HA . ..