02-25-2005
Although I have no experience with moving shell scripts from HP-UX (which I believe is what you mean) to AIX, it probably matters more how the scripts were written. If HP-UX uses different paths and the script just uses commands that are not fully pathed in the script ( grep versus /usr/bin/grep ), then you may not have as many issues. Probably something you can 'fix' with setting the PATH variable for that particular user on AIX. If, on the other hand, the script does have complete pathing on commands (/usr/ucb/ vs /usr/bin ) then you would probably have to change some things - you could possibly add soft links for a quick fix (not recommended).
The best way to find out - try them! Change the scripts so you will get output into a log file so you can see if they are working properly.
And I could not find any information on a migration tool. Probably since UNIX is UNIX, it's assumed that these types of issues should work. Since I don't know what CFT is, I would imagine that CFT may be an issue.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Where are they located? (2 Replies)
Discussion started by: 98_1LE
2 Replies
2. UNIX for Advanced & Expert Users
Hello,
We would to migrate some shell (korn shell) scripts from HP-UX to AIX 5.2
I would know:
- If the HP-UX scripts work as well in AIX?
- In no, is there a migration tool to detect incompatible lines in scripts?
- How do proceed?
Our scripts do:
- Loads data in Oracle... (1 Reply)
Discussion started by: P026687
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
I need to schedule some tasks on AIX.
At first I must copy files from folder on second AIX server to my primary server. This job schould be done in 1 hour intervals. I want to get only new files.
Second script is needed for old files cleaning. It is necesary to delete files older than... (3 Replies)
Discussion started by: piooooter
3 Replies
4. AIX
Hi,
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies
5. AIX
Please help me
1. Please give me the few examples of shell scripts written for AIX
2.I have scripts written on Unix, does that work for AIX, if not what are the changes to be carried out to run the scripts on AIX....
Please help me (4 Replies)
Discussion started by: me_haroon
4 Replies
6. AIX
How to install/ migrate AIX through remote login (1 Reply)
Discussion started by: AIXlearner
1 Replies
7. AIX
Hi, can someone point me to the bootup file where I can add a samba start up script so I dont have to manually start samba everytime we reboot the server? Thanks. (8 Replies)
Discussion started by: NycUnxer
8 Replies
8. AIX
Hi,
I have questions about unix AIX's lvm.
Is there some problem to do migrate lp into a mirrored vg or should i break the mirror before?
Is necessary to run reorgvg after I migrate lp ?
thanks (1 Reply)
Discussion started by: alfastar
1 Replies
9. AIX
Using nimadm:
nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y
Initializing the NIM master.
Initializing NIM client sap024.
0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT
spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies
10. AIX
Hello Friends/AIXgurus,
When you have time, could you please look into below. We're planning to migrate AIX LPARs on to new Hardware.
Requirement: Migrate AIX LPARs from POWER 6 to POWER 8 Hardware (*everything should run as is after the transition)
Below is our thought process. Ours... (5 Replies)
Discussion started by: System Admin 77
5 Replies
LEARN ABOUT SUSE
initscript
INITSCRIPT(5) Linux System Administrator's Manual INITSCRIPT(5)
NAME
initscript - script that executes inittab commands.
SYNOPSIS
/bin/sh /etc/initscript id runlevels action process
DESCRIPTION
When the shell script /etc/initscript is present, init will use it to execute the commands from inittab. This script can be used to set
things like ulimit and umask default values for every process.
EXAMPLES
This is a sample initscript, which might be installed on your system as /etc/initscript.sample.
#
# initscript Executed by init(8) for every program it
# wants to spawn like this:
#
# /bin/sh /etc/initscript <id> <level> <action> <process>
#
# Set umask to safe level, and enable core dumps.
umask 022
ulimit -c 2097151
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
# Increase the hard file descriptor limit for all processes
# to 8192. The soft limit is still 1024, but any unprivileged
# process can increase its soft limit up to the hard limit
# with "ulimit -Sn xxx" (needs a 2.2.13 or later Linux kernel).
ulimit -Hn 8192
# Execute the program.
eval exec "$4"
NOTES
This script is not meant as startup script for daemons or somesuch. It has nothing to do with a rc.local style script. It's just a handler
for things executed from /etc/inittab. Experimenting with this can make your system un(re)bootable.
FILES
/etc/inittab, /etc/initscript.
AUTHOR
Miquel van Smoorenburg ,<miquels@cistron.nl>
SEE ALSO
init(8), inittab(5).
July 10, 2003 INITSCRIPT(5)