Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:services:storage_services:backup:tsm:admin:sp8unbuntu18 [2019/12/09 15:43] – [cross checking with CLI commands] bnachtw | en:services:storage_services:backup:tsm:admin:sp8unbuntu18 [2019/12/09 15:57] (current) – [preliminary remarks] bnachtw | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Running SP8 on Ubuntu 18.04 LTS====== | ||
+ | ---- | ||
+ | ===== preliminary remarks ===== | ||
+ | I **do** know Ubuntu 18.04 LTS is still not supported by IBM for any Version of SP even after 1.5 years on market. | ||
+ | |||
+ | **BUT** Do I really install an almost obsolete OS like Ubuntu 16.04 for a brand new server? An OS that maybe do not support the newest hardware I've bought? -- I don't think so. | ||
+ | |||
+ | ==== System Setup ==== | ||
+ | * a nearly pure Ubuntu 18.04.2 LTS | ||
+ | * updated and upgraded to 18.04.3 LTS, just by '' | ||
+ | * no additional repositories | ||
+ | * few additional packages: | ||
+ | * cifs-utils | ||
+ | * gedit | ||
+ | * ksh | ||
+ | * libgtk2.0-0 (for using the SP-Installation GUI) | ||
+ | * locate | ||
+ | * lssci | ||
+ | * nmon | ||
+ | * SP mountpoints and folders: | ||
+ | * ''/ | ||
+ | * contains ''/ | ||
+ | * ''/ | ||
+ | * contains ''/ | ||
+ | * ''/ | ||
+ | * contains ''/ | ||
+ | * ''/ | ||
+ | * contains ''/ | ||
+ | |||
+ | |||
+ | ===== Installing the Binaries ===== | ||
+ | Well, this step just works as expected: | ||
+ | * get the Installation file | ||
+ | * run and unpack it | ||
+ | * run the install.sh script | ||
+ | DONE! | ||
+ | ===== Doing the instance configuration ===== | ||
+ | ==== using the configuration wizard dsmicfgx ==== | ||
+ | runnning the dsmicfgx configuration wizard, all required information can be given, then the db formattings starts and failes with an output like this: | ||
+ | < | ||
+ | Creating the database manager instance... | ||
+ | The database manager instance was created successfully. | ||
+ | |||
+ | Formatting the server database... | ||
+ | |||
+ | ANR7800I DSMSERV generated at 15:47:28 on Nov 4 2019. | ||
+ | |||
+ | IBM Spectrum Protect for Linux/ | ||
+ | Version 8, Release 1, Level 8.200 | ||
+ | |||
+ | Licensed Materials - Property of IBM | ||
+ | |||
+ | (C) Copyright IBM Corporation 1990, 2019. | ||
+ | All rights reserved. | ||
+ | U.S. Government Users Restricted Rights - Use, duplication or disclosure | ||
+ | restricted by GSA ADP Schedule Contract with IBM Corporation. | ||
+ | |||
+ | ANR7801I Subsystem process ID is 37393. | ||
+ | ANR0900I Processing options file / | ||
+ | ANR0011W Unable to set locale to en_US. Using locale C for message formatting. | ||
+ | ANR7814I Using instance directory / | ||
+ | ANR3339I Default Label in key data base is TSM Server SelfSigned SHA Key. | ||
+ | ANR4726I The ICC support module has been loaded. | ||
+ | ANR0236E Fail to start the database manager due to an I/0 error. Check for | ||
+ | filesystem full conditions, file permissions, | ||
+ | ANR0171I dbiconn.c(1936): | ||
+ | ANR0169E An unexpected error has occurred and the IBM Spectrum Protect server | ||
+ | is stopping. | ||
+ | ANR0162W Supplemental database diagnostic information: | ||
+ | ([IBM][CLI Driver] SQL1031N | ||
+ | indicated file system. | ||
+ | ). | ||
+ | |||
+ | Transaction hash table contents (slots=256): | ||
+ | *** no transactions found *** | ||
+ | |||
+ | Lock hash table contents (slots=3002): | ||
+ | Note: Enabling trace class TMTIMER will provide additional timing info on the | ||
+ | following locks | ||
+ | *** no locks found *** | ||
+ | ANR2678E Server database format failed. | ||
+ | |||
+ | Format completed with return code 499 | ||
+ | |||
+ | </ | ||
+ | |||
+ | Looking at the first real error number, " | ||
+ | < | ||
+ | ANR0236E Fail to start the database manager due to an I/0 error. | ||
+ | Check for filesystem full conditions, file permissions, | ||
+ | </ | ||
+ | Checking the filesystems for db, actlog shows there' | ||
+ | < | ||
+ | Filesystem | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | ... and the access rights are given, too: | ||
+ | < | ||
+ | # id sm215 | ||
+ | uid=1215(sm215) gid=1000(tsmsrvs) groups=1000(tsmsrvs) | ||
+ | |||
+ | # ls -l /db/ | ||
+ | total 20 | ||
+ | drwx------ 2 root root 16384 Dec 9 13:32 lost+found | ||
+ | drwxr-xr-x 2 sm215 tsmsrvs | ||
+ | |||
+ | # ls -l /actlog/ | ||
+ | total 20 | ||
+ | drwx------ 2 root root 16384 Nov 19 13:40 lost+found | ||
+ | drwxr-xr-x 2 sm215 tsmsrvs | ||
+ | |||
+ | # ls -l /archlog/ | ||
+ | total 20 | ||
+ | drwx------ 2 root root 16384 Nov 19 13:40 lost+found | ||
+ | drwxr-xr-x 2 sm215 tsmsrvs | ||
+ | |||
+ | # ls -l / | ||
+ | # ls -l / | ||
+ | total 108 | ||
+ | drwxrwxr-x | ||
+ | drwxrwxr-x | ||
+ | drwxrwxr-x | ||
+ | </ | ||
+ | ==== cleaning up the half-done installation ==== | ||
+ | as the db2 was successfull created, but not formatted, the default approach using the '' | ||
+ | < | ||
+ | # locate db2ilist | ||
+ | / | ||
+ | / | ||
+ | # / | ||
+ | sm215 | ||
+ | |||
+ | # / | ||
+ | DBI1446I | ||
+ | |||
+ | |||
+ | DB2 installation is being initialized. | ||
+ | |||
+ | Total number of tasks to be performed: 2 | ||
+ | Total estimated time for all tasks to be performed: 305 second(s) | ||
+ | |||
+ | Task #1 start | ||
+ | Description: | ||
+ | Estimated time 5 second(s) | ||
+ | Task #1 end | ||
+ | |||
+ | Task #2 start | ||
+ | Description: | ||
+ | Estimated time 300 second(s) | ||
+ | Task #2 end | ||
+ | |||
+ | The execution completed successfully. | ||
+ | |||
+ | For more information see the DB2 installation log at "/ | ||
+ | DBI1070I | ||
+ | </ | ||
+ | after dropping the db2 i checked again with '' | ||
+ | < | ||
+ | # / | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | ==== cross checking with CLI commands ==== | ||
+ | due to the [[https:// | ||
+ | * create Database: | ||
+ | < | ||
+ | # / | ||
+ | DBI1446I | ||
+ | |||
+ | |||
+ | DB2 installation is being initialized. | ||
+ | |||
+ | Total number of tasks to be performed: 4 | ||
+ | Total estimated time for all tasks to be performed: 309 second(s) | ||
+ | |||
+ | Task #1 start | ||
+ | Description: | ||
+ | Estimated time 1 second(s) | ||
+ | Task #1 end | ||
+ | |||
+ | Task #2 start | ||
+ | Description: | ||
+ | Estimated time 5 second(s) | ||
+ | Task #2 end | ||
+ | |||
+ | Task #3 start | ||
+ | Description: | ||
+ | Estimated time 300 second(s) | ||
+ | Task #3 end | ||
+ | |||
+ | Task #4 start | ||
+ | Description: | ||
+ | Estimated time 3 second(s) | ||
+ | Task #4 end | ||
+ | |||
+ | The execution completed successfully. | ||
+ | |||
+ | For more information see the DB2 installation log at "/ | ||
+ | DBI1070I | ||
+ | |||
+ | </ | ||
+ | * update dftdbpath (as user sm215) | ||
+ | < | ||
+ | # su - sm215 | ||
+ | sm215@gwdu323: | ||
+ | sm215@gwdu323: | ||
+ | DB20000I | ||
+ | successfully. | ||
+ | </ | ||
+ | * set // | ||
+ | < | ||
+ | sm215@gwdu323: | ||
+ | sm215@gwdu323: | ||
+ | </ | ||
+ | * format database and get the same error as before: | ||
+ | < | ||
+ | sm215@gwdu323: | ||
+ | ANR7800I DSMSERV generated at 15:47:28 on Nov 4 2019. | ||
+ | |||
+ | IBM Spectrum Protect for Linux/ | ||
+ | Version 8, Release 1, Level 8.200 | ||
+ | |||
+ | Licensed Materials - Property of IBM | ||
+ | |||
+ | (C) Copyright IBM Corporation 1990, 2019. | ||
+ | All rights reserved. | ||
+ | U.S. Government Users Restricted Rights - Use, duplication or disclosure | ||
+ | restricted by GSA ADP Schedule Contract with IBM Corporation. | ||
+ | |||
+ | ANR7801I Subsystem process ID is 11761. | ||
+ | ANR0900I Processing options file / | ||
+ | ANR0011W Unable to set locale to en_US. Using locale C for message formatting. | ||
+ | ANR7814I Using instance directory / | ||
+ | ANR3339I Default Label in key data base is TSM Server SelfSigned SHA Key. | ||
+ | ANR4726I The ICC support module has been loaded. | ||
+ | ANR0236E Fail to start the database manager due to an I/0 error. Check for filesystem full conditions, file permissions, | ||
+ | ANR0171I dbiconn.c(1936): | ||
+ | ANR0169E An unexpected error has occurred and the IBM Spectrum Protect server is stopping. | ||
+ | ANR0162W Supplemental database diagnostic information: | ||
+ | ). | ||
+ | |||
+ | Transaction hash table contents (slots=256): | ||
+ | *** no transactions found *** | ||
+ | |||
+ | Lock hash table contents (slots=3002): | ||
+ | Note: Enabling trace class TMTIMER will provide additional timing info on the following locks | ||
+ | *** no locks found *** | ||
+ | ANR2678E Server database format failed. | ||
+ | </ | ||
+ | ==== Analysing the tracefile ==== | ||
+ | The dsmserv command write a tracefile at ''/ | ||
+ | < | ||
+ | sm215@gwdu323: | ||
+ | / | ||
+ | </ | ||
+ | ... but it contains no more helpful information, | ||
+ | ==== Finding the solution ==== | ||
+ | The hint leading to the solution i found at a [[https:// | ||
+ | < | ||
+ | sm215@gwdu323: | ||
+ | db2stop: error while loading shared libraries: libaio.so.1: | ||
+ | </ | ||
+ | **whoa, there' | ||
+ | ===== Solution ===== | ||
+ | Well, just install the libaio.so.1: | ||
+ | < | ||
+ | # apt install libaio1 | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree | ||
+ | Reading state information... Done | ||
+ | The following NEW packages will be installed: | ||
+ | libaio1 | ||
+ | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | ||
+ | </ | ||
+ | ... and run the '' | ||
+ | < | ||
+ | sm215@gwdu323: | ||
+ | ANR7800I DSMSERV generated at 15:47:28 on Nov 4 2019. | ||
+ | |||
+ | IBM Spectrum Protect for Linux/ | ||
+ | Version 8, Release 1, Level 8.200 | ||
+ | |||
+ | Licensed Materials - Property of IBM | ||
+ | |||
+ | (C) Copyright IBM Corporation 1990, 2019. | ||
+ | All rights reserved. | ||
+ | U.S. Government Users Restricted Rights - Use, duplication or disclosure | ||
+ | restricted by GSA ADP Schedule Contract with IBM Corporation. | ||
+ | |||
+ | ANR7801I Subsystem process ID is 12044. | ||
+ | ANR0900I Processing options file / | ||
+ | ANR0011W Unable to set locale to en_US. Using locale C for message formatting. | ||
+ | ANR7814I Using instance directory / | ||
+ | ANR3339I Default Label in key data base is TSM Server SelfSigned SHA Key. | ||
+ | ANR4726I The ICC support module has been loaded. | ||
+ | ANR0152I Database manager successfully started. | ||
+ | ANR2976I Offline DB backup for database TSMDB1 started. | ||
+ | ANR2974I Offline DB backup for database TSMDB1 completed successfully. | ||
+ | ANR0992I Server' | ||
+ | ANR0369I Stopping the database manager because of a server shutdown. | ||
+ | </ | ||
+ | |||
+ | ... or remove the whole stuff and start again with the wizard. |