Operating System - OpenVMS
1748204 Members
4032 Online
108759 Solutions
New Discussion юеВ

Re: Multiple default directories for an ID

 
Steven Schweda
Honored Contributor

Re: Multiple default directories for an ID

> [...] the ends I am trying to achieve [...]

Disclosing those might have avoided
considerable wasted time and effort.
Robert Gezelter
Honored Contributor

Re: Multiple default directories for an ID

Greg,

I agree with Jeremy: Use a common login, and invoke an architecture-specific set of definitions. Typically, this is done using a logical name (e.g., HOST_ARCHITECTURE:DEFINE.COM). The logical name is defined in the system wide logical name table when the node is started.

There is no need to embed IF statements that check architecture in the user's login, merely an invocation of a file whose logical name differs on each architecture.

What goal are you attempting?

References:

"Strategies for Migrating from Alpha and VAX systems to HP Integrity Servers on OpenVMS", see http://www.rlgsc.com/publications/vmstechjournal/migrationstrategies.html

"Inheritance Based Environments in Stand-alone OpenVMS Systems and OpenVMS Clusters", see http://www.rlgsc.com/publications/vmstechjournal/inheritance.html

- Bob Gezelter, http://www.rlgsc.com
Gregory Pagan
Occasional Advisor

Re: Multiple default directories for an ID

All,

The ID in question is used to control Oracle. Right now we have Oracle version 10 only on our Itanium node but we are upgrading our Oracle version 9 on Alpha to Oracle version 10 on Alpha.

Currently the Oracle10 default device is a drive that houses the Itanium code for Oracle. The Alpha code for Oracle will be on another device to keep them totally separate.

That is why I was interested if I could have one id that I could have go to two home devices. I do appoligize that I did not provide this information from the begging as some of you pointed out.

I am gratefull to you all for taking the time to share your experience and knowledge and I have decidied that the best alternative is to go with two ID's one for each version of Oracle10. It end up being much easier to keep things straight going forward.

Greg
Why does this always happen to me?
Robert Gezelter
Honored Contributor

Re: Multiple default directories for an ID

Greg,

How about defining a system logical name "ORACLE_HOME" which is defined based upon the architecture?

Arguably, this definition could be used as part of the UAF entry for the ORACLE DBA account.

The above is based upon your last description of the specifics of the situation.

- Bob Gezelter, http://www.rlgsc.com
abrsvc
Respected Contributor

Re: Multiple default directories for an ID

With 2 versions of Oracle running in the cluster, do you also want 2 environments? If so, use the "system" level logicals defined during startup to point to the correct version/directory_tree and have the logical names the same. Log into the Alpha and the alpha system table points you to the V9 area, similarly the system table for the Itanium points to the V10 area.

With the logical name being the same on each system, there are no changes required in login.com or any other common procedure.

Dan
Gregory Pagan
Occasional Advisor

Re: Multiple default directories for an ID

We actually have 3 versions of Oracle running in the cluter now. We have oracle 9 for rman running on 1 alpha node, we have oracle 9 for our normal work on another alpha node, and then Oracle 10 on an itanium node. We the values for Oracle_Home get created at the node level not the cluster level. If if logon onto alpha1 you get out ACTOEM intall. If you logon onto alpha2 you get our oracle9 install, etc.

Is that what you are asking about?

Greg
Why does this always happen to me?