<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Remove TCPIP aliases during startup in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/remove-tcpip-aliases-during-startup/m-p/5327323#M102194</link>
    <description>&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If you can, don't use aliases at all and use DNS load balancing.&lt;BR /&gt;&lt;BR /&gt;Hard configuration of a virtual ip address can give you two hosts&lt;/P&gt;&lt;P&gt;with the same (virtual) ip address in some situations, the&lt;BR /&gt;consequences are funny on a test environment, but disastrous&lt;BR /&gt;on a production environment. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;MQ can be configured to have failover functionality like this, and after some adventures,&lt;/P&gt;&lt;P&gt;I have made the configuration conditional on the non-reachability&lt;BR /&gt;of the ip address, and if not met a cluster-wide kill of any virtual interface with that address&lt;/P&gt;&lt;P&gt;still up. &amp;nbsp;It gives a bit of protection anyway, but it is a kludge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get an idea:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;$ pingcount = 0
$PingLoop:
$!
$ ping -c 1 'p3'
$!
$ if $status
$ then
$!
$       ifcommand = ifconfig - "$"
$       pipe write sys$output "do mc ''ifcommand' ''p4' -alias ''p3'" | mc sysman set env/cluster
$!
$       pingcount = pingcount + 1
$       if pingcount .lt. 10
$       then
$               wait 0:0:10
$               goto PingLoop
$       endif
$!
$       request/to=oper9 "Alias ip address ''p3' still in use somewhere, MQ NOT started on ''f$getsyi("nodename")'"
$       exit 2
$!
$ endif&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2011 15:20:43 GMT</pubDate>
    <dc:creator>Jose_Baars</dc:creator>
    <dc:date>2011-09-09T15:20:43Z</dc:date>
    <item>
      <title>Remove TCPIP aliases during startup</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/remove-tcpip-aliases-during-startup/m-p/5326961#M102192</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully a quick solution. Is there a way to remove the currently active IP aliases from the TCIP configuration during startup? Preferably prior to starting TCPIP itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have two machines which share aliases, if one is restarted, the application and network alias migrate to the other machine. One the failed machine reboots there is a point where both network aliases are active which may cause some problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway,&lt;/P&gt;&lt;P&gt;OpenVMS 8-4 (fully patches)&lt;/P&gt;&lt;P&gt;TCPIP 5-7 ECO2&lt;/P&gt;&lt;P&gt;2 of RX2660s (clustered)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 10:15:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/remove-tcpip-aliases-during-startup/m-p/5326961#M102192</guid>
      <dc:creator>Brian Reiter</dc:creator>
      <dc:date>2011-09-09T10:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove TCPIP aliases during startup</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/remove-tcpip-aliases-during-startup/m-p/5326993#M102193</link>
      <description>&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how about creating/using SYS$STARTUP:TCPIP$SYSTARTUP.COM and adding&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ ifconfig xx0 -alias ip-alias-address-or-name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the only supported way to hook into TCPIP$STARTUP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're using TCPIP aliases on clustered nodes, these aliases will only move to the newly booting node, IF they are defined as HOME aliases on that node AND there are no current connections to these aliases on the 2nd node. Otherwise the aliases will stay where&amp;nbsp;they are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 10:47:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/remove-tcpip-aliases-during-startup/m-p/5326993#M102193</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2011-09-09T10:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Remove TCPIP aliases during startup</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/remove-tcpip-aliases-during-startup/m-p/5327323#M102194</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If you can, don't use aliases at all and use DNS load balancing.&lt;BR /&gt;&lt;BR /&gt;Hard configuration of a virtual ip address can give you two hosts&lt;/P&gt;&lt;P&gt;with the same (virtual) ip address in some situations, the&lt;BR /&gt;consequences are funny on a test environment, but disastrous&lt;BR /&gt;on a production environment. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;MQ can be configured to have failover functionality like this, and after some adventures,&lt;/P&gt;&lt;P&gt;I have made the configuration conditional on the non-reachability&lt;BR /&gt;of the ip address, and if not met a cluster-wide kill of any virtual interface with that address&lt;/P&gt;&lt;P&gt;still up. &amp;nbsp;It gives a bit of protection anyway, but it is a kludge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get an idea:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;$ pingcount = 0
$PingLoop:
$!
$ ping -c 1 'p3'
$!
$ if $status
$ then
$!
$       ifcommand = ifconfig - "$"
$       pipe write sys$output "do mc ''ifcommand' ''p4' -alias ''p3'" | mc sysman set env/cluster
$!
$       pingcount = pingcount + 1
$       if pingcount .lt. 10
$       then
$               wait 0:0:10
$               goto PingLoop
$       endif
$!
$       request/to=oper9 "Alias ip address ''p3' still in use somewhere, MQ NOT started on ''f$getsyi("nodename")'"
$       exit 2
$!
$ endif&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 15:20:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/remove-tcpip-aliases-during-startup/m-p/5327323#M102194</guid>
      <dc:creator>Jose_Baars</dc:creator>
      <dc:date>2011-09-09T15:20:43Z</dc:date>
    </item>
  </channel>
</rss>

