<?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: ServiceGuard SDK, API in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004498#M710286</link>
    <description>In the standard package logic, if a volume associated with a package won't activate/mount then the package won't start, and there will be no package IP address.&lt;BR /&gt;&lt;BR /&gt;So you should just be able to go wherever the package IP address is, and have confidence that the packages volumes are available.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
    <pubDate>Mon, 23 Jun 2003 18:17:29 GMT</pubDate>
    <dc:creator>Duncan Edmonstone</dc:creator>
    <dc:date>2003-06-23T18:17:29Z</dc:date>
    <item>
      <title>ServiceGuard SDK, API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004492#M710280</link>
      <description>Hi, I am about to write an application which runs in a cluster (running Service Guard) and I need to be able to communicate with the cluster to get the status of my packages, their hosting node, the volumes available in the cluster, where are they mounted, etc.&lt;BR /&gt;&lt;BR /&gt;As far as I read, I could use EMS SDK to communicate with ServiceGuard, but I still have to see how to write code to communicate with the cluster.&lt;BR /&gt;&lt;BR /&gt;Is there another solution? A specific SDK, API to use for communicating with ServiceGuard? (The one used with ServiceGuard Manager maybe) Or is EMS the right way to do it?&lt;BR /&gt;&lt;BR /&gt;Thanks for your time,&lt;BR /&gt;&lt;BR /&gt;Cristi</description>
      <pubDate>Mon, 23 Jun 2003 09:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004492#M710280</guid>
      <dc:creator>Cristi BODNARIUC</dc:creator>
      <dc:date>2003-06-23T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceGuard SDK, API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004493#M710281</link>
      <description>Hi Cristi,&lt;BR /&gt;&lt;BR /&gt;ideally you should write your app, so that it communicates with the package-ip address, and  it's service(s) only keeping in mind that the app must be able to cope with a lost connection to the ip address (I.e. the package, or virtual server if you like) disappear, and comes back up. &lt;BR /&gt;&lt;BR /&gt;The package itself should take care of the underlaying infrastructure.&lt;BR /&gt;&lt;BR /&gt;I think you are asking for problems, if the application should be dependant of information like volumegroups, number of nodes and so on. &lt;BR /&gt;&lt;BR /&gt;(Unless it is an app. for tracking config changes in a cluster that is... :-))&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jun 2003 11:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004493#M710281</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2003-06-23T11:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceGuard SDK, API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004494#M710282</link>
      <description>BTW,&lt;BR /&gt;&lt;BR /&gt;the EMS interface is mainly used by monitor scripts inside the sg-package, to monitor availability of the hw, for the package to take decisions about how to behave in error-conditions. &lt;BR /&gt;&lt;BR /&gt;This should not be a task of the application that will use the package services.&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jun 2003 11:34:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004494#M710282</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2003-06-23T11:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceGuard SDK, API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004495#M710283</link>
      <description>Basically, I need to get the status of the volumes from the package service itself. So for me it is enough if I can find on which node I can find a volume if it is not currently mounted on the node I expect (or if it is offline, anyway to get its status). &lt;BR /&gt;&lt;BR /&gt;I can see a piece of software called HP Cluster API installed on my machine, but it seems not to be documented.&lt;BR /&gt;&lt;BR /&gt;If you want, I need to get the information you can get with the ServiceGuard Manager.&lt;BR /&gt;&lt;BR /&gt;10x,&lt;BR /&gt;Cristi</description>
      <pubDate>Mon, 23 Jun 2003 11:45:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004495#M710283</guid>
      <dc:creator>Cristi BODNARIUC</dc:creator>
      <dc:date>2003-06-23T11:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceGuard SDK, API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004496#M710284</link>
      <description>OK,&lt;BR /&gt;&lt;BR /&gt;execute the following commands, from remote using remshell or ssh, you will get what you need. &lt;BR /&gt;&lt;BR /&gt;You will have to run the commands towards the package ip, since you then automgically will reach the node that runs the package. &lt;BR /&gt;&lt;BR /&gt;cmviewcl (-v) will give you info about nodes and packages in the cluster, the status of them, and location.&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab will give you which volumegrups exist on a system.&lt;BR /&gt;&lt;BR /&gt;vgdisplay will show you active volumegroups on the system.&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jun 2003 12:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004496#M710284</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2003-06-23T12:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceGuard SDK, API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004497#M710285</link>
      <description>Thanks for your response. &lt;BR /&gt;&lt;BR /&gt;I thought about using the SG commands to get the cluster resources status, but I would prefer to do it programatically, i.e. directly from my C application by calling the appropriate functions from API (this can be done on Windows or Netware for example and in my opinion it is necessary to have such API for writing cluster aware applications).&lt;BR /&gt;&lt;BR /&gt;If I can not get this API (I am sure that this exists :) ) I will probably get an workaround using the shell commands.&lt;BR /&gt;&lt;BR /&gt;Thanks again for your time.&lt;BR /&gt;Cristi</description>
      <pubDate>Mon, 23 Jun 2003 14:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004497#M710285</guid>
      <dc:creator>Cristi BODNARIUC</dc:creator>
      <dc:date>2003-06-23T14:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceGuard SDK, API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004498#M710286</link>
      <description>In the standard package logic, if a volume associated with a package won't activate/mount then the package won't start, and there will be no package IP address.&lt;BR /&gt;&lt;BR /&gt;So you should just be able to go wherever the package IP address is, and have confidence that the packages volumes are available.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 23 Jun 2003 18:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004498#M710286</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2003-06-23T18:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceGuard SDK, API</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004499#M710287</link>
      <description>hi Cristi,&lt;BR /&gt;So as Jarli &amp;amp; Duncan told you,you 'll be bound on the package ip, if the package is not running then your FS is not mounted then you 'll not be able on communicate with the VG.&lt;BR /&gt;With the help of cmviewcl &amp;amp; vgdisplay you can see where is your package 're running.&lt;BR /&gt;Also just keep in a document which is the primary en the secondary node of your package.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Hamdy&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jun 2003 20:43:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/serviceguard-sdk-api/m-p/3004499#M710287</guid>
      <dc:creator>Hamdy Al-Sebaey</dc:creator>
      <dc:date>2003-06-23T20:43:17Z</dc:date>
    </item>
  </channel>
</rss>

