A new version of set_exadata_passwords.sh is available on GitHub. With new options and a bugfix for infiniband switches. Continue reading “New version of set_exadata_passwords.sh”
After the upgrade of a infiniband switch from version 2.1.5-1 to 2.2.6-2 my script set_exadata_passwords.sh was not working anymore. It can’t change the password of the infiniband switches because the command chpasswd threw the following error:
[root@my_ib ~]# echo "root:MY_NEW_PW" |chpasswd -c SHA512 chpasswd: cannot open /etc/passwd
In the blog I’ll explain why it’s not working, how I found the root cause and a workaround.
Both utilities are rarely used – usually in case you already ran into a problem. But it’s useful to have basic knowledge because otherwise it’s hard to start with them. This blog post should give you an overview what the utilities are made for. Continue reading “kfed/kfod – What you need to know”
In the environment of the cluster owner or some scripts, you may want to set a variable for the cluster installation usually called CRS_HOME, GRID_HOME or simly ORACLE_HOME.
I like to do that in an automatic and non-static way. But be careful, this means it could go wrong or is being set to an unexpected value.
The main part of this post is how get the information and how to check for an acceptable value. Continue reading “How to determine CRS_HOME”
You started a long running script and didn’t used nohup? No Problem!
To protect the script against a break caused by i.e. network errors, I usually use nohup. You have the output available in nohup.out. If you already started the script, it’s to late for nohup, but you can disown the job from your shell: Continue reading “long running script without nohup”
orachk is nothing new and was former known as raccheck, long time ago and the functionality increased a lot! It checks your environment for possible wrong configurations and best practices from oracle. The number of checks increase with each version. here you can see all the checks. You can check an existing installation or improve your standard configuration with the recommendations. I like to use it, after a cluster setup or upgrade or operating system upgrade. It’s not limited to Database, Clusterware or Operating System, but in this blog it is. Main MOS Note and Doku. Exachk is an own tool, but belongs to the same family. Continue reading “orachk”
A RPM often depends on some other packages or commands, but to check the requirements in the pre or post install script of the RPM is quite bad! If the rpm, is not aware of the dependencies it cannot handle it.
But rpm itself can check a lot for you. Continue reading “Advanced RPM dependencies”