TXT

VCS001_INSTALL

By Oscar Stone,2014-01-03 16:55
17 views 0
VCS001_INSTALL

VCS001_INSTALL

手头有个SOLARIS8+ORACLE817+VCS4的例子,结合手册写个系列,不知有多少人感兴趣?就在

    博客上写了,因为可以插图,计划一个月内将重点说一下,但网速慢,也忙,慢慢整理吧

先说安装

    本例没有volume manager所以solaris的补丁打到29就可以了

    #uname -a

    SunOS sunfirev490-1 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V490

可以先装oracle再装VCS,也可以先装vcs,规划好硬盘,网址,网口,主机名并且申请到

    license key就可以开始了

Starting Software Installation

    1. Change to the directory where you can start the installvcs utility:

# cd cluster_server

    2. Start the VCS installation utility by entering: # ./installvcs

    3. The installer begins with the following introduction: VERITAS CLUSTER SERVER 4.0 INSTALLATION PROGRAM

    Copyright (c) 2003 VERITAS Software Corporation. All rightsreserved.

    VERITAS, the VERITAS Logo and all other VERITAS product namesand slogans are trademarks or registered trademarks of VERITASSoftware Corporation. VERITAS and the VERITAS Logo Reg. U.S.Pat. & Tm. Off. Other product names and/or slogans mentionedherein may be trademarks or registered trademarks of theirrespective companies.

    4. The utility prompts for the names of the systems in the cluster.

    Enter the system names separated by spaces on which to installVCS: north south

26 VERITAS Cluster Server Installation Guide

Example VCS Installation

Performing Initial System Checks

    5. The installer verifies that the systems you specify use the proper operating system and that they are configured with ssh or rsh for system-to system communication. If the installer finds ssh binaries, it confirms that ssh is set up to operate without requests for passwords or passphrases.

    Checking OS version on north ......................... SunOS 5.9Checking VRTSvcs package ........................ not installedVerifying communication with south ............ ping successfulAttempting rsh with south ....................... rsh successfulAttempting rcp with south ....................... rcp successfulChecking OS version on south ........................ SunOS 5.9Checking VRTSvcs package ........................ not installedCreating log directory on south .......................... Done

    Logs for installvcs are being created in/var/tmp/installvcsdate_time.

    Using /usr/bin/rsh and /usr/bin/rcp to communicate with remotesystems.

Initial system check completed successfully.

Installing the VERITAS Infrastructure Packages

    6. The infrastructure packages are installed after the installer verifies they are not already installed and that disk space is available:

    Installing VERITAS Infrastructure packages on north:Checking VRTSvlic package .................... not installedChecking VRTScpi

    package ..................... not installedChecking file system space ........ required space availableInstalling VRTScpi 4.0.4 on north ..................... DoneInstalling VRTSvlic 3.02.005d on north ................ Done

    Installing VERITAS Infrastructure packages on south:Checking VRTSvlic package .....................not installedChecking VRTScpi

    package ..................... not installedChecking file system space ........ required space availableCopying VRTScpi package to south....................... DoneInstalling VRTScpi 4.0.4 on south...................... DoneCopying VRTSvlic.tar.gz to south ...................... DoneInstalling VRTSvlic 3.02.005d on south ................ Done

VERITAS Infrastructure packages installed successfully.

Chapter 3, Using the VCS Installation Utilities 27

Example VCS Installation

Verifying VCS Licenses

    7. The installer checks for VCS license keys currently in place on each system. You can enter a VCS license and add licenses for additional product features, such as the Global Cluster option.

    Each system requires a VCS product license before installation.License keys for additional product features should also be addedat this time.

    Some license keys are node locked and are unique per system. Otherlicense keys, such as demo keys and site license keys, areregistered on all systems and must be entered on the first system.

VCS Licensing Verification:

    Checking VCS license key on north .................. not licensedEnter a VCS license key for north: [?] XXXX-XXXX-XXXX-XXXX-XXXRegistering XXXX-XXXX-XXXX-XXXX-XXX on north ........ Done

    Note You can add other licenses, such a for the Global Cluster option, at this time.

Do you want to enter another license key for north? [y,n,q,?] (n)

    Registering XXXX-XXXX-XXXX-XXXX-XXX on southChecking VCS license key on south ..................Cluster Server

Do you want to enter another license key for south? [y,n,q,?] (n)

VCS licensing completed successfully.

Press [Return] to continue

28 VERITAS Cluster Server Installation Guide

Example VCS Installation

Choosing Optional Packages Before Adding VCS Packages

    8. The installer prompts you to install optional VCS packages. You can select from the optional packages, and see their descriptions.For example:

installvcs can install the following optional VCS packages:

    VRTSobgui VERITAS Enterprise AdministratorVRTSvxfen VERITAS I/O FencingVRTSvcsmn VERITAS Cluster Server Man PagesVRTSvcsdc VERITAS Cluster Server

    DocumentationVRTScssim VERITAS Cluster Server SimulatorVRTScscm VERITAS Cluster Server Cluster Manager

1) Install all of the optional packages

2) Install none of the optional packages

3) View package description and select optional packages

    Select the optional packages to be installed on all systems?[1-3,q,?] (1)

    9. After you choose whether to install optional packages, the installer lists all of the packages to be installed:

    installvcs will install the following VCS packages:VRTSperl VERITAS Perl 5.8.0 RedistributionVRTSob VERITAS Enterprise Administrator ServiceVRTSmuob VERITAS Enterprise Administrator Service Localized

    PackageVRTSobgui VERITAS Enterprise AdministratorVRTSllt VERITAS Low Latency TransportVRTSgab VERITAS Group Membership and Atomic BroadcastVRTSvxfen VERITAS I/O FencingVRTSvcs VERITAS Cluster ServerVRTSvcsmg VERITAS Cluster Server Message CatalogsVRTSvcsag VERITAS Cluster Server Bundled AgentsVRTSvcsmn VERITAS Cluster Server Man PagesVRTScspro VERITAS Cluster Server VEA ProviderVRTSvcsdc VERITAS Cluster Server DocumentationVRTSjre VERITAS Java Runtime Environment RedistributionVRTScutil VERITAS Cluster UtilitiesVRTScssim VERITAS Cluster Server SimulatorVRTScscw VERITAS Cluster Server Configuration WizardsVRTSweb VERITAS Java Web ServerVRTSvcsw VERITAS Cluster Manager (Web Console)VRTScscm VERITAS Cluster Server Cluster Manager

Press [Return] to continue:

Chapter 3, Using the VCS Installation Utilities 29

Example VCS Installation

    10. The installer checks both systems to make sure none of the packages are already installed, that sufficient space is available to install the packages, and that none of the processes and drivers related to VCS are currently are currently running.

    Checking VCS installation requirements on north:Checking VRTSperl package .................... not installedChecking VRTSob

    package ...................... not installedChecking VRTSmuob

    package .................... not installedChecking VRTSobgui

    package ................... not installedChecking VRTSllt

    package ..................... not installedChecking VRTSgab

    package ..................... not installedChecking VRTSvcs

    package ..................... not installedChecking VRTSvcsmg

    package ................... not installedChecking VRTSvcsag

    package ................... not installedChecking VRTSvcsmn

    package ................... not installedChecking VRTScspro

    package ................... not installedChecking VRTSvcsdc

    package ................... not installedChecking VRTSjre

    package ..................... not installedChecking VRTScutil

    package ................... not installedChecking VRTScssim

    package ................... not installedChecking VRTScscw

    package .................... not installedChecking VRTSweb

    package ..................... not installedChecking VRTSvcsw

    package .................... not installedChecking VRTScscm

    package .................... not installedChecking VERITAS patch

    115209 ................ not installedChecking VERITAS patch 115212 ................ not installedChecking VERITAS patch 115210 ................ not installedChecking

