Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Sybase ASE15.7 silent installation

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Sybase ASE 15.7 silently install using response files

Explain the experimental environment, install RHEL 5.5 Sybase version:15.7 under HP DL580

The installation directory for Sybase is / opt/Sybase

The software location of Sybase is / home/setup

Sybase belongs to group users are all newly built sybase

Let's start using the response file to create the Sybase database

[root@sybase ~] # useradd sybase

[root@sybase ~] # cd / home/

[root@sybase home] # mkdir setup

[root@sybase /] # cd opt/

[root@sybase opt] # mkdir sybase

[root@sybase opt] # cd..

[root@sybase /] # chown-R sybase:sybase opt/

[root@sybase /] # cd / home/

[root@sybase home] # chown-R sybase:sybase setup/

[root@sybase home] # chmod-R 777 setup/

[root@sybase opt] # cd / home/setup/

[root@sybase setup] # su-sybase

[sybase@sybase ~] $cd / home/setup/

[sybase@sybase setup] $rz

Transferring ase1570_linx8664_64.tgz...

813562 KB 5572 KB/s 00:02:26 0 Errors

Transferring ase157_responsefile.txt...

1 KB 1 KB/s 00:00:01 0 Errors

Transferring sybase.rs...

1 KB 1 KB/s 00:00:01 0 Errors

Transferring sybase_bk.rs...

543 bytes 543 bytes/s 00:00:01 0 Errors

[sybase@sybase setup] $tar-xvf ase157*.tgz

[sybase@sybase setup] $ll

Total 54756

Drwxrwxrwx 33 sybase sybase 4096 Sep 17 2011 archives

-rwxrwxrwx 1 sybase sybase 1414 Aug 8 02:34 ase157_responsefile.txt

-rwxrwxrwx 1 sybase sybase 92209 Sep 19 2011 ASE-FDT-List.pdf

-rwxrwxrwx 1 sybase sybase 17850 Sep 19 2011 sample_response.txt

-rwxrwxrwx 1 sybase sybase 54463434 Sep 19 2011 setup.bin

-rwxrwxrwx 1 sybase sybase 543 Aug 8 10:46 sybase_bk.rs

-rwxrwxrwx 1 sybase sybase 1399011 Sep 19 2011 Sybase-FDT-Master.pdf

-rwxrwxrwx 1 sybase sybase 1532 Aug 8 10:45 sybase.rs

Drwxrwxrwx 3 sybase sybase 4096 Sep 17 2011 sysam_setup

Drwxrwxrwx 4 sybase sybase 4096 Sep 17 2011 sysam_utilities

[sybase@sybase setup] $. / setup.bin-f / home/setup/ase157_responsefile.txt-I silent-DAGREE_TO_SYBASE_LICENSE=true-DRUN_SILENT=true

If an error is reported here:

[sybase@sybase sybase] $. / setup.bin-f ase157_responsefile.txt-I silent

-DAGREE_TO_SYBASE_LICENSE=true-DRUN_SILENT=true

RadioButtonInputAction.install ():'$ASEP_REMEMBER_PASSWORD$' property has invalid''value. The value must be one of the following: TRUE, FALSE

We will give you a solution below:

After the installation is complete, we add the environment variable to the sybase user.

[sybase@sybase sybase] $cat SYBASE.sh > > / home/sybase/.bash_profile

Then we went to the ASE-15_0/bin directory to install Adaptive Server and backup server

[sybase@sybase sybase] $cd ASE-15_0/bin/

[sybase@sybase bin] $ls

Asecfg dataserver diagoptd diagsybtsmpasswd langinstall sqldbgr sqlupgrade srvbuildres sybhelp sybtsmpasswd

Backupserver diagbs diagserver diagxps optase.sh sqlloc sqlupgraderes sybdiag sybmigrate xpserver

Charset diagjsag diagsmb jsagent optdiag sqllocres srvbuild sybha sybmultbuf

[sybase@sybase bin] $. / srvbuildres-r / home/setup/sybase.rs

