SAP MaxDB Installation on Microsoft Windows and Linux.
For installing or uninstalling the SAP MaxDB software in SAP systems please refer to the following information (login required):
Note: The following description only applies to SAP MaxDB as a standalone database or when used for developing your own applications using the SAP MaxDB interfaces. You can download the SAP MaxDB Community edition from the SAP MaxDB download area in SCN.
SAP MaxDB is easy to install. If you accept the default installation values, the complete SAP MaxDB software will be installed and a demo database will be created. The default software installation initially uses about 500 MB of storage space. Please note that the required storage space grows while using the database. The initial database size is extended automatically as soon as the fill level of the data area reaches 90%. For the current system requirements, see SAP MaxDB - Supported Platforms and Architectures.
After installing SAP MaxDB, you can immediately start using the software using the command line tools that are part of the software packages. If you prefer using a GUI tool for database administration, we recommend that you install Database Studio.
For more information on how to proceed after installing the software, see Getting Started with SAP MaxDB.
Installing the Database Software and Creating a Database
Microsoft Windows
1. Download the software package for Microsoft Windows to a local directory.
2. Go to the directory that contains the SAP MaxDB package you have downloaded.
3. Double-click the package.
4. Choose Start installation/upgrade.
5. Follow the instructions of Installation Manager.
6. If you want to use the database for the SAP MaxDB tutorials, enter DEMODB as the database name, and DBADMIN with the password SECRET as the database system administrator.
7. To start the installation, choose Install.
8. After finishing the installation, reboot Microsoft Windows.
Note: In some system environments you may encounter an error message when closing the Installation Manager. You can avoid this by unpacking the software package after downloading it and starting the Installation Manager directly by executing SDBSETUP.exe.
Linux
Requirements: glibc >= 2.3.3, gtk 2.x, X server (the root user must be able to access a display). Additionally, Linux i386 requires glibc with TLS (thread local storage) support.
1. Download the SAP MaxDB software package for your Linux platform.
2. Open a root shell.
3. Change to the directory that contains the SAP MaxDB package you have downloaded.
4. Unpack the SAP MaxDB package.
5. To start Installation Manager, enter ./SDBSETUP
6. Choose Start SAP MaxDB Installation.
7. Follow the instructions of Installation Manager.
8. After finishing the installation, exit the root shell.
9. Update the PATH environmental variable for the operating system user who is going to operate SAP MaxDB, for example using the following command:
export PATH=/opt/sdb/programs/bin:$PATH
export PATH=/opt/sdb/programs/bin:$PATH
10. If necessary, add it to the login profile of the operating system user as well (for example, .bash_profile in the user's home directory).
Installing Database Studio
Database Studio is the SAP MaxDB GUI tool for managing databases. From SAP MaxDB version 7.7, Database Studio replaces the tools Database Manager GUI and SQL Studio, and also offers a GUI for the Loader tool. Database Studio can also be used for managing databases of versions 7.5 and 7.6.
Database Studio uses the Eclipse platform (Eclipse 3.2); the required Eclipse software is part of the Database Studio installation package. To use Database Studio, you also need Java version 1.5 or higher.
Microsoft Windows
1. Stop all databases. For example, use the Database Manager CLI command line tool to stop a database on the local computer:
dbmcli -d ‹database_name› -u ‹database_system_administrator›,‹password› db_offline
dbmcli -d ‹database_name› -u ‹database_system_administrator›,‹password› db_offline
2. Stop the SAP MaxDB X server (communication server) by entering the following command on the command line:
x_server stop
3. Download the Database Studio software package for Microsoft Windows to a local directory.
4. Go to the directory that contains the software package you have downloaded.
5. Double-click it.
5. Follow the instructions of the Installation Manager.
Linux
1. Stop all databases. For example, use the Database Manager CLI command line tool to stop a database on the local computer:
/opt/sdb/programs/bin/dbmcli -d ‹database_name› -u ‹database_system_administrator›,‹password›
/opt/sdb/programs/bin/dbmcli -d ‹database_name› -u ‹database_system_administrator›,‹password›
For the following steps, you need root privileges.
2. Stop the SAP MaxDB X server (communication server) by entering the following command on the command line:
/opt/sdb/programs/bin/x_server stop
3. Download the Database Studio software package for Linux to a local directory and extract it.
4. Go to the directory where you have extracted the software package.
5. Enter the following command:
‹directory_with_extracted_package›/SDBSETUP
6. Follow the instructions of the Installation Manager.
Note: Linux system environments vary greatly, meaning that you might have to install additional system software for Database Studio to run properly. If you are having trouble starting Database Studio, we recommend that you have a look at the posts in the SAP MaxDB forum (for example this one: Re: DatabaseStudio 7.8.01.10 on Linux doesn't start).
Uninstalling SAP MaxDB
To uninstall the SAP MaxDB software, including databases and tools, you also use SAP MaxDB Installation Manager.
1. Exit all SAP MaxDB programs.
2. On Linux only: open a root shell.
3. Change to the directory where you have extracted the SAP MaxDB Installer package.
4. To start Installation Manager, run SDBSETUP.
5. Choose Remove MaxDB components.
6. Follow the instructions.
Note: To uninstall the legacy tools Database Manager GUI and SQL Studio, use the standard Microsoft Windows Add and Remove Programs dialog window (Microsoft Windows only).
0 comments: