Foundations and Concepts Updated Information Using the Goal Navigator Introducing vRealize Automation Service Catalog Overview Infrastructure as a Service.Foundations and Concepts Using the Goal Navigator Introducing vCloud Automation Center Service Catalog Overview Infrastructure as a Service Overview. The Girl Who Never Made Mistakes Lesson . For your security, if you’re on a public computer and have finished using your Red Hat services, please be sure to log out. Cloud Automation Center Documentation. AIX UNIX (kshell) to Linux Shell Script Migration. Unix Linux Forums. If you want to make your scripts work in bash, I am currently doing a migration from AIX to RHEL and we've found these issues: - Variables in AIX inside a test can be without a preceding "$". This won't work in Linux, so you have to insert a "$" before each variable in a test. Another solution is duplicate "[[" instead of leaving "[ ]" for your test.)- Depends on the code, in my case I have found lots of variables comparing strings without being between double quotes, so we have decided to put double quotes for all variables comparing strings.- You have to change the extension of your scripts that are . Be aware that you have to modify all your cronjobs and all your scripts that are being called by other applications (like Control- M) if you still want them to function as they did.- You have to change the shebang for #!/bin/bash or #!/bin/sh or #!/usr/bin/env sh. I don't know which Linux distribution, but be aware of sh and dash for Debian/Ubuntu.- You have to change the path for commands like, I had something like this in AIX: /usr/bin/fuserand now it has to be changed into/bin/fuser. Same for mailx.- We also had to look for all the executables in C and make sure it all works as they used to.- We also searched all the sqlplus calls to test all the database related things.- We had to find out a way to have which script depends on another script and which scripts are the parent scripts.- We used sh - x to execute each script to search for anything strange or any possible errors.- We made a copy of each script and then we commented each loop and test so we could execute each action of the script and see if any errors came.- tail - n +2 but without - n doesn't work in Linux.- We have found a few variables that were not declared and this was because someone forgot to change it in an old migration they did from HP- UX to AIX.- Be aware of the environment variables.- We created the whole structe in the new machine, first without caring about permissions. I can give you more details in private.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |