MINI MINI MANI MO
#!../perl/bin/perl
# $Header: install/utl/scripts/db/addnode/addnode.pl /main/10 2017/08/23 15:00:30 poosrini Exp $
#
# addnode.pl
#
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
#
# NAME
# addnode.pl - <one-line expansion of the name>
#
# DESCRIPTION
# <short description of component this file declares/defines>
#
# NOTES
# <other useful comments, qualifications, etc.>
#
# MODIFIED (MM/DD/YY)
# davjimen 06/26/17 - bug 26351914 - implement method to calculate the
# temp log directory
# davjimen 01/19/17 - remove common code
# ambagraw 10/20/16 - Bug 24654752: Unsetting ORA_CRS_HOME Environment
# variable
# davjimen 08/05/16 - support jreloc flag
# davjimen 06/15/16 - remove the newly created files from the scratch
# path location
# pkuruvad 11/20/15 - Creation
#
use strict;
use warnings;
package Addnode;
use parent qw(CommonSetup);
sub new {
my ($class) = @_;
my $self = $class->SUPER::new(
"TYPE" => "Common",
"PRODUCT_DESCRIPTION" => "Oracle software",
"PRODUCT_JAR_NAME" => "instcommon.jar",
"SETUP_SCRIPTS" => "addnode.sh,addnode.bat",
"LOG_DIR_PREFIX" => "AddnodeActions",
"MAIN_CLASS" => "oracle.install.ivw.common.util.OracleNodeScaler",
);
bless $self, $class;
return $self;
}
my $addnode = new Addnode();
$addnode->main();
sub checkPatchActions() {
# Nothing to do here
}
sub changeDestinationHome() {
# Nothing to do here
}
sub rootPreCheck() {
# Nothing to do here
}
sub calculateTempLogDir() {
# Set the temporary log directoy location directly to the temp location
# For addnode, there is no container directory created for the logs.
my $self = shift;
return $self->SUPER::calculateTempLoc();
}
sub createTempDirectory() {
# Nothing to do here
}
OHA YOOOO