- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: how to take "INQUIRE" effect on systartup_vms....
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
06-06-2005 05:19 AM
06-06-2005 05:19 AM
help me please and thx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 05:28 AM
06-06-2005 05:28 AM
Solution$ open /read/write CHN_OPA0 OPA0:
$ read /error=label CHN_OPA0 DATA /prompt="Yes? "
... process input in symbol DATA
somewhere else:
$label:
... error processing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 08:42 AM
06-06-2005 08:42 AM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
$if mode .es. "interactive' then set term/inq.
this is very useful for all logins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 08:45 AM
06-06-2005 08:45 AM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
why would anybody put that command into SYSTARTUP_VMS.COM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 10:14 AM
06-06-2005 10:14 AM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
follow Uwe s advice.
He DOES recall correctly, that is how it works for various sites I have been active, for at least the last 20 years!
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 01:13 PM
06-06-2005 01:13 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
q
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 02:20 PM
06-06-2005 02:20 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 03:00 PM
06-06-2005 03:00 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
STARTUP_Px offer great flexibility.
But you better not touch P1, P2, nor P8, other than in the documented fashion.
The only values for P1 are "" (empty string) and "MIN" (minimal bootstrap).
P2 is evaluated for its Boolean value, and if true, switches on VERIFY during bootstrap. P8 is also special, but not having a VMS system at hand here, I cannot give specifications now.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 07:28 PM
06-06-2005 07:28 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
There are four user-defineable SYSGEN variables (two static, two dynamic), appropriately named USERD1, USERD2, USER3, and USER4.
I use USER3 to select the IP stack to boot on my support machine, like:
[SYSTARTUP_VMS.COM]
$! Selection of the TCP/IP stack
$! 0 : No TCP/IP (default)
$! 1 : TCP/IP Services 5.4
$! 2 : TCPware 5.6
$! 3 : MultiNet 4.4
$! 4 : MultiNet 5.0
$ TCPSTACK = F$GETSYI("USER3")
...
$ IF TCPSTACK .EQ. 1 THEN -
@SYS$STARTUP:TCPIP$STARTUP.COM
etc.
I got this tip from the OpenVMS Technical Journal Vol.4, http://h71000.www7.hp.com/openvms/journal/v4/using_the_sysgen_user_parameters.html .
HTH,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 07:43 PM
06-06-2005 07:43 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
to avoid halt in bootstrap procedure, you can change Uwe's example as follow:
$ open /read/write CHN_OPA0 OPA0:
$ read /error=label/TIME=10 CHN_OPA0 DATA /prompt="Yes? "
... process input in symbol DATA
somewhere else:
$label:
sts=$status
if sts.eq.%X000181B0
then
... time-out
else
... error processing
endif
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 07:51 PM
06-06-2005 07:51 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
to abort some waiting loop on a resource.
Example: we have a disk containing utilities , MSCP served by one node. We want to mount this disk early in systartup, but want to be able to continue startup if the disk is not available for some reason. We have a loop trying to mount, and if not available, do a READ (not INQUIRE) from opa0: using /time_out and /end-of_file to abort the loop and continue systartup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 08:04 PM
06-06-2005 08:04 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
Cold boot of the cluster went like this:
- boot first server in first data center
- server waits for one of the servers in the other datacenter to come up. This has to be confirmed by one of the operators.
- server(s) continue to boot and mount the shadow sets
If we allowed a single server a full boot it would break the shadow sets if the other DC was down. The operator can also request a full boot even if the other datacenter is not available. Customer agreed on a completely manual process.
There was no quorum disk or fifth voting member involved. My excuse is that I got involved rather late in the project when the hardware was already being delivered by somebody else who did not have much experience with clustering. Also, the operators did not have much VMS experience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 08:23 PM
06-06-2005 08:23 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
In systartup_vms.com I use f$getdvi function like this
$ IF F$GETDVI("DKA100","EXISTS")
$ THEN
$ MOUNT DKA100: ...
$ ENDIF
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 03:21 AM
06-07-2005 03:21 AM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
$ INPUT_DEV := TT:
$ if f$getjpi("","PRCNAM") .eqs. "STARTUP" then INPUT_DEV := OPA0:
$ open/read/write CHN_OPA0 'INPUT_DEV'
... and so on as described
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 05:32 AM
06-07-2005 05:32 AM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
_that_ is exactly what we are using it for.
Actually, not even from SYSSTARUP_VMS, but from SYLOGICALS.
We attempt to have our cluster as common as possible, even in multi-architecture and/or multi-site.
Except for SYLOGICALS, EVERYTHING, including SYSTARTUP_VMS, is therefor on a common disk, other than the system disk(s).
Obviously, there is a need for an emergency escape if somehow that device is not available or not mountable.
That we test first, and the emergency escape allows to specify another disk, or to do a dedicated, minimalistic, boot from the system disk.
READ OPA0/TIMEOUT is that escape.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 08:19 AM
06-07-2005 08:19 AM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
Bob,
>why would anybody put that command into >SYSTARTUP_VMS.COM?
I thought he mean general statup files, such as sylogin.com
He didn't say it was systartup but sy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 03:57 PM
06-08-2005 03:57 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
However, many people put escape clauses in their startups, often with a timer, so they can escape and make changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 05:43 PM
06-08-2005 05:43 PM
Re: how to take "INQUIRE" effect on systartup_vms.com procedure?
Yes, he did. It's in the thread title and in his message.