- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: I'd like to change SCA priorities based on a p...
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
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
тАО04-24-2006 03:54 AM
тАО04-24-2006 03:54 AM
I'd like to change SCA priorities based on a particular cpu booting
based on serial number or so will use EWA & EWB or EWA & EWD based on the wiring.
Is node_csid available for this?
What does this parameter mean?
write sys$output f$getsyi("node_csid")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 04:18 AM
тАО04-24-2006 04:18 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 04:31 AM
тАО04-24-2006 04:31 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
as Ian has pointed out, the csid is not a serial number. Here is a quick explanation of the csid:
The cluster-system-id of an OpenVMS node is assigned by the cluster-connection software and may be obtained by the DCL command SHOW CLUSTER. The value of the cluster-system-id for an OpenVMS node is not permanent; a new value is assigned to an OpenVMS node whenever it joins or rejoins the OpenVMS Cluster.
If you are loading the same system root, then obviously any of the USERxxx etc SYSGEN parameters will be the same on both boxes, so you need to get some hardware id that changes between boxes. Why not consider using something like the adapter(s) MAC address to distinguish between hardware (assuming that the NICs actually differ between the boxes!!), or WWID of an HBA?
Are these node Vax /Alpha/ or Itanium?
Duncan
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 04:31 AM
тАО04-24-2006 04:31 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
The root will be right but I need to vary which network cards are prioritized based on which actual hardware I'm using.
So I need to check against Serial Number or some such.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 04:36 AM
тАО04-24-2006 04:36 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
As Ian mentioned, you want to use something like the SCSSYSTEMID (or alternatively, the System Root Number). Depending upon your configuration, and contingencies, a given node may boot on different hardware boxes.
I have often used different system roots for this purpose, generalizing the concept of a node. Some examples of this type of concept were included in my OpenVMS Technical Journal paper on the use of inheritance, see http://www.rlgsc.com/publications/vmstechjournal/inheritance.html for some examples.
I would recommend using the logical name facility to define the primary, secondary, and other adapters, and then issue the appropriate common commands referencing the logical names, it should work (I am not in a location where I can check it easily at this instant).
Using the inheritance concept can make this sort of thing substantially easier to implement and maintain.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 04:36 AM
тАО04-24-2006 04:36 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
I guess I can do that. I know that I can go into SDA and get the FGA adapter cards...is there an easy way to retrieve Mac address?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 04:40 AM
тАО04-24-2006 04:40 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
a quick and dirty way would be using lancp and parsing the output. Similar info could be extracted from SDA.
I suppose that it all depends on how you are doing your "code". If it is just DCl, then the lancp route would probably suffice
> mc lancp show dev/par
Device Characteristics EIA0:
Value Characteristic
----- --------------
1500 Device buffer size
Normal Controller mode
External Internal loopback mode
00-50-8B-65-F1-F9 Hardware LAN address
Multicast address list
CSMA/CD Communication medium
FF-FF-FF-FF-FF-FF Current LAN address
128 Minimum receive buffers
256 Maximum receive buffers
Yes Full duplex enable
Yes Full duplex operational
TwistedPair Line media type
100 Line speed (mbps)
Disabled/No Failset Logical LAN state
0 Failover priority
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 04:44 AM
тАО04-24-2006 04:44 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
mcr scacp sho lan
Device Errors + Mgt Buffer MgtMax Line Total Current
Device Type Events Status Priority Size BufSiz Speed Pkts(S+R) LAN Address
------ ---- ------ ------ -------- ---- ------ ----- --------- -----------
LCL 0 Run Online Local Restart 0 1426 0 N/A 386532 00-00-00-00-00-00
EWA DEGXA 0 Run Online Restart 0 1426 0 1000 4816753 AA-00-04-00-CB-04
EWD DEGXA 0 Run Online Restart 4 1426 0 1000 58338910 AA-00-04-00-CB-04
EWB DEGXA 0 Not in use by SCA 0 0 0 1000 0 00-00-00-00-00-00
EWC DEGXA 0 Not in use by SCA 0 0 0 1000 0 00-00-00-00-00-00
On the other node
mcr scacp sho lan
Device Errors + Mgt Buffer MgtMax Line Total Current
Device Type Events Status Priority Size BufSiz Speed Pkts(S+R) LAN Address
------ ---- ------ ------ -------- ---- ------ ----- --------- -----------
LCL 0 Run Online Local Restart 0 1426 0 N/A 3207162 00-00-00-00-00-00
EWA DEGPA 121 Run Online Restart 4 1426 0 1000 2056716311 00-60-6D-21-08-A4
EWC DEGPA 0 Run Online Restart 0 1426 0 1000 78399182 AA-00-04-00-CA-04
EWB DE500 0 Not in use by SCA 0 0 0 100 0 00-00-00-00-00-00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 04:46 AM
тАО04-24-2006 04:46 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
Go for it with the SCACp output.
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 05:09 AM
тАО04-24-2006 05:09 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
I similarly would not recommend using the Hardware MAC address. The hardware MAC address is different for each board. When Field Service swaps out a board in an emergency, you will have to make changes to your configuration files to accomodate the change. This is painful, as many discovered when software licensing schemes (generally not Digital/Compaq) relied on LAN adapter numbers. Everything broke when hardware was swapped.
It is easier to use alternate roots to boot the systems, as follows:
Box 1 Box 2
Node A Root 0 Root 2
Node B Root 1 Root 3
Creating a SYS$NODESPECIFIC (in the search path in addition to SYS$SPECIFIC) is straightforward, and will keep the different incarnations of the nodes straight, In short, you normal boot roots are 0 & 1, alternate roots are 2 & 3, respectively.
Thus, if you want Node A running on Box 1, you boot off of system root 0. If Box 2, system root 2. The exact topology information that is different on the boxes is included in a file in SYS$SPECIFIC (say [SYSMGR]SCSTOPOLOGY.COM).
No device scanning necessary, no dependency on the vaguarities of output report formats (and parsing them).
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 05:11 AM
тАО04-24-2006 05:11 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
$ write sys$output f$getdvi( "ewa0", "lan_default_mac_address" )
00-06-2B-00-1D-93
$ write sys$output f$getdvi( "ewa0", "lan_mac_address" )
AA-00-04-00-1F-0C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2007 05:45 AM
тАО05-22-2007 05:45 AM
Re: I'd like to change SCA priorities based on a particular cpu booting
In years past, I've tied into controllers and ports and MAC addresses, and I've ended up causing myself some extra work here. This either directly, through the added maintenance entailed in some solutions, or as the underlying OpenVMS implementation has changed.
The IPC services are a good option in clusters, for instance, as are locks and files with global buffers. LDAP or DNS/BIND can be options for locating components, too.
As for controller MAC addresses, there's a program posted at the Ask The Wizard area (left navigation) that has been around forever, and works nicely. It taps into the driver-level interfaces for this stuff.
With some details on the problem and related background materials, folks here may be able to provide a solution that's easy, fast, maintainable -- and meets your particular requirements.
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2007 01:43 PM
тАО05-22-2007 01:43 PM
Re: I'd like to change SCA priorities based on a particular cpu booting
the reason why tou can NOT use the CSID: it is unique to THIS incarnation of a cluster node, ane will NOT be reused during the life of THIS cluster. Only after a fll cluster shutdown the numer mar be used again...
maybe little help, but at least some explanation about what will NOT work.
Proost.
Have one on me.
jpe