cancel
Showing results for 
Search instead for 
Did you mean: 

Shell Scripts for Directory Creation !

Former Member
0 Kudos

Hi All

Where can we find the Shell scripts for creating Directories before installing SAP SM 7.0 on RHEL 5.2 ?

Please let me know.

Thanks

Srikar

Accepted Solutions (0)

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

No shell script necessary - the directories are created by sapinst.

Markus

Former Member
0 Kudos

Hi Markus

In Installation Guide it says to create directories manually and allocate the space for them ?

It says that SAPINST will prompt only for "sapmnt" direcotry, if at all we don't create the directories before installation it shall create all the directories in root

Plesae throw your views on this.

Thanks

Sri

markus_doehr2
Active Contributor
0 Kudos

Let's say like this: it depends on your database, for MaxDB you don't need to create anything.

There is no shell script to do that since it depends on your filesystem layout and the <SID> of your system.

Markus

Former Member
0 Kudos

Hi Markus Its on Oracle, I think we need to create the directory structure manually for that.

Please correct me if I am wrong.

markus_doehr2
Active Contributor
0 Kudos

Yes - it may be necessary if that is a completely new machine.

But it's not that much work for that you would need a script, you can create multiple at once using

mkdir -p /oracle/<SID>/102_64

mkdir -p /oracle/<SID>/sapbackup

etc.

If you don't create them now, sapinst will tell you to create them, it won't stop with an error.

Markus

Former Member
0 Kudos

Hi Markus

Thanks for the info, as you said I created them manually

Sri