Friday 27 December 2013

SAP NETWEAVER ANGET INSTALLATION FOR VCS 6.X

 # pwd
/tmp/solaris/sol_sparc/vcs/application/acc_library/5.2.4.0_library
  # cd pkgs/
  # ls
VRTSacclib.pkg
1)Add ACC & SAP agent pkgs.
  # pkgadd -d VRTSacclib.pkg
The following packages are available:
  1  VRTSacclib     Veritas Cluster Server ACC Library by Symantec
                    (sparc) 5.2
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: y
        ERROR: Entry does not match available menu selection. Enter the number
        of the menu item you wish to select, or the token which is associated
        with the menu item, or a partial string which uniquely identifies the
        token for the menu item. Enter ?? to reprint the menu.
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Processing package instance <VRTSacclib> from </tmp/solaris/sol_sparc/vcs/application/acc_library/5.2.4.0_library/pkgs/VRTSacclib.pkg>
Veritas Cluster Server ACC Library by Symantec(sparc) 5.2
Copyright (c) 2008 Symantec and the Symantec Logo are
trademarks or registered trademarks of Symantec Corporation or its
affiliates in the U.S. and other countries. Other names may be
trademarks of their respective owners. The Licensed Software and
Documentation are deemed to be commercial computer software as defined
in FAR 12.212 and subject to restricted rights as defined in FAR Section
52.227-19 "Commercial Computer Software - Restricted Rights" and DFARS
227.7202, "Rights in Commercial Computer Software or Commercial Computer
Software Documentation", as applicable, and any successor regulations.
Any use, modification, reproduction release, performance, display or
disclosure of the Licensed Software and Documentation by the U.S.
Government shall be solely in accordance with the terms of this
Agreement.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
WARNING: setting mode of </opt/VRTS/.ACCLib> to default mode (755)
WARNING: setting mode of </opt/VRTS/.ACCLib/compat> to default mode (755)
WARNING: setting mode of </opt/VRTS/.ACCLib/network> to default mode (755)
WARNING: setting mode of </opt/VRTS/.ACCLib/system> to default mode (755)
WARNING: setting mode of </opt/VRTS/.ACCLib/vcs> to default mode (755)
   4 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <VRTSacclib> [y,n,?] y
Installing Veritas Cluster Server ACC Library by Symantec as <VRTSacclib>
## Installing part 1 of 1.
opt/VRTS/.ACCLib/compat/ag_i18n_inc_v35.pm
opt/VRTS/.ACCLib/network/Comms.pm
opt/VRTS/.ACCLib/system/Arch.pm
opt/VRTS/.ACCLib/system/Lock.pm
opt/VRTS/.ACCLib/system/Proc.pm
opt/VRTS/.ACCLib/system/Sys.pm
opt/VRTS/.ACCLib/vcs/Group.pm
opt/VRTS/.ACCLib/vcs/Hagrp.pm
opt/VRTS/.ACCLib/vcs/Hares.pm
opt/VRTS/.ACCLib/vcs/Hasys.pm
opt/VRTS/.ACCLib/vcs/Hatype.pm
opt/VRTS/.ACCLib/vcs/LogInt.pm
opt/VRTS/.ACCLib/vcs/Resource.pm
opt/VRTS/.ACCLib/vcs/VCSDefines.pm
opt/VRTS/.ACCLib/vcs/VCSHighLevel.pm
opt/VRTS/.ACCLib/vcs/VCSType.pm
opt/VRTS/.ACCLib/vcs/VCSagentFW.pm
opt/VRTS/.ACCLib/vcs/Version.pm
opt/VRTS/messages/en/VRTSvcsSunVRTSacclib.bmc
918 blocks
## Executing postinstall script.
Installation of <VRTSacclib> was successful.

  # pwd
/tmp/solaris/sol_sparc/vcs/application/sap_agent/5.0/5.1.9.0_agent/pkgs
  # pkgadd -d . VRTSsapnw04
Processing package instance <VRTSsapnw04> from </tmp/solaris/sol_sparc/vcs/application/sap_agent/5.0/5.1.9.0_agent/pkgs>
Veritas High Availability Agent for SAP NetWeaver by Symantec(sparc) 5.0.16.0
Copyright (c) 2013 Symantec Corporation. All rights reserved.  Symantec,
the Symantec Logo  are trademarks or registered trademarks of Symantec
Corporation or its affiliates in the U.S. and other countries. Other
names may be trademarks of their respective owners.
The Licensed Software and Documentation are deemed to be commercial
computer software as defined in FAR 12.212 and subject to restricted
rights as defined in FAR Section 52.227-19 "Commercial Computer Software
- Restricted Rights" and DFARS 227.7202, et seq. "Commercial Computer
Software and Commercial Computer Software Documentation", as applicable,
and any successor regulations. Any use, modification, reproduction release,
performance, display or disclosure of the Licensed Software and Documentation
by the U.S. Government shall be solely in accordance with the terms of this
Agreement.
## Processing package information.
## Processing system information.
WARNING: setting mode of </opt/VRTSagents/ha/bin/SAPNW04> to default mode (755)
   12 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <VRTSsapnw04> [y,n,?] y
Installing Veritas High Availability Agent for SAP NetWeaver by Symantec as <VRTSsapnw04>
## Installing part 1 of 1.
/etc/VRTSagents/ha/conf/SAPNW04/SAPNW04Types.sun.xml
/etc/VRTSagents/ha/conf/SAPNW04/SAPNW04Types50.cf
/etc/VRTSagents/ha/conf/SAPNW04/SAPNW04Types50.cmd
/etc/VRTSagents/ha/conf/SAPNW04/SAPNW04Types51.cf
/etc/VRTSagents/ha/conf/SAPNW04/SAPNW04Types51.cmd
/etc/VRTSagents/ha/conf/SAPNW04/main.cf
/etc/VRTSagents/ha/conf/SAPNW04/preonline
/opt/VRTS/messages/en/VRTSvcsSunSAPNW04.bmc
/opt/VRTSagents/ha/bin/SAPNW04/SAPNW04.pm
/opt/VRTSagents/ha/bin/SAPNW04/SAPNW04.xml
/opt/VRTSagents/ha/bin/SAPNW04/clean <symbolic link>
/opt/VRTSagents/ha/bin/SAPNW04/monitor
/opt/VRTSagents/ha/bin/SAPNW04/offline <symbolic link>
/opt/VRTSagents/ha/bin/SAPNW04/online <symbolic link>
[ verifying class <none> ]
## Executing postinstall script.

Installation of <VRTSsapnw04> was successful.
  # clear
  # ls
VRTSsapcms      VRTSsaplc       VRTSsapnw04     VRTSsapwebas71


2)similarly add pkg on second node also
pkgadd VRTSsapnw04    
pkgadd VRTSacclib
3)check agent is available or not & configuration files
  # haagent -list|grep -i sap
  # cat /etc/VRTSvcs/conf/config/main.cf|grep -i sap
  # pwd
/tmp/solaris/sol_sparc/vcs/application/sap_agent/5.0/5.1.9.0_agent/pkgs
4)configuring SAPagent
  # cd
  # mkdir ./temp
  # pwd
/root
  # ls
amf.log                                               explorer.86245db5.STAR1-B-
explorer.84fba9fb.STAR1-B-IO-2013.12.12.11.04.tar.gz  temp
  # cd temp/
5)copying sapagent file to current dir
  # cp /etc/VRTSagents/ha/conf/SAPNW04/SAPNW04Types51.cf .
  # pwd
/root/temp
6)create main.cf dummy file
#echo 'include "SAPNW04Types51.cf"' > main.cf
  # ls
SAPNW04Types51.cf  main.cf
7)check configuration files info
  # hacf -verify .
8)it generates main.cmd execution file
  # ls
SAPNW04Types51.cf  main.cf            main.cmd
  # pwd
/root/temp
  # cat main.cf
include "SAPNW04Types51.cf"
  # cat main.cmd
hatype -add SAPNW04
hatype -modify SAPNW04 SourceFile "./SAPNW04Types51.cf"
hatype -modify SAPNW04 AEPTimeout 1
hatype -modify SAPNW04 ContainerOpts RunInContainer 1 PassCInfo 0
hatype -modify SAPNW04 AgentDirectory "/opt/VRTSagents/ha/bin/SAPNW04"
hatype -modify SAPNW04 AgentFile "/opt/VRTSvcs/bin/Script50Agent"
hatype -modify SAPNW04 ArgList ResLogLevel State IState EnqSrvResName EnvFile InstName InstType MonitorProgram ProcMon SAPAdmin SAPMonHome SAPSID SecondLevelMonitor StartProfile
haattr -add SAPNW04 ResLogLevel -string INFO
haattr -add SAPNW04 EnqSrvResName -string
haattr -add SAPNW04 EnvFile -string
haattr -add SAPNW04 InstName -string
haattr -add SAPNW04 InstType -string CENTRAL
haattr -add SAPNW04 MonitorProgram -string
haattr -add SAPNW04 ProcMon -string
haattr -add SAPNW04 SAPAdmin -string
haattr -add SAPNW04 SAPMonHome -string
haattr -add SAPNW04 SAPSID -string
haattr -add SAPNW04 SecondLevelMonitor -integer 0
haattr -add SAPNW04 StartProfile -string
hatype -modify SAPNW04 AttrChangedTimeout 60
hatype -modify SAPNW04 CloseTimeout 60
hatype -modify SAPNW04 CleanRetryLimit 0
hatype -modify SAPNW04 CleanTimeout 60
hatype -modify SAPNW04 ConfInterval 600
hatype -modify SAPNW04 MonitorInterval 60
hatype -modify SAPNW04 MonitorTimeout 60
hatype -modify SAPNW04 LevelTwoMonitorFreq 0
hatype -modify SAPNW04 NumThreads 10
hatype -modify SAPNW04 AgentPriority 0
hatype -modify SAPNW04 AgentClass TS
hatype -modify SAPNW04 ScriptPriority 0
hatype -modify SAPNW04 ScriptClass TS
hatype -modify SAPNW04 LogFileSize 33554432
hatype -modify SAPNW04 OfflineMonitorInterval 300
hatype -modify SAPNW04 OfflineTimeout 300
hatype -modify SAPNW04 OfflineWaitLimit 0
hatype -modify SAPNW04 OnlineRetryLimit 0
hatype -modify SAPNW04 OnlineTimeout 300
hatype -modify SAPNW04 OnlineWaitLimit 2
hatype -modify SAPNW04 OpenTimeout 60
hatype -modify SAPNW04 RestartLimit 0
hatype -modify SAPNW04 ToleranceLimit 0
hatype -modify SAPNW04 AgentStartTimeout 60
hatype -modify SAPNW04 AgentReplyTimeout 130
hatype -modify SAPNW04 Operations OnOff
hatype -modify SAPNW04 FaultOnMonitorTimeouts 4
hatype -modify SAPNW04 AlertOnMonitorTimeouts 0
hatype -modify SAPNW04 InfoInterval 0
hatype -modify SAPNW04 InfoTimeout 30
hatype -modify SAPNW04 SupportedActions -delete -keys
hatype -modify SAPNW04 ActionTimeout 30
hatype -modify SAPNW04 FireDrill 0
hatype -modify SAPNW04 FaultPropagation 1
hatype -modify SAPNW04 ExternalStateChange -delete -keys
hatype -modify SAPNW04 TypeOwner ""
hatype -modify SAPNW04 TypeRecipients -delete -keys
haattr -default SAPNW04 ResContainerInfo Type "" Name "" Enabled ""
haattr -default SAPNW04 AutoStart 1
haattr -default SAPNW04 Critical 1
haattr -default SAPNW04 TriggerResRestart 0
haattr -default SAPNW04 TriggerResStateChange 0
haattr -default SAPNW04 TriggerEvent 0
haattr -default SAPNW04 ResourceOwner ""
haattr -default SAPNW04 TriggerPath ""
haattr -default SAPNW04 ResourceRecipients "" ""
hatype -modify SAPNW04 MonitorStatsParam Frequency 0 ExpectedValue 100 ValueThreshold 100 AvgThreshold 40
hatype -modify SAPNW04 LogDbg -delete -keys
hatype -modify SAPNW04 AdvDbg -delete -keys
haattr -default SAPNW04 ComputeStats 0
hatype -modify SAPNW04 EPPriority "%-1"
hatype -modify SAPNW04 EPClass "%-1"
hatype -modify SAPNW04 OnlinePriority "%-1"
hatype -modify SAPNW04 OnlineClass "%-1"
9)execute main.cmd file
  # sh main.cmd
VCS WARNING V-16-1-10407 Type already exists
10)save configuration
  # haconf -dump
11)check sap agent in main.cf file
  # cat /etc/VRTSvcs/conf/config/main.cf|grep -i sap
include "SAPNW04Types51.cf"
12)check sapagent present or not
 # haagent -list|grep -i sap
SAPNW04

No comments:

Post a Comment