file system space ..... required space is availableChecking had

    process ........................... not runningChecking hashadow

    process ...................... not runningChecking CmdServer

    process ..................... not runningChecking notifier

    process ...................... not runningChecking vxsvc

    process ......................... not runningChecking vxfen

    driver .......................... not runningChecking gab

    driver ............................ not runningChecking llt

    driver ............................ not running

    The same checks are made on south and the following message displays:

Installation requirement checks completed successfully.

    In some cases, packages may already be installed on a system. If the current version of a package is installed, it is removed from the package installation list for the system. If a previous version of a package is installed, it is removed and the current version is installed.

30 VERITAS Cluster Server Installation Guide

Example VCS Installation

Configuring the Cluster

    11. The installer describes the options you have selected to install and configure with VCS. While VCS must be configured before it can be used, you have the choice to install and configure VCS now, or to merely install packages on the systems and

leave the cluster configuration steps for later.

    It is optional to configure VCS now. If you choose toconfigure VCS later, you can either do so manually or run theinstallvcs -configure command. Are you ready to configure VCS?[y,n,q] (y) y

    12. The installer lists the information it requires to configure a VCS cluster: To configure VCS the following is required:

    A unique Cluster nameA unique Cluster ID number between 0-255Two or more NIC cards per system used for heartbeat links

    One or more heartbeat links are configured as private linksOne heartbeat link may be configured as a low priority link

All systems are being configured to create one cluster

e

    Enter the unique cluster name: [?] vcs_cluster2Enter the unique Cluster ID number between 0-255: [b,?] 7

    13. The installer discovers the NICs available on the first system and reports them: Discovering NICs on north ...discovered hme0 qfe0 qfe1 qfe2 qfe3

    The installer presents questions about configuring the discovered heartbeat NICS:

    Enter the NIC for the first private heartbeat NIC on north:[b,?] qfe0Would you like to configure a second private heartbeat link?[y,n,q,b,?] (y)Enter the NIC for the second private heartbeat NIC on north:[b,?] qfe1Would you like to configure a third private heartbeat link?[y,n,q,b,?](n)Do you want to configure an additional low priority heartbeatlink? [y,n,q,b,?] (n)Are you using the same NICs for private heartbeat links on allsystems? [y,n,q,b,?] (y)

    Note When answering “Y,” be sure that the same NICs are available on each system; the installer does not verify this.

Chapter 3, Using the VCS Installation Utilities 31

Example VCS Installation

    Notice that in this example, hme0 is not selected for use as a private heartbeat NIC because it already in use as the public network interface. The default responses are chosen.

    14. The installer summarizes the information and prompts you to confirm it is correct: Cluster information verification:

    Cluster Name: vcs_cluster2Cluster ID Number: 7Private Heartbeat NICs for north: link1=qfe0 link2=qfe1Private Heartbeat NICs for south: link1=qfe0 link2=qfe1

Is this information correct? [y,n,q] (y)

    ? If the information is not correct, answer “n.” The installer prompts you to enter the information again.

? If the information is correct, press Return.

32 VERITAS Cluster Server Installation Guide

Example VCS Installation

Adding VCS Users

    15. On systems operating under an English locale, you can add VCS users at this time. For each user you want to add, the installer prompts you for the user’s name, password, and level of privileges. You also have the opportunity to reset the password for the Admin user.

The following information is required to add VCS users:

    A user nameA password for the userUser privileges (Administrator, Operator, or Guest)

    Do you want to set the password for the Admin user(default password=’password’)? [y,n,q] (n) yEnter New Password:******

    Enter Again:******Do you want to add another user to the cluster? [y,n,q] (y)

Enter the user name: [?] smithEnter New Password:*******

    Enter Again:*******Enter the privilege for user smith (A=Administrator, O=Operator,G=Guest): [?] a

Would you like to add another user? [y,n,q] (n)

    User: admin Privilege: AdministratorsUser: smith Privilege: Administrators

Passwords are not displayed

Is this information correct? [y,n,q] (y)

Report this document

For any questions or suggestions please email
cust-service@docsford.com