Installation Guide: Capacity Planner 2.8
Installation Guide: Capacity Planner 2.8
This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
EN-000531-00
Installation Guide
You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: [email protected]
Copyright 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
VMware, Inc.
Contents
1 Preinstallation Requirements 7
Identifying System Connections 7 Data Collection Methods 7 Data Manager System Requirements 8 Target System Platforms 10 Security, Network, and Firewall Requirements Preinstallation Checklist 13
11
Download the Installation Package Install a New Collector 18 Upgrade an Existing Collector 19 Start the Data Manager 19 Verify Administrator Account 20 Automatic Collector Updates 21
17
Index 25
VMware, Inc.
Installation Guide
VMware, Inc.
The Capacity Planner Installation Guide provides the installation prerequisites and installation and uninstallation instructions for VMware Capacity Planner.
Intended Audience
This book is intended for technical VMware personnel (consultants, PSO, training, tech support, and so on) and VMware partners who are responsible for installing and using VMware Capacity Planner in assessment engagements.
Capacity Planner 2.8 Installation Guide. Explains preinstallation preparation and planning, installation requirements, installing, initial setup and configuration, and uninstalling. Capacity Planner 2.8 Troubleshooting Guide. Describes common issues that might occur, such as problems with connectivity, discovery, or data collection, and tips for fixing the problem. Capacity Planner 2.8 Reference Guide. Provides detailed information about inventory objects, performance counters, Linux and UNIX utilities, and Linux and UNIX data collection scripts. Capacity Planner 2.8 Release Notes. Late-breaking news and description of known issues and workaround. Capacity Planner online help. Conceptual and procedural information to help you complete a task.
n n
VMware, Inc.
Installation Guide
VMware, Inc.
Preinstallation Requirements
Before you install the Data Manager on a host system, assessment team, collector, target system, and network preinstallation requirements must be met. The consultant conducting the assessment must be certified for implementing Capacity Planner and have Windows, Linux, UNIX, and networking expertise. This chapter includes the following topics:
n n n n n n
Identifying System Connections, on page 7 Data Collection Methods, on page 7 Data Manager System Requirements, on page 8 Target System Platforms, on page 10 Security, Network, and Firewall Requirements, on page 11 Preinstallation Checklist, on page 13
VMware, Inc.
Installation Guide
Linux and UNIX data collection is done through shell scripts using standard Linux and UNIX utilities to collect data from the target machines. The following methods are used to collect data:
n n
Running shell scripts remotely from the collector machine Running shell scripts locally that are installed and run on the target machine
Microsoft Windows 2000 (Server or Professional) SP3 Microsoft Windows XP Professional Microsoft Windows Vista Microsoft Windows Server 2003 SP1
VMware, Inc.
NOTE The Collector can be installed on a 64-bit system and collect data, but it runs in 32-bit mode. The system that the Collector is installed on must meet the following requirements:
n n n
If the Collector is installed on a Windows Server 2003 system, the Win32_Product class must be installed. Windows Management Instrumentation (WMI) or Remote Registry must be installed. The Internet connection must have network bandwidth of 20,000 bytes/sec during collection.
Requirements Table CAUTION If you are installing the Collector on Windows Server 2003 and are collecting from Windows 2000 systems, you must use Windows Server 2003 R2 SP2 only. Table 1-2. Collector System Requirements
Category Host system Operating system Minimum Requirement Physical or virtual machine Windows 2000 (Server or Professional) Windows XP Professional Windows Server 2003 Minimum 1.5GHz CPU Minimum 1GB RAM 2GB of free disk space Connection to the Internet Connection enables access to the Capacity Planner Dashboard from the Collector's system. Comments One collector can monitor up to 500 systems, although 250 is usual.
n n
English Windows version required If installed on Windows XP SP2, the Windows firewall must be turned off.
Browser
VMware, Inc.
Installation Guide
When you specify the account during installation, the installer checks for these privileges and notifies you that they are not set up. You can take one of the following actions: n Cancel the installation, grant the permissions to the user, and restart the installation. When the installation is finished, the service starts up. n Proceed with the installation and let it complete. The service does not start up at that time. Grant the permissions to the user and manually start the service before proceeding to set up the collector.
Supported Platforms
Platforms might be added or deleted at any time. Check the release notes for changes to the list of supported platforms. Table 1-3. Supported Target System Platforms
Microsoft Windows Windows 2000 Server / Advanced Server / Datacenter Windows 2000 Server (64-bit Itanium) Windows 2000 Professional Workstation Windows XP Professional Windows XP Professional (64-bit x86 / EM64T / AMD64) Windows Server 2003 Windows Server 2003 (64-bit Itanium) Windows Server 2003 (64-bit x86 / EM64T / AMD64) Windows Vista Enterprise Windows Vista Business Windows Vista Ultimate Windows 7 Windows Server 2008 Windows Server 2008 R2 Linux and UNIX Sun Solaris 7 (SPARC) Sun Solaris 8 (SPARC) Sun Solaris 9 (SPARC) Sun Solaris 9 (x86) Sun Solaris 10 (SPARC) Sun Solaris 10 (x86) HP-UX 10.xx (PA-RISC) HP-UX 11 (PA-RISC) HP-UX 11.11 (PA-RISC) HP-UX 11.22 (PA-RISC) HP-UX 11.23 (Itanium) SUSE Linux Enterprise 11 SUSE Linux Enterprise Server 9 SUSE Linux 10 SUSE Linux 9 SUSE Linux 8 RedHat Linux 9 RedHat Linux 8
10
VMware, Inc.
Security Requirements
The collector must be able to use specific protocols and ports to connect to all of the target systems to be monitored. The collector uses these ports to pass the credentials to the target system and to collect the data. The required ports are general-purpose communication ports that are used for file and print sharing and authentication. On Windows systems, the following ports must be open for a TCP connection: 135, 137 through 139, and 445. On Linux and UNIX systems, port 22 is required for Secure Shell (SSH).
Trusted Domains
The collector host does not have to be in a trusted domain. The fully qualified account that the collector uses for connection to the target systems must be one of the following accounts:
n n n
Account of the target system Account of the target system domain Account of a trusted domain of the target system
NOTE Trust relationships are transitive in Windows 2000 and later. The trust relationship extended to one domain is extended to any other domain that the domain trusts. The following example illustrates the transitive trust relationship:
n
VMware, Inc.
11
Installation Guide
n n n n n
Computer C belongs to Domain C. Domain B trusts Domain A, allowing Domain A users to connect to Domain B systems. Domain C trusts Domain B, allowing Domain B users to connect to Domain C systems. Domain C trusts Domain A and allows Domain A users to connect to Domain C systems. Computer C (a system in Domain C) allows connection from User A (a Domain A user).
Transitive trust relationships did not exist for Windows NT 4.0 or Windows systems that preceded Windows 2000. Windows NT 4.0 accounts must be in the same domain as the collector or in a directly trusted domain.
Account Privileges
An account with local administrative rights to the target system is required to collect information. On Windows systems, the collector gathers inventory and performance data through WMI, the registry, and Perfmon. The quickest way to collect information is through a domain administrator account or any account with administrator rights to all or most of the target systems. If no appropriate domain account exists, you can specify an account for each system after the collector discovers it. For Linux or UNIX systems, data is collected using several SSH scripts:
n n n n n n aog_setup.sh aog_inv.sh aog_inv_cron.sh aog_perf.sh aog_perf_cron.sh aog_config_perf.sh
If you are not using the Data Manager to collect the data from the target Linux and UNIX machines, root access or an account with sudo privileges is required to run the shell scripts from the command line. Root access is required to use tools such as showmount and dmidecode.
12
VMware, Inc.
Network Authentication
Network authentication requires that file and print services and remote procedure calls (RPCs) are enabled on target Windows systems. If the collector uses a domain account, you must be able to contact a domain controller to authenticate the account.
Firewall Considerations
Firewalls protect the resources of private networks from unauthorized users from other networks. Firewalls can also prevent access by legitimate administrative users. With the collector, you can specify an account that allows one of the following connections to a target system or trusted domain.
n
A direct connection between a target system or a group of target systems and the collector or a trusted domain A local account in the domain containing the target system A local account on the target system
n n
A firewall can affect a trust relationship. For example, a firewall might be open for the collector to connect to a target system with a domain account, but the firewall might inhibit connection from that system to a trusted domain to validate the provided account. When a firewall is present within a network, install the collector and Data Manager on an additional system that resides within the firewall.
Bandwidth Use
You must consider how data collection on the network affects the rated network bandwidth. In general, peaks of 20,000 bytes per second can be expected for each collector when it requests inventory data or when it collects performance data. The performance data peak estimate presumes the collection of 500 performance counters per collection from four target systems.
Preinstallation Checklist
The preinstallation checklist is designed to be used when you prepare for the initiation of an assessment.
n
Assessment Team on page 14 The assessment team should have a certain level of expertise before using Capacity Planner. Collector Systems Information on page 14 Before you can install the collector, you must compile information about the systems that you are collecting information from.
Target Systems Information on page 14 Before you can install the collector, you must collect information about the target systems and have certain items enabled..
Network Requirements on page 15 Before you can install the collector, gather the network requirements.
VMware, Inc.
13
Installation Guide
Assessment Team
The assessment team should have a certain level of expertise before using Capacity Planner. The requirements for the assessment team are:
n n n
Be familiar with VMware Capacity Planner concepts and requirements for setting up a collector. Be certified for implementing Capacity Planner. Purchase appropriate services for the assessment and obtain instructions for how to download the installation file. Have Windows, Linux, or UNIX expertise in these areas.
n n n
Obtain access to the installation download file. Calculate the number of systems to use for hosting the collector by dividing the number of expected target system by 500. Determine the location or collector host. Determine the date of availability of host systems for installation of the collector. Determine whether each host system meets minimum system requirements. On each collector, obtain an administrator-level account to set up for the collector. An administrator account is also required to install the collector and Data Manager.
n n n n
Servers
14
VMware, Inc.
n n
Workstations
Number of target systems for full analysis. The analysis includes discovery, inventory, and performance data collection. Servers Workstations
n n
DMZ
n n n
Number of target servers in the DMZ. You might have to install a collector in the DMZ. Have administrator privileges for each target system Have all target systems listed on the collector
On each target Windows system, verify that the following items are enabled:
n n n n
Windows Management Instrumentation (WMI) Remote Registry Performance Monitor (Perfmon) File and print services
On each target UNIX or Linux system, verify that port 22 is open and the sshd daemon is running and available.
Network Requirements
Before you can install the collector, gather the network requirements. Have the following information available:
n n
User ID, password, and port numbers for the proxy server, if required Sufficient network bandwidth to collect performance data from all target systems within a one-hour period Bandwidth is determined by the number of systems targeted for full analysis and the number of performance counters designated for the collection.
VMware, Inc.
15
Installation Guide
16
VMware, Inc.
After you download the collector, you install it using the installer program. To create a clean installation on a system that has a previous version of the collector and existing data that you no longer want to keep, uninstall the collector before running the installer. If you have a version of the collector installed and you want to retain the existing data, the installer retains any existing data that you defined and collected. Before you begin the installation process, you must know the user ID and password for the administrative account that is specified as the collector service account. NOTE If the installer program detects that an older version of Capacity Planner is installed, it offers to uninstall it. This method of uninstalling the application does not remove the old data. Because the collector attempts to update the old database, remove the old installation before you begin the new installation. This chapter includes the following topics:
n n n n n n
Download the Installation Package, on page 17 Install a New Collector, on page 18 Upgrade an Existing Collector, on page 19 Start the Data Manager, on page 19 Verify Administrator Account, on page 20 Automatic Collector Updates, on page 21
VMware, Inc.
17
Installation Guide
The user is assigned to the local Administrators group. The specific user, or a group it belongs to, such as the Administrators group, has permission to log in to Windows as a service.
Procedure 1 2 3 4 5 6 (Optional) Uninstall the existing version for a clean installation. Double-click the installer file you downloaded. Click Run. Accept the defaults by clicking Next. Click Yes to accept the terms of the license agreement. Select a destination folder.
Option Accept the default destination folder Select an alternative destination folder Action Click Next . Click Change, select an alternative destination folder, and click Next.
7 8 9 10
Type the user name, password, and domain to use as the service account for this collector and click OK. Click Install. (Optional) If the installation program encounters Windows error 1931, click OK, continue the installation, and see the Windows online help for more information. Click Finish.
18
VMware, Inc.
If the previous installation is the same version as the current installation, the installer uninstalls the collector. You must run the installer again to install the new collector. If the previous installation is an earlier version of Capacity Planner, the installer upgrades the collector.
The automatic upgrade retains all of the settings from the previous installation and allows you to continue your assessment with the newly installed software. If you retain the database from the previous installation, the Data Manager does not start the setup wizard for this new collector. You must manually run the wizard after installing the new collector. Procedure 1 2 3 Double-click the Capacity Planner installation file that you downloaded. Click Run. Click Yes. When the wizard completes the configuration of the Windows Installer, the wizard indicates that it is resuming the installation. 4 Click Next. The wizard installs Capacity Planner. You might have to restart your system if changes were made to the Windows Registry. 5 Click Finish. When you restart your computer, the collector service starts. What to do next Verify the state of the collector service.
VMware, Inc.
19
Installation Guide
What to do next Verify that an administrator-level account with the privilege to log in as a service is defined as This account and that the service is not running as a local system account.
User Credentials
You must enter valid user credentials for authentication. The collector runs as an automatic Windows service that starts whenever its host system is started. At the end of the installation process, the installer registers and starts the service. With the account information that you provide in the setup wizard, the installer attempts to authenticate the user. If authentication fails, a message box appears. Enter valid user credentials. If authentication succeeds, the installer checks whether the account has permission to log in to Windows as a service on either the user or group level. If the account does not have permission, the installer automatically assigns permission to the account in the local system policy of the host system and proceeds with the installation. The installer cannot register or start the service if any domain policy blocks it. If this occurs, specify another service account. After the collector service starts, control of the actual data collection is guided by configurations that you set for the data collection jobs. Table 2-1 summarizes the variations of user credentials that can be specified and the resulting installer action. Table 2-1. User Credentials and Installer Action
Type of Account Domain Local Administrator? Yes User Name Valid Valid Invalid Valid Domain No Valid Valid Password Valid Valid Valid Invalid Valid Invalid Domain Name Valid Blank Valid Valid Valid Valid Installer Action (Authentication) Passes Assumes account is a local account and authenticates as such. Fails Fails Passes, but service does not start. Fails
20
VMware, Inc.
No
Valid
Valid
If the machine you install the collector on is not in a domain (that is, it is in a workgroup), you can leave the domain name field blank and the installer automatically adds the system name.
Collector binaries Third-party binaries UNIX scripts Other utility scripts Updater component Product manifest file that contains information about all the components in the collector, including name, location, and checksum information Any new package that contains new components
When an automatic update occurs, the Data Manager shuts down and the Collector Service restarts.
Verify Update
After an update you must verify that the checksums of the newly downloaded components match those in the Dashboard manifest. During an automatic update, the manifest from the Capacity Planner Dashboard is downloaded to the Collector as part of a data synchronization task. The Dashboard manifest is compared to the collector manifest. If the checksums of the manifest files match, the collector is current and no update is necessary. If they do not match, the changed components are downloaded from the Dashboard and installed in the collector. If errors are found, they are logged in the collector log file, the update is canceled, and the update failure is reported to the Dashboard. Procedure 1 2 3 Select Admin > Options. Select the Jobs tab. Double-click the Scheduled - Data Synchronize job.
VMware, Inc.
21
Installation Guide
4 5 6
Select the Tasks tab. Double-click Data Synchronization. Select Download and install product updates.
22
VMware, Inc.
After you complete the assessment, you must remove the Data Manager and the Collector. You should also remove the directory structure and the data files. This chapter includes the following topics:
n n
Uninstall a Collector Service, on page 23 Remove the Data Manager and Data Files, on page 23
Stops any processes that are running. Stops the service (if it is running). Deletes the service and the list of system services from the system. Returns to the main Data Manager window.
4 5
To confirm that the collector service is uninstalled, select Admin > Collector menu. Close the Data Manager window.
VMware, Inc.
23
Installation Guide
24
VMware, Inc.
Index
A
account privileges 12 accounts for installation 20 Active Directory 8 AIX systems supported 10 assessment, pre-installation checklist 14 authentication, requirements 13
F
file and print sharing 7 firewalls, considerations about 13
G
Global Connection Account 18
H
host system account required 11 determining number of 9 requirements 8 HP-UX systems supported 10
B
bandwidth utilization during collection 13 binaries 21 browser 8
C
checklist assessment team pre-installation 14 collector pre-installation 14 network systems pre-installation 15 pre-installation 13 target systems preinstallation 14 checksum 21 collection, impact on system bandwidth 13 collector, service 20 Collector account information 12 host system requirements 8 install 17 pre-installation checklist 14 collector deprecation 8 collector host 8 collector service, account 18 component updates 22 connection accounts 12 CPU 8
I
impact of collection 13 installation, user credentials 20 installation package 17 installer 19 intended audience 5
L
Linux collection 11 Linux utilities 7
M
manifest checksum 22 memory 8 Microsoft Jet database 12
N
nbstat 7 network connections, requirements 13 network systems preinstallation checklist 15 number of host systems 9
D
data files 23 Data Manager 19 Data Manager,remove 23 data synchronization 21 directory structure 23 domain, policy for services 20
P
Perfmon 7 platforms supported 10 pre-installation checklist 13 preinstallation 7 privileges, Collector accounts 12 product manifest 21
VMware, Inc.
25
Installation Guide
R
realistic performance statistic 9 RedHat Linux systems supported 10 Remote Registry 7, 8 requirements Collector host system 8 host system account 11 Linux and UNIX 11 network connection 13 security and network 11 RPC monitor 7
WMI 7, 8
S
security requirements 11 service domain policy 20 Service Properties dialog 20 SSH 7 status, collector service 20 Sun Solaris systems supported 10 supported platforms 10 SUSE Linux systems supported 10 system connections 7 system requirements 8 systems supported 10
T
target systems, UNIX and Linux 11 target systems preinstallation checklist 14 target systems supported 10 trusted domains 11
U
uninstall collector 23 uninstalling 23 UNIX 21 UNIX collection 11 UNIX utilities 7 updater 21 upgrade 19 user account 9 user credentials for installation 20 utility scripts 21 utilization of bandwidth 13
V
verify update 21 VMware Capacity Planner Service Properties dialog 20
W
WAN 9 Windows Registry 19
26
VMware, Inc.