- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Audit$Journal Offline Storage and Retrieval
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
Discussions
Discussions
Forums
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
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
тАО10-10-2005 09:51 AM
тАО10-10-2005 09:51 AM
I have been unable to identify the correct OpenVMS and Zos FTP settings to get this to work. The Zos system is using IBM's standard FTP server software.
Any help would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2005 01:36 PM
тАО10-10-2005 01:36 PM
SolutionIt depends on how much processing you're prepared to perform either in putting the file into storage, or retrieving it.
Audit journal files are variable length, which few non-OpenVMS FTP servers can deal with appropriately. So, the simplest way to make sure you get all your data back intact is to change the file to FIXED 512 byte records before sending. Send it in IMAGE mode. When you retrieve the file, restore the file attributes before analysis.
Note, we're not CONVERTing the file, just changing the file attributes to a lowest common denominator format that even the dumbest FTP implementation should understand.
Here's a procedure to adjust the file, and create a "fix" procedure for when it's retrieved (beware of wrapping):
$ IF p1.EQS."" THEN INQUIRE p1 "File"
$ rfm=F$FILE_ATTRIBUTES(p1,"RFM")
$ mrs=F$FILE_ATTRIBUTES(p1,"MRS")
$ lrl=F$FILE_ATTRIBUTES(p1,"LRL")
$ SET FILE/ATTRIBUTES=(RFM:FIX,MRS:512,LRL:512) 'p1'
$ dev=F$PARSE(p1,,,"DEVICE")
$ dir=F$PARSE(p1,,,"DIRECTORY")
$ nam=F$PARSE(p1,,,"NAME")
$ fix=dev+dir+"FIX_"+nam+".COM"
$ CREATE/FDL=SYS$INPUT 'fix'
RECORD
FORMAT STREAM_LF
$ OPEN/APPEND out 'fix'
$ WRITE out -
"$ SET FILE/ATTRIBUTES=(RFM:''rfm',MRS:''mrs',LRL:''lrl') ''p1'"
$ CLOSE out
In practice, I expect the record format and MRS to be constant for all audit journal files, but a bit of generality doesn't hurt.
Another possibility is to pack the file into a BACKUP saveset before transferring it, as it's always possible to repair a saveset.
There are implementations of ZIP and UNZIP that can preserve OpenVMS file attributes, but I've never found one that works 100% of the time for all files and through any sequence of operating systems, file systems, browswers etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2005 08:31 PM
тАО10-10-2005 08:31 PM
Re: Audit$Journal Offline Storage and Retrieval
say the usual curse about stupid unix file transfer protocols and you're done :-)
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 05:09 AM
тАО10-12-2005 05:09 AM
Re: Audit$Journal Offline Storage and Retrieval
If Yone wants to avoid all the file-structure pre- and post-processing, then archive ZIP for VMS is the best solution, and You get a big save in archive space.
ZIP_CLI/VMS archive.zip list of files
The /VMS option (or "-V" in Unix syntax) stores the VMS file attributes for later UNZIP operations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2005 12:04 AM
тАО10-13-2005 12:04 AM
Re: Audit$Journal Offline Storage and Retrieval
I never found such combinations since many years. At least the actual versions (Zip 2.31, Unzip 5.52) are doing well.
I tested with security audit files (actually I do this in my weekly cleanup job), and Anal/audit on such zipped/unzipped audit log files does not show a problem. The mean compression ratio is 90% .