Posts

Showing posts from September, 2017

What is a keytab, and how do I use one?

Introduction A keytab is a file containing pairs of  Kerberos  principals and encrypted keys (which are derived from the Kerberos password). You can use a keytab file to authenticate to various remote systems using Kerberos without entering a password. However, when you change your Kerberos password, you will need to recreate all your keytabs. Keytab files are commonly used to allow scripts to automatically authenticate using Kerberos, without requiring human interaction or access to password stored in a plain-text file. The script is then able to use the acquired credentials to access files stored on a remote system. Creating a keytab file You can create keytab files on any computer that has a Kerberos client installed. Keytab files are not bound to the systems on which they were created; you can create a keytab file on one computer and copy it for use on other computers. Following is an example of the keytab file creation process using MIT Kerberos: > ktutil ktutil: addent -...

Datastage Service or Job fails write error: No space left on device

Even though we have enough space for all the director for IBM IIS, We do get the error message "error: No space left on device" Try to find if this is an inodes problem with: df -ih Try to find root folders with large inodes count: for i in /*; do echo $i; find $i |wc -l; done Try to find specific folders: for i in /src/*; do echo $i; find $i |wc -l; done To clear the &PH& directory from within DataStage: Ensure there are no DataStage jobs running anywhere on the system by running "ps -ef | grep DSD" From the DataStage Administrator, go to the Projects page, select the project whose file you want to clear and click the Command button. The Command Interface dialog box opens. Type the following into the command field: CLEAR.FILE &PH& (all uppercase) Click Execute to run the command and clear the file.