Sunteți pe pagina 1din 23

Lesson 2

Installing Storage Foundation and Accessing


SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.

CONFIDENTIAL - NOT FOR DISTRIBUTION


35
Copyright © 2014 Symantec Corporation. All rights reserved.

CONFIDENTIAL - NOT FOR DISTRIBUTION


36 2–2 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
2

Preparing to install Storage Foundation


OS version compatibility
Before installing Storage Foundation, ensure that the version of Storage
Foundation that you are installing is compatible with the version of the operating
system that you are running. You may need to upgrade your operating system
before you install the latest Storage Foundation version.
Check the Veritas Storage Foundation Release Notes for additional operating
system requirements.
Copyright © 2014 Symantec Corporation. All rights reserved.

CONFIDENTIAL - NOT FOR DISTRIBUTION


37 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–3
Storage Foundation packaging
For the Unix and Linux platforms, Storage Foundation 6.x is available in three
different product levels:
• Storage Foundation Basic:
Intended for smaller systems, Storage Foundation Basic provides the same
robust storage management features of Storage Foundation Standard, but is
designed for system workloads that do not exceed four volumes and/or four
file systems, and/or two processors/sockets in a single physical system. This is
a free license, support subscription version of Storage Foundation.
• Storage Foundation Standard:
This option includes Volume Manager, File System, Veritas Operations
Manager (VOM), Dynamic Multi-pathing (DMP), Cross-platform Data
Sharing (CDS—also known as portable data containers: PDC), SmartTier
Copyright © 2014 Symantec Corporation. All rights reserved.

(previously known as Dynamic Storage Tiering), and file system data


compression.
• Storage Foundation Enterprise:
This option includes everything from the SF Standard version including
Volume Manager, File System, VOM, DMP, PDC, SmartTier, and data
compression and adds support for FlashSnap, storage checkpoints, importing
LUN snapshots, the site awareness feature, FileSnap, and file system
deduplication. These features are described in detail later in the course.

CONFIDENTIAL - NOT FOR DISTRIBUTION


38 2–4 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
2

Other products with Storage Foundation


Storage Foundation licenses are also available in combination with other products:
• Storage Foundation Standard High Availability license includes the Veritas
Cluster Server product with the database and application agents as well as
Storage Foundation Standard. The enterprise version of this product is also
available.
• The disaster recovery version enables global clustering with VCS and also
includes the replication agents with automatic fire drill capability.
• The Storage Foundation Cluster File System product provides cluster volume
manager and cluster file system capability for concurrent access to data from
multiple systems.
• The Storage Foundation for Oracle RAC product is used in parallel Oracle
database environments.
Copyright © 2014 Symantec Corporation. All rights reserved.

• The Symantec VirtualStore product provides datastore capability for VMware


environments with very high storage optimizations.
• Veritas Replicator is an additional option that includes both Veritas Volume
Replicator (VVR) and Veritas File Replicator (VFR) options. Veritas Volume
Replicator enables synchronous or asynchronous data replication across
multiple SF sites.
• Veritas File Replicator is also available as a separate option on its own. VFR is
new with the 6.x release and provides periodic file system replication support
on Linux platforms.

CONFIDENTIAL - NOT FOR DISTRIBUTION


39 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–5
Licensing selection
During SF installation after you select the product to install, you are prompted to
agree with the End User License Agreement. The agreement is provided in the
EULA.pdf file on the distribution media. The installation utility quits the
installation if you do not reply y to this question.
The diagram in the slide shows the two possible paths for licensing SF 6.x. The
boxes at the lower part of the slide show the traditional licensing methodology
based on the same keys used in 5.0 and earlier versions of Storage Foundation.
The path at the top of the slide shows how the installer handles the keyless
licensing option.
When keyless licensing is selected, the user is not required to type a license key. If
the system being installed is immediately configured as a managed host connected
to a Veritas Operations Manager management server, the license is considered
Copyright © 2014 Symantec Corporation. All rights reserved.

valid and no future action is necessary.

Note: Veritas Operations Manager is an additional free centralized management


solution that you can download and install to manage multiple SF servers
from a single management console.

Adding license keys


