Advanced Subnet calculator
Working on a small network and wanted to double check the IP address range.
This is from Solar Winds and totally free - can be useful.
https://www.solarwinds.com/free-tools/advanced-subnet-calculator
I like the fact you can change the "skins" and it gives you loads of information.
MySQL - installation on Solaris
Notes for MySQL on Solaris Using a Solaris PKG
I initially installed MySQL a very long time ago. In fact it was version 5.0.96 and I have included the quick notes I made for the installation - initially just wanting to evaluate it.
As the version I was running was very old, there are some notes at the bottom of this post, as if like me you want to move to a more up-to-date implementation.
root@dbserver> pkgadd -d ./mysql-5.0.96-solaris9-sparc-64bit.pkg
The following packages are available:
1 mysql MySQL Community Server (GPL)
(sun4u) 5.0.96
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all
Processing package instance <mysql> from </angela01/mysql/mysql-5.0.96-solaris9-sparc-64bit.pkg>
MySQL Community Server (GPL)(sun4u) 5.0.96
Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
The selected base directory </opt/mysql> must exist before installation is attempted.
Do you want this directory created now [y,n,?,q] y
Using </opt/mysql> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
....output skipped for brevity
Postinstall script.
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/opt/mysql/mysql/bin/mysqladmin -u root password 'new-password'
/opt/mysql/mysql/bin/mysqladmin -u root -h observer password 'new-password'
Alternatively you can run:
/opt/mysql/mysql/bin/mysql_secure_installation
which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers.
The latest information about MySQL is available on the web at http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Installation of <mysql> was successful.
see also : http://www.developerscrappad.com/172/database/mysql/installing-mysql-5-0-on-solaris-10/
Default options are read from the following files in the given order: /etc/my.cnf /opt/mysql/mysql/etc/my.cnf ~/.my.cnf
# Starting up:
root@dbserver> nohup mysqld -u root &
root@dbserver> mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.0.96 MySQL Community Server (GPL)
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
root@dbserver> pkgadd -d ./mysql-5.0.96-solaris9-sparc-64bit.pkg
The following packages are available:
1 mysql MySQL Community Server (GPL)
(sun4u) 5.0.96
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all
Processing package instance <mysql> from </angela01/mysql/mysql-5.0.96-solaris9-sparc-64bit.pkg>
MySQL Community Server (GPL)(sun4u) 5.0.96
Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
The selected base directory </opt/mysql> must exist before installation is attempted.
Do you want this directory created now [y,n,?,q] y
Using </opt/mysql> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
....output skipped for brevity
Postinstall script.
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/opt/mysql/mysql/bin/mysqladmin -u root password 'new-password'
/opt/mysql/mysql/bin/mysqladmin -u root -h observer password 'new-password'
Alternatively you can run:
/opt/mysql/mysql/bin/mysql_secure_installation
which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers.
The latest information about MySQL is available on the web at http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Installation of <mysql> was successful.
see also : http://www.developerscrappad.com/172/database/mysql/installing-mysql-5-0-on-solaris-10/
Default options are read from the following files in the given order: /etc/my.cnf /opt/mysql/mysql/etc/my.cnf ~/.my.cnf
# Starting up:
root@dbserver> nohup mysqld -u root &
root@dbserver> mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.0.96 MySQL Community Server (GPL)
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| drpl_devstyle |
| mysql |
| test |
+--------------------+
4 rows in set (0.00 sec)
mysql>
Additional notes for MySQL on Solaris Using a Solaris PKG when upgrading.
To use this package, download the corresponding mysql-VERSION-solaris10-PLATFORM.pkg.gz file, then uncompress it. For example:
shell> gunzip mysql-5.5.61-solaris10-x86_64.pkg.gz
shell> pkgadd -d mysql-5.5.61-solaris10-x86_64.pkg
The following packages are available:
1 mysql MySQL Community Server (GPL)
(i86pc) 5.5.61
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
By default, the PKG package installs MySQL under the root path /opt/mysql. You can change only the installation root path when using pkgadd, which can be used to install MySQL in a different Solaris zone. If you need to install in a specific directory, use a binary tar file distribution.
The pkg installer copies a suitable startup script for MySQL into /etc/init.d/mysql. To enable MySQL to startup and shutdown automatically, you should create a link between this file and the init script directories. For example, to ensure safe startup and shutdown of MySQL you could use the following commands to add the right links:
shell> ln /etc/init.d/mysql /etc/rc3.d/S91mysql
shell> ln /etc/init.d/mysql /etc/rc0.d/K02mysql
To remove MySQL, the installed package name is mysql. You can use this in combination with the pkgrm command to remove the installation.
To upgrade when using the Solaris package file format, you must remove the existing installation before installing the updated package. Removal of the package does not delete the existing database information, only the server, binaries and support files. The typical upgrade sequence is therefore:
shell> mysqladmin shutdown
shell> pkgrm mysql
shell> pkgadd -d mysql-5.5.61-solaris10-x86_64.pkg
shell> mysqld_safe &
shell> mysql_upgrade
Oracle Data Recovery Advisor
Hopefully, if you have any dealings with Oracle you will never need to deal with the Data Recovery Advisor - 'DRA' in an actual disaster. It has been around ages but I always forget about it so thought I would post a reminder on here.
From the docs :
"Purpose of Data Recovery Advisor
Data Recovery Advisor is an Oracle Database tool that automatically diagnoses data failures, determines and presents appropriate repair options, and executes repairs at the user's request. In this context, a data failure is a corruption or loss of persistent data on disk. By providing a centralized tool for automated data repair, Data Recovery Advisor improves the manageability and reliability of an Oracle database and thus helps reduce the MTTR."
Data Recovery Advisor is an Oracle Database tool that automatically diagnoses data failures, determines and presents appropriate repair options, and executes repairs at the user's request. In this context, a data failure is a corruption or loss of persistent data on disk. By providing a centralized tool for automated data repair, Data Recovery Advisor improves the manageability and reliability of an Oracle database and thus helps reduce the MTTR."
Easy to access through the Enterprise Manager Cloud Control 12c and via RMAN.
Great tutorial here :
Worth spending a bit of time on even though like I say you hopefully will never need it.
Subscribe to:
Posts (Atom)