Install Sybase under unixware7.1.1

Source: Internet
Author: User
Tags cas file system mkdir prepare resource sybase dsquery

1. Install Sybase
1, # Prtvtoc–f A/DEV/RDSK/C0B0T0D0S0
2, # VI A (where a content added to:) 0x4 0x200 3807410 204800
0x4 0x200 4012215 2097152
0x4 0x201 6109372 163840
0x4 0x201 6273217 81920
0x4 0x201 6355142 409600
0x4 0x201 6764747 409600
0x4 0x201 7471352 819200
0x4 0x201 7993557 204800
0x4 0x201 8198362 409600
0x4 0x201 8607967 6291456
Num 0x4 0x201 14899428 614400
0x4 0x201 15513833 819200
~
: Wq
(Establish two file system 0x200, build 10 bare equipment 0x201)
3, # Edvtoc–f A/DEV/RDSK/C0B0T0D0S0
4, #/etc/conf/bin/idbuild–b
5, # init 6
6, # MKDIR/SYBASE/MBFE
7, # mkfs–f VXFS/DEV/RDSK/C0B0T0D0S10 204800 (100M Unit is 0). 5k)
8, # mkfs–f VXFS/DEV/RDSK/C0B0T0D0S11 2097152 (1G Unit is 0). 5k)
9, # Mount–f VXFS/DEV/DSK/C0B0T0D0S10/MBFE
10, # Mount–f Vxfs/dev/dsk/c0b0t0d0s11/sybase
11. #cd/sybase
12. #mkdir Data DATABF
13, #mknod/sybase/database/master b 7679 (80M)
#mknod/sybase/databf/tempdb b 7679 (40M)
#mknod/sybase/database/systemdb b 7679 (200M)
# Mknod/sybase/database/systemprocs B 7679 (200M)
#mknod/sybase/databf/wkdatadb b 7679 (400M)
#mknod/sybase/databf/wkindexdb b 7679 (100M)
#mknod/sybase/databf/wkdblog b 7679 (200M)
#mknod/sybase/databf/hisdatadb b 7679 (3G)
#mknod/sybase/databf/hisindexdb b 7679 (300M)
#mknod/sybase/databf/hisdblog b 7679 (400M)
14, #scoadmin--accout Manager to establish users and groups
Groups:sybase
Users:sybase
Login Shell:/bin/ksh
Home Directory:/sybase
Login Group:sybase
15, # CD Home/huateng (Huateng is a user of the system)
# Ls–al
# CP.. Profile/sybase
# Cd/sybase
# Ls–al
# VI. Profile
16, sybase=/sybase (ie = installation directory)
Dsquery=sybase
Ld_library_path= $SYBASE/lib.
Path= $PATH:/usr/sbin:/usr/java/bin: $SYBASE/bin: $SYBASE/install:.
Export PATH DSQUERY Ld_library_path SYBASE
17, # CD/ETC/CONF/CF. D/stune modify the system core parameters, the contents of which are:
Shmmni 100
Shmseg 15
SHMMAX of the same system memory
Shmall 2048
Nproc 500
Arg_max 51200
Sfnolim 400
Sfszlim 0x7fffffff

Hfszlim 0x7fffffff
Sdatlim 0x7fffffff
Hdatlim 0x7fffffff
Scorlim 0x7fffffff
Hcorlim 0x7fffffff
Svmmlim 0x7fffffff
Hvmmlim 0x7fffffff
Sstklim 0x7fffffff
Hstklim 0x7fffffff
NUMREGPT 256
Numscopt 32
BUFHWM 1024
Sfsninode 1200
Vxfsninode 1200
Dnlcsize 800
Hfnolim 400

18, # Etc/conf/bin/idbuild–b
19, # init 6 (or SHUTDOWN–Y–G0–I6)
20, the Super User root login and then mount the optical drive:
# MOUNT–RF Cdfs/dev/cdrom/cdrom1/mnt then put the Sybase installation disk into the optical drive
# cd/mnt
# CD Install
# cat CAS displays and records Sybase's installation serial number
21, modify the permissions
Chown–r Sybase:sybase/sybase
Chmod–r 775/sybase
22, with just established Sybase users installed Sybase:
# Su-sybase
Execute under Sybase user directory:
$/mnt/sybload–d
Enter Y (confirm installation directory) if the installation is performed under Sybase's user directory
Follow the installation prompts to select L (local locally installed)
Follow the installation prompts to enter/mnt/sybimage (installation image file)
Follow the installation prompts to enter cas# (34 letters, case-insensitive and spaces)
(BKBYBK bkbkby bfkzbk bkbyby tmvovg ZEBQ)
Select the serial number to install and press ENTER to end the selection: 1 and 5
Press RETURN once again
And then enter Y
Follow the installation prompts select Y and the system starts copying Sybase system files from CD
23, prepare to establish the System database resource file
$ cd/sybase/init/sample_source_files
$ CP * ADA * ASE. Rs
$ CP * back * back. Rs
24, prepare to establish the system database resource files. (Edit ASE.) RS and back. RS file)
Ase rs********************
Sybinit. Release_directory:/sybase
Syinit. Product:sqlsrv
Sqlsrv Server_name:sybase
Sqlsrv New_config:yes
Sqlsrv Do_add_server:yes
Sqlsrv Network_protocol_list:tcp
Sqlsrv network_hostname_list:168. 33. 112. 57
Sqlsrv network_port_list:8000
Sqlsrv Master_device_physical_name:/sybase/database/master
Sqlsrv Master_device_size:70
Sqlsrv Master_database_size:30
Sqlsrv Errorlog:use_default
Sqlsrv Do_upgrade:no
Sqlsrv Sysystemprocs_device_physical_name:/sybase/database/systemprocs
Sqlsrv sybsystemprocs_device_size:150
Sqlsrv sybsystemprocs_database_size:100
Sqlsrv Sybsystemdb_device_physical_name:/sybase/database/systemdb
Sqlsrv sybsystemdb_device_size:150
Sqlsrv sybsystemdb_dataase_size:100
Sqlsrv Default_backup_server:syb_backup
Back rs**********************
Sybinit. Release_directory:/sybase
Syinit. Product:bsrv
Srv Server_name:syb_backup
Bsrv. Do Add_backup_server:yes
Bsrv. Network_protocol_list:tcp
Bsrv. network_hostname_list:168. 33. 112. 57
Bsrv. network_port_list:8001
Bsrv. Language:use_default
Bsrv. Tape_config_file:use_default
Bsrv. Errorlog:use_default
25. Configure SQL Server and backup server with configuration files
(These two files are under/sybase/init/sample_source_files)
$ srvbuildres–r ase. Rs
$ srvbuildres–r back. Rs
26, back to the super user root with the umount command to remove the optical drive
# umount/mnt
27, install the patch program
Stop the DataServer and Backupserver and install the SYBASE11. 9. 2 in Unixware7. 1. Patch EBF9487 on 1, EBF9487 all content to the Sybase system directory to overwrite the relevant files, the patch installation is completed in isql use select@ @version command visible version information is 11. 9. 2. 4

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.