New version of set_exadata_passwords.sh

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”

Advertisements

chpasswd not working after upgrade

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.

Continue reading “chpasswd not working after upgrade”

Check options linked into ORACLE_HOME

NEW SCRIPT! – It check the options linked into the oracle software as described in MOS note “How to Check and Enable/Disable Oracle Binary Options (Doc ID 948061.1)” Continue reading “Check options linked into ORACLE_HOME”

How to determine CRS_HOME

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”

long running script without nohup

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”