If you do not want to use the keyless licensing capability available with SF 6.x,
you must have your license key before you begin installation, because you are
prompted for the license key during the installation process.
CONFIDENTIAL - NOT FOR DISTRIBUTION
40 2–6 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
License keys are non-node locked.
• In a non-node locked model, one key can unlock a product on different servers
regardless of Host ID and architecture type.
• In a node locked model, a single license is tied to a single specific server. For
each server, you need a different key.

Generating license keys


The Symantec licensing Web site (http://licensing.symantec.com) is a
self-service online license management system. The licensing web site supports
production license keys only. 2

Note: The VRTSvlic package can coexist with previous licensing packages, such
as VRTSlic. If you have old license keys installed in /etc/vx/elm,
leave this directory on your system. The old and new license utilities can
coexist.

Administering license keys


To add a license key after product installation, type:
vxlicinst
License keys are installed in the /etc/vx/licenses/lic directory. To view
installed license key information, type:
vxlicrep
Displayed information includes:
• License key number
• Name of the product that the key enables
• Type of license
• Features enabled by the key
Copyright © 2014 Symantec Corporation. All rights reserved.

CONFIDENTIAL - NOT FOR DISTRIBUTION


41 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–7
Installation and Upgrade service at Symantec Operations Readiness
Tools (SORT) Web site
The Symantec Operations Readiness Tools (SORT) Web site
(https://sort.symantec.com) is designed specifically for Symantec
enterprise products. It automates and simplifies some of the administrator tasks
associated with these products.
You can use this site to:
• Determine if your systems are ready to install or upgrade
• Download, search, and set up notifications for patches
• Search for UMI code descriptions and solutions
• Check your product and system configurations for upgrade readiness or risk
exposure
Copyright © 2014 Symantec Corporation. All rights reserved.

• Gather licensing information


• Get the latest information about your SFHA and VCS products
The Installation and Upgrade service at the SORT Web site intends to help SF
administrators analyze their environment for suitability to install or upgrade SF.
This service can either be used to create a preinstallation checklist based on the
information provided by the user or to perform a set of checks on the SF server to
create a detailed custom report.

CONFIDENTIAL - NOT FOR DISTRIBUTION


42 2–8 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
2

How to use the Installation and Upgrade service from SORT?


The data collector utility combines the various services provided by SORT that
require data collection from the live systems into a single interface and is built
using the same code base (Perl) as the SF installation scripts. As a result it has the
following benefits:
• Can be installed on any UNIX machine on the network and is supported on all
UNIX / Linux versions
• Can test multiple systems at the same time
• Can test multiple operating systems
Follow the steps on the slide to execute the data collector utility. Note that you can
use the utility to test multiple systems at the same time. By default, the data
collector utility uses passwordless ssh to access remote systems. If you want to
use remote shell, you need to start the data collector utility with the -rsh option.
Copyright © 2014 Symantec Corporation. All rights reserved.

CONFIDENTIAL - NOT FOR DISTRIBUTION


43 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–9
What does the utility check?
The Installation and Upgrade service provides complete checking for fresh
installations as well as for existing installations on the following items:
• Operating system
• Server name, version, and architecture
• File system free space
• Disk Space
• OS patch levels
• Number of CPUs, CPU type, CPU speed, and memory
• NICs and link speed
• Correct OS packages installed
• Correct SAN hardware
Copyright © 2014 Symantec Corporation. All rights reserved.

• Upgradability (current Symantec packages and patches)


• Symantec licenses
When the utility completes, it creates two files in the ./sort/reports
directory:
• hostname_IAS_date_time.txt
This file is for immediate review on the server.
• hostname_IAS_date_time.xml
This file can be uploaded to the SORT Web site to display detailed reports as
shown on the slide.
Other reports may also be generated if you choose different services while running
the data collector utility.
CONFIDENTIAL - NOT FOR DISTRIBUTION
44 2–10 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
2

Installing Storage Foundation


The Installer is a menu-based installation utility that you can use to install any
product released as part of the Veritas Storage Solutions. This utility acts as a
wrapper for existing product installation scripts and is most useful when you are
installing multiple Veritas products or bundles, such as Veritas Storage Foundation
or Veritas Storage Foundation High Availability.

Note: The example on the slide is from a Linux platform. You may have other
products available on other platforms.

Note: The Veritas Storage Solutions installation media contains an installation


guide that describes how to use the installer utility. Symantec also
recommends reading all product installation guides and release notes even
Copyright © 2014 Symantec Corporation. All rights reserved.

if you are using the installer utility.

To add the Storage Foundation packages using the installer utility:


1 Log on as superuser.
2 Mount the Veritas Storage Solutions installation media.
3 Locate and invoke the installer script:
cd /installation_media_location
./installer

CONFIDENTIAL - NOT FOR DISTRIBUTION


45 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–11
Note: If you are planning to perform non-local installs on remote systems, ensure
that the remote systems are configured for passwordless access using either
ssh or rsh. The installer first tries ssh and then rsh to access remote
systems. If you want to use rsh specifically, start the installer script
using the -rsh option.

4 If the licensing utilities are installed, the product status page is displayed. This
list displays the Veritas products on the installation media and the installation
and licensing status of each product. If the licensing utilities are not installed,
you receive a message indicating that the installation utility could not
determine product status.
5 Type I to install a product. Follow the instructions to select the product that
you want to install. Installation begins automatically.
When you add Storage Foundation packages by using the installer utility, all
packages are installed. If you want to add a specific package only, for example,
only the VRTSob package, then you must add the package manually from the
command line.

Methods for adding Storage Foundation packages


A first-time installation of Storage Foundation involves adding the software
packages and starting Storage Foundation processes for first-time use. You can
add Veritas product packages by using one of three methods:

Method Command Notes


Veritas Installation installer Installs multiple Veritas products
Menu interactively.
Installs packages and starts Storage
Foundation for first-time use.
Product installation installvm Install individual Veritas products
scripts installfs interactively.
installsf Installs packages and configures SF
for first time use.
installdmp
Copyright © 2014 Symantec Corporation. All rights reserved.

Native operating pkgadd (Solaris) Install individual packages, for


system package swinstall (HP-UX) example, when using your own
installation custom installation scripts.
installp (AIX)
commands First-time Storage Foundation
rpm (Linux)
configuration must be run as a
Then, to start SF separate step.
processes:
./installer \
-start

CONFIDENTIAL - NOT FOR DISTRIBUTION


46 2–12 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
2

Installation input
The interactive installation prompts the user for information, such as the package
set to be installed, system names, licensing selection, license keys (if traditional
licensing is selected), and other configuration information, such as the product
mode or additional options. These answers are then stored in the
installer-timestamp+3characters.response file in the installation
log directory:
/opt/VRTS/install/logs/installer-timestamp+3characters
The .response file can then be used to install other systems non-interactively
using the ./installer -responsefile filename option. For details on
using a response file during installation, refer to Veritas Storage Foundation
Installation Guide.
Copyright © 2014 Symantec Corporation. All rights reserved.

Note: SF 5.1 and later provide a Web user interface to the installation utilities.
The Web installer is explained in more detail later in this lesson.

Note: If you want to install more than one system using the installer utility,
provide the system names separated by space when prompted.

CONFIDENTIAL - NOT FOR DISTRIBUTION


47 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–13
Viewing installation results
The best way to find out what exactly the installation utilities have performed on
the SF servers is by reviewing the installation log files. Each time you invoke the
installer utility, it creates a corresponding log directory under
/opt/VRTS/install/logs and stores detailed log files in this directory as
shown on the slide. Note that the timestamp used with the log directory and file
names is YYYYMMDDhhmm.
In addition to the key log files mentioned on the slide, individual log files exist for
the installation of a software package (the install.software.system log
files) and the starting of a Storage Foundation process or daemon (the
start.SFprocess.system log files).
During the installation, the related installation utilities are copied to the
/opt/VRTS/install directory on the SF hosts. You can use the installation
Copyright © 2014 Symantec Corporation. All rights reserved.

utilities in this directory to verify the version of the SF product installed on your
system using the -version option as shown on the slide. This option finds out
which packages are installed on the system and attempts to connect to the SORT
Web site to get the latest version and patch information about the product installed
on the system.
If you want to verify which packages are installed on the system, you can also
view information about installed packages by using OS-specific commands to list
package information.
Solaris
To list all installed packages on the system:

CONFIDENTIAL - NOT FOR DISTRIBUTION


48 2–14 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
pkginfo
To restrict the list to installed Veritas packages:
pkginfo | grep VRTS
To display detailed information about a package:
pkginfo -l VRTSvxvm
HP-UX
To list all installed packages on the system:
swlist -l product
2
To restrict the list to installed Veritas packages:
swlist -l product | grep VRTS
To display detailed information about a package:
swlist -l product VRTSvxvm
AIX
To list all installed packages on the system:
lslpp
To restrict the list to installed Veritas packages, type:
lslpp -l 'VRTS*'
To verify that a particular fileset has been installed, use its name, for example:
lslpp -l VRTSvxvm
Linux
To verify package installation on the system:
rpm -qa | grep VRTS
To verify a specific package installation on the system:
rpm -q[i] package_name
For example, to verify that the VRTSvxvm package is installed:
rpm -q VRTSvxvm
The -i option lists detailed information about the package.
Copyright © 2014 Symantec Corporation. All rights reserved.

CONFIDENTIAL - NOT FOR DISTRIBUTION


49 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–15
Other installation script options
The installer utility can be invoked using a variety of options some of which
are displayed on the slide. To get detailed usage information type ./installer
-help.
Solaris Note
VxFS often requires more than the default 8K kernel stack size, so entries are
added to the /etc/system file. This increases the kernel thread stack size of the
system to 24K. The original /etc/system file is copied to
/etc/fs/vxfs/system.preinstall. If the /etc/system file is
modified during installation, the installation utility does not start SF processes and
prompts you for a reboot. If you receive a message to reboot at the end of the
installation, reboot your system and when the system boots back up, start SF
processes using the -start option to the installation utility.
Copyright © 2014 Symantec Corporation. All rights reserved.

Support for native operating system installation methods


SF 6.x supports product installation through the native operating system
provisioning tools, such as jumpstart and flash archives on Solaris, kickstart and
yum on Linux, ignite on HP-UX, and NIM on AIX.
You can create installation scripts for these OS-native methods, using options
specific to each platform. For example, to create a custom Solaris jumpstart finish
script, use the -jumpstart option. Note that the resulting finish scripts are not
complete and must be modified before being used for system installation

CONFIDENTIAL - NOT FOR DISTRIBUTION


50 2–16 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
operations. For more information on using OS-native methods for installation,
refer to the Veritas Storage Foundation Installation Guide on the specific
platform.

2
Copyright © 2014 Symantec Corporation. All rights reserved.

CONFIDENTIAL - NOT FOR DISTRIBUTION


51 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–17
Using the Web installer
SF 5.1 and later include a Web-based interface to the CPI installer. The key
components of the Web installer architecture are shown in the diagram in the slide.
• The Web browser can be run on any platform that supports the browser
requirements and can connect securely to the Web server.
The supported browsers are Firefox 3.x and later, Internet Explorer 6, 7, and 8.
• The Web server runs the xprtlwid daemon, which is started using the
webinstaller command on the distribution media. The Web installer uses
the CPI installer scripts, and the software packages. Therefore, the system
acting as the Web server must have access to the SF distribution media.
The Web server must be able to connect to the installation target systems using
rsh or ssh.
• The installation targets are the systems on which the SF software is installed
Copyright © 2014 Symantec Corporation. All rights reserved.

and configured.
When you run the webinstaller command to start the Web server, the URL is
displayed so you can connect from a browser. On some browsers, you must accept
a security exception and authenticate using the root account and password for the
system running the Web server. After you connect to the Web server, you can
select tasks, products, and systems to start installing and configuring the target
systems.

Note: The webinstaller command is located at the root directory of the


software distribution media.

CONFIDENTIAL - NOT FOR DISTRIBUTION


52 2–18 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
2

Administering keyless licenses


You can manage license keys using the CPI installer script with the
-license option or using the vxkeyless utility. Examples of some common
tasks are shown in the slide.
Use vxkeyless to change the current licensing selections. For example, if you
want to upgrade to an additional product level, say SF standard to SF enterprise,
use the vxkeyless set SFENT command.
If you want to remove keyless licensing, use the vxkeyless set NONE
command to clear all keyless licenses from the system. This operation may disable
the Veritas products unless a valid license key is installed. Use the vxlicinst
command to install valid traditional license keys for the Veritas products that you
want to continue to use.
Files used by keyless licensing include:
Copyright © 2014 Symantec Corporation. All rights reserved.

• Most recent license keys that are added to the system:


/etc/vx/licenses/lic/.keyless.diff
This file is removed if you remove keyless licensing.
• License keys: /etc/vx/licenses/dat/licenses.dat
• License log: /var/vx/licenses/.keyless.log
• Veritas Operations Manager (VOM) configuration files (used for verifying
managed host configuration):
– /etc/default/sfm_resolve.conf
– /var/opt/VRTSsfmh/scheduler.conf

CONFIDENTIAL - NOT FOR DISTRIBUTION


53 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–19
Storage Foundation resources
Version release differences
With each new release of the Storage Foundation software, changes are made that
may affect the installation or operation of Storage Foundation in your
environment. By reading version release notes and installation documentation that
are included with the product, you can stay informed of any changes.
For more information about specific releases of Veritas Storage Foundation, visit
the Symantec Support Web site at:
http://www.symantec.com/business/support
and select Storage Foundation for UNIX/Linux in the Product Finder.
This site contains product information, a searchable knowledge base of technical
notes, access to product-specific news groups and e-mail notification services, and
Copyright © 2014 Symantec Corporation. All rights reserved.

other information about contacting technical support staff.

CONFIDENTIAL - NOT FOR DISTRIBUTION


54 2–20 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
2

Other services available from Symantec Operations Readiness Tools


The SORT Web site provides other services in addition to the Installation and
Upgrade service:
• Downloads
This tab enables you to find and download patches, array specific modules,
such as Array Support Libraries (ASLs) and Array Policy Modules (APMs) for
UNIX servers, product documentation, high availability agents for Veritas
Cluster Server product, and VOM add-ons and documentation.
• Systems
This tab lets administrators view and manage their Symantec enterprise
product configurations, track configuration changes, and share that information
with others. Note that before you can use SORT's Systems features, you must
create at least one custom report and upload it to SORT.
Copyright © 2014 Symantec Corporation. All rights reserved.

• Reports
Use this tab to view and manage uploaded reports.
• Notifications
This tab enables you to set e-mail alerts for being notified about the latest
information released about the Symantec enterprise products in your
environment.
• Support
Use this tab to access detailed information about all Symantec resources from
product support to Symantec forums, from documentation to product training.

CONFIDENTIAL - NOT FOR DISTRIBUTION


55 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–21
Accessing product documentation
The SORT Web site makes it easy to find product information from compatibility
lists to manual pages or product guides. Navigate to the Downloads > Documents
page on the SORT Web site and use the filtering capabilities provided to narrow
your search as shown on the slide.
Note that other Web sites that used to provide product documentation, such as the
Storage Foundation DocCentral site
(http://sfdoccentral.symantec.com/), are being deprecated in favor
of the additional filtering and search capabilities of the SORT Web site.
Copyright © 2014 Symantec Corporation. All rights reserved.

CONFIDENTIAL - NOT FOR DISTRIBUTION


56 2–22 Symantec Storage Foundation 6.x for UNIX: Administration Fundamentals
Copyright © 2014 Symantec Corporation. All rights reserved.
2

SORT patch services


The Patch Finder service, accessed by selecting Downloads > Patches on the
SORT Web site, aims to make finding patches easy by providing filtering
capabilities for product version, platform, and the Symantec product itself. When
you find the patch you need, you can display detailed information about that patch
or you can download it using ftp.
Note that not all patches may be available at this site. If you cannot find the patch
you are looking for, contact Symantec support services.
Copyright © 2014 Symantec Corporation. All rights reserved.

CONFIDENTIAL - NOT FOR DISTRIBUTION


57 Lesson 2 Installing Storage Foundation and Accessing SF Interfaces
Copyright © 2014 Symantec Corporation. All rights reserved.
2–23

S-ar putea să vă placă și