- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Rooted logical over decnet
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 06:48 AM
05-17-2005 06:48 AM
I then defined a rooted logical as follows
$defi/sys/exec/trans=conc newlog nod46::[product.xx.]
Trying to access the directory as newlog:[000000] produces the following:
-RMS-F-DEV, error in device name or inappropriate device type for operation
Can you use rooted logicals over Decnet like I am trying to do?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 06:59 AM
05-17-2005 06:59 AM
Re: Rooted logical over decnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 07:02 AM
05-17-2005 07:02 AM
Re: Rooted logical over decnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 07:06 AM
05-17-2005 07:06 AM
Re: Rooted logical over decnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 07:09 AM
05-17-2005 07:09 AM
Re: Rooted logical over decnet
On node46 there is a local rooted logical pointing into the directory structure he needs to access. We are trying to duplicated that remotely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 07:11 AM
05-17-2005 07:11 AM
Re: Rooted logical over decnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 07:14 AM
05-17-2005 07:14 AM
Re: Rooted logical over decnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 07:18 AM
05-17-2005 07:18 AM
Re: Rooted logical over decnet
$ define/sys/exec newlog node46::rooted_logical:
If it has to be concealed, I do not have an answer. Again, rooted_logical needs to be defined on the remote node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 03:56 PM
05-17-2005 03:56 PM
Re: Rooted logical over decnet
File specifications must fit the syntax:
A fairly simple rule to help explain this is that everything to the right of the "::" happens on the REMOTE node. Consider that even with DECnet, the remote host doesn't need to be OpenVMS, so the local host just passes the filespec string direct to the remote host without interpretation.
Since "[product.xx.][000000]" is not a valid file specification, there is no way to pass a correct file specification to the other host. In fact the RMS-F-DEV error occurs before DECnet involvement. There is no attempt to make a network connection because a concealed device specification must, by definition, be part of the DEVICE field of a file specification, and therefore cannot contain a node specification.
As Dale has already pointed out, you need to have the rooted logical name defined on the remote host.
>On node46 there is a local rooted logical
>pointing into the directory structure he
>needs to access. We are trying to
>duplicated that remotely.
Good! So, you already have the remote logical name. Your local logical name needs to be defined in terms of the NODE46 logical name. For example, assume the remote logical name is:
$ DEFINE/TRANS=CONCEALED NODE46_ROOT:[PRODUCT.XX.]
You need to define your logical name as:
$ DEFINE NEWLOG NODE46::NODE46_ROOT:
You can then use
$ DIRECTORY NEWLOG:[000000]
or with any other directory specification, exactly the same as you would use the logical name NODE46_ROOT on NODE46.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 12:39 AM
05-18-2005 12:39 AM
Re: Rooted logical over decnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 12:43 AM
05-18-2005 12:43 AM
Re: Rooted logical over decnet
just tell him that in this case, because of the network, his "rooted" name contains "::" :-)
-- just as long as he is not going to evaluate the logical name!
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2005 09:50 AM
05-18-2005 09:50 AM
Re: Rooted logical over decnet
>You guys are correct, I just do not
>know whether this will cause an issue
>locally.
Shouldn't be a problem. Just make the logical name on all nodes identical.
So, on NODE46...
$ DEFINE/TRANS=CONC MYDATABASE dev:[dir.]
DBA on NODE46 can access stuff like:
$ TYPE MYDATABASE:[ACCOUNTS]MAY.REPORT
On any other node, define the same logical name as:
$ DEFINE MYDATABASE NODE46::MYDATABASE:
DBA can access stuff like:
$ TYPE MYDATABASE:[ACCOUNTS]MAY.REPORT
So, it's the same no matter where he is. The goal of DECnet making itself completely transparent is achieved.
How can this be a problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 02:13 AM
05-19-2005 02:13 AM
Re: Rooted logical over decnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 05:53 AM
05-19-2005 05:53 AM
Re: Rooted logical over decnet
test.dir (proxy_account, opt=default, rwed)
(proxy_account,rwed)
This should give the proxy account full access. We can read from and copy a file to the directory structure just fine but we can't create a directory on node46 from node65.
65->set def ingmm7:[ingres.ckp]
65->creat/dir [.test]
%CREATE-E-DIRNOTCRE, [.TEST] directory file not created
-LIB-F-INVFILSPE, invalid file specification
I have tried creating after setting default and without setting default. Same error. The software needs to create a directory during installation. As I said, I had no idea what issue we would find but I had a feeling we would find one. Any ideas? Is it something simple like adding control access to the acl??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 09:53 AM
05-19-2005 09:53 AM
Solution65->set def ingmm7:[ingres.ckp]
65->creat/dir [.test]
%CREATE-E-DIRNOTCRE, [.TEST] directory file not created
-LIB-F-INVFILSPE, invalid file specification
Tricky!
Unfortunately CREATE/DIRECTORY doesn't understand network specifications. You can get around this by using a network task on the other end. Here are a pair of procedures. CREDIR.COM replaces the CREATE/DIRECTORY command. It will check the target directory specification. If it's on the local node, it just creates a directory. If not, it invokes the network object REMCREDIR.COM to perform the CREATE/DIRECTORY on the other node.
Put both procedures in the login directories on both nodes. Replace any CREATE/DIRECTORY commands on either node with @SYS$LOGIN:CREDIR. For more general use, place REMCREDIR in a central location and DEFINE/SYSTEM REMCREDIR full-file-spec.
(beware of wrapping!)
CREDIR.COM
$ stat="%X30001"
$ IF p1.EQS."" THEN READ/PROMPT="_File: "/ERROR=Quit/END=Quit SYS$COMMAND p1
$ ON WARNING THEN EXIT '$STATUS'
$ node=F$PARSE(p1,F$ENVIRONMENT("DEFAULT"),,"NODE")
$ IF node.EQS.""
$ THEN
$ CREATE/DIRECTORY 'p1'
$ stat=$STATUS
$ ELSE
$ dev=F$PARSE(p1,F$ENVIRONMENT("DEFAULT"),,"DEVICE")
$ dir=F$PARSE(p1,F$ENVIRONMENT("DEFAULT"),,"DIRECTORY")
$ OPEN/READ/WRITE net 'node'"0=REMCREDIR"
$ WRITE net "''dev'''dir'"
$ READ net stat
$ CLOSE net
$ ENDIF
$ Quit: EXIT 'stat'
REMCREDIR.COM
$ ON WARNING THEN CONTINUE
$ OPEN/READ/WRITE net SYS$NET:
$ READ/END=quit net line
$ CREATE/DIRECTORY 'line'
$ stat=$STATUS
$ WRITE net "''stat'"
$ CLOSE net
$ quit: EXIT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 09:57 AM
05-19-2005 09:57 AM
Re: Rooted logical over decnet
Note that if you don't have complete control of the procedures containing the CREATE/DIRECTORY commands, it's also possible to modify CREDIR.COM so it can act as a replacement for all "CREATE" commands.
$ CR*EATE=="@somewhere:CREDIR"
Anything that isn't "CREATE/DIRECTORY" just gets executed directly. However, that's a bit more complex to implement correctly, so unless you really need it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 06:26 AM
06-15-2005 06:26 AM
Re: Rooted logical over decnet
So our solution was to define the roots as follows:
$!$ def/sys/exec std$disk _$1$DKA300: /trans=conc
$ phy_std$disk = f$getdvi("DEV_DISK_2","ROOTDEVNAM")
$ def/sys/exec std$disk 'phy_std$disk' /trans=conc
$ phy_maint$disk = f$getdvi("DEV_DISK_1","ROOTDEVNAM")
$ def/sys/exec maint$disk 'phy_maint$disk' /trans=conc
This allowed us to change the root's physical disk without bringing the system down. You would want to shutdown the applications that are using the roots first.
Lawrence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 06:49 AM
06-15-2005 06:49 AM
Re: Rooted logical over decnet
ASDEV1» dir cnaxp1::std$disk:[000000]
worked successfully
Lawrence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 06:55 AM
06-15-2005 06:55 AM
Re: Rooted logical over decnet
Lawrence