Warning: You have selected'4K'as the logical page size for the Adaptive

Server. If you plan to load dump from another database, make sure this logical

Page size matches the size of the source database. The default logical page

Size in previous Adaptive Server versions was 2KB.

Building Adaptive Server 'sybase':

Writing entry into directory services...

Directory services entry complete.

Building master device...

Master device complete.

Writing RUN_sybase file...

RUN_sybase file complete.

Starting server...

Server started.

Building sysprocs device and sybsystemprocs database...

Sysprocs device and sybsystemprocs database created.

Running installmaster script to install system stored procedures...

Installmaster: 10% complete.

Installmaster: 20% complete.

Installmaster: 30% complete.

Installmaster: 40% complete.

Installmaster: 50% complete.

Installmaster: 60% complete.

Installmaster: 70% complete.

Installmaster: 80% complete.

Installmaster: 90% complete.

Installmaster: 100% complete.

Installmaster script complete.

Creating two-phase commit database...

Two phase commit database complete.

Installing common character sets (Code Page 437, Code Page 850, ISO Latin-1

Macintosh and HP Roman-8).

Character sets installed.

Setting server name in Adaptive Server...

Server name added.

Server 'sybase' was successfully created.

[sybase@sybase bin] $. / srvbuildres-r / home/setup/sybase_bk.rs

Building Backup Server 'sybase_BK':

Writing entry into directory services...

Directory services entry complete.

Writing RUN_sybase_BK file...

RUN_sybase_BK file complete.

Starting server...

Server started.

Server 'sybase_BK' was successfully created.

Prompt that ASE Server installation is complete, so let's start the server

[sybase@sybase install] $. / startserver-f RUN_sybase

After the startup is complete, we can check the version of the Sybase software we installed and try not to use the-P parameter when logging in using isql. Then the password of SA will be clearly displayed, and-S is followed by the server name.

[sybase@sybase install] $isql-Usa-Ssybase

Password:

1 > select @ @ version

2 > go

- - -

Adaptive Server Enterprise/15.7.0/EBF 19495 SMP / P/x86_64/Enterprise Linux/ase1

57/2820/64-bit/FBO/Fri Sep 16 00:54:35 2011

(1 row affected)

Response file, and create a Server comment script:

[sybase@sybase setup] $ls

Archives ase157_responsefile.txt ASE-FDT-List.pdf sample_response.txt setup.bin sybase_bk.rs Sybase-FDT-Master.pdf sybase.rs sysam_setup sysam_utilities

[sybase@sybase setup] $more sybase.rs

Sybinit.release_directory: USE_DEFAULT

Sybinit.product: sqlsrv

Sqlsrv.server_name: sybase

Sqlsrv.sa_password: sybase

Sqlsrv.new_config: yes

Sqlsrv.do_add_server: yes

Sqlsrv.network_protocol_list: tcp

Sqlsrv.network_hostname_list: 192.168.111.20

Sqlsrv.network_port_list: 6000

Sqlsrv.application_type: MIXED

Sqlsrv.server_page_size: 4K

Sqlsrv.force_buildmaster: yes

Sqlsrv.master_device_physical_name: / opt/sybase/data/tpch/master_dev.dat

Sqlsrv.master_device_size: 150

Sqlsrv.master_database_size: 60

Sqlsrv.errorlog: USE_DEFAULT

Sqlsrv.do_upgrade: no

Sqlsrv.sybsystemprocs_device_physical_name: / opt/sybase/data/tpch/systemprocs_dev.dat

Sqlsrv.sybsystemprocs_device_size: 160

Sqlsrv.sybsystemprocs_database_size: 160

Sqlsrv.sybsystemdb_device_physical_name: / opt/sybase/data/tpch/systemdb_dev.dat

Sqlsrv.sybsystemdb_device_size: USE_DEFAULT

Sqlsrv.sybsystemdb_database_size: USE_DEFAULT

Sqlsrv.tempdb_device_physical_name: USE_DEFAULT

Sqlsrv.tempdb_device_size: 500

Sqlsrv.tempdb_database_size: 500

Sqlsrv.default_backup_server: sybase_BK

# sqlsrv.addl_cmdline_parameters: PUT_ANY_ADDITIONAL_COMMAND_LINE_PARAMETERS_HERE

Sqlsrv.do_configure_pci: no

Sqlsrv.sybpcidb_device_physical_name: PUT_THE_PATH_OF_YOUR_SYBPCIDB_DATA_DEVICE_HERE

Sqlsrv.sybpcidb_device_size: USE_DEFAULT

Sqlsrv.sybpcidb_database_size: USE_DEFAULT

# If sqlsrv.do_optimize_config is set to yes, both sqlsrv.avail_physical_memory and sqlsrv.avail_cpu_num need to be set.

# sqlsrv.do_optimize_config: yes

# sqlsrv.avail_physical_memory: 2048

# sqlsrv.avail_cpu_num: 4

[sybase@sybase setup] $more sybase_bk.rs

Sybinit.release_directory: USE_DEFAULT

Sybinit.product: bsrv

Bsrv.server_name: sybase_BK

Bsrv.new_config: yes

Bsrv.do_add_backup_server: yes

Bsrv.do_upgrade: no

Bsrv.network_protocol_list: tcp

Bsrv.network_hostname_list: 192.168.111.20

Bsrv.network_port_list: 6001

Bsrv.language: USE_DEFAULT

Bsrv.character_set: USE_DEFAULT

Bsrv.tape_config_file: USE_DEFAULT

Bsrv.errorlog: USE_DEFAULT

Sqlsrv.related_sqlsrvr: sybase

Sqlsrv.sa_login: sa

Sqlsrv.sa_password: sybase

# bsrv.addl_cmdline_parameters: PUT_ANY_ADDITIONAL_COMMAND_LINE_PARAMETERS_HERE

[sybase@sybase setup] $more ase157_responsefile.txt

# Mon Aug 06 15:04:27 CST 2012

# Replay feature output

#-

# This file was built by the Replay feature of InstallAnywhere.

# It contains variables that were set by Panels, Consoles or Custom Code.

# Validate Response File

#--

RUN_SILENT=true

AGREE_TO_SYBASE_LICENSE=true

# Choose Install Folder

#-

USER_INSTALL_DIR=/opt/sybase

# Install older version

#-

INSTALL_OLDER_VERSION=false

# Choose Update Install Option

#--

DO_UPDATE_INSTALL=false

# Choose Install Set

#-

CHOSEN_INSTALL_SET=Full

# Choose Product License Type

#--

SYBASE_PRODUCT_LICENSE_TYPE=evaluate

SYSAM_LICENSE_SOURCE=proceed_without_license

SYSAM_LICENSE_FILE_PATHNAME=

SYSAM_EXISTING_LICENSE_SERVER_HOSTNAME=

SYSAM_EXISTING_LICENSE_SERVER_PORTNUMBER=

SYSAM_PRODUCT_EDITION=Enterprise Edition

SYSAM_LICENSE_TYPE=EV: Evaluation License

# Configure New Servers

#-

SY_CONFIG_ASE_SERVER=false

SY_CONFIG_BS_SERVER=false

SY_CONFIG_XP_SERVER=false

SY_CONFIG_JS_SERVER=false

SY_CONFIG_SM_SERVER=false

SY_CONFIG_WS_SERVER=false

SY_CONFIG_SCC_SERVER=false

SY_CONFIG_TXT_SERVER=false

# Remember ASE Password

#-

ASEP_REMEMBER_PASSWORD=FALSE

ASEP_REMEMBER_PASSWORD_1=

ASEP_REMEMBER_PASSWORD_2=Disable

ASEP_REMEMBER_PASSWORD_BOOLEAN_1=0

ASEP_REMEMBER_PASSWORD_BOOLEAN_2=1

The bold part is divided into RadioButtonInputAction.install ():'$ASEP_REMEMBER_PASSWORD$' property has invalid''value. The value must be one of the following: TRUE, FALSE solution.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report