<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://help.openclovis.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://help.openclovis.com/index.php?action=history&amp;feed=atom&amp;title=Doc%3ASdk_4.1%2Fawdguide%2Fdeppkg</id>
		<title>Doc:Sdk 4.1/awdguide/deppkg - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://help.openclovis.com/index.php?action=history&amp;feed=atom&amp;title=Doc%3ASdk_4.1%2Fawdguide%2Fdeppkg"/>
		<link rel="alternate" type="text/html" href="https://help.openclovis.com/index.php?title=Doc:Sdk_4.1/awdguide/deppkg&amp;action=history"/>
		<updated>2026-08-07T09:21:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>https://help.openclovis.com/index.php?title=Doc:Sdk_4.1/awdguide/deppkg&amp;diff=738&amp;oldid=prev</id>
		<title>Bot: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://help.openclovis.com/index.php?title=Doc:Sdk_4.1/awdguide/deppkg&amp;diff=738&amp;oldid=prev"/>
				<updated>2011-10-24T19:06:46Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:06, 24 October 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Bot</name></author>	</entry>

	<entry>
		<id>https://help.openclovis.com/index.php?title=Doc:Sdk_4.1/awdguide/deppkg&amp;diff=737&amp;oldid=prev</id>
		<title>Suraj at 15:11, 27 July 2009</title>
		<link rel="alternate" type="text/html" href="https://help.openclovis.com/index.php?title=Doc:Sdk_4.1/awdguide/deppkg&amp;diff=737&amp;oldid=prev"/>
				<updated>2009-07-27T15:11:58Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{AwdDocHeader}}&lt;br /&gt;
==Deployment and Packaging==&lt;br /&gt;
The SAFplus Platform Web Director GUI is provided in the form of a gzipped tar file (.tgz).  You should open this file (tar xvfz {filename}) in the SAFplus Platform user's (generally &amp;quot;root&amp;quot;) home directory or the SAFplus Platform base directory.  It will create a directory called aspwebdirector-{version}-{OS}-{arch}.  The rest of this document will refer to this directory using the symbol {AWDBASE}.&lt;br /&gt;
&lt;br /&gt;
===Integration within your IDE model===&lt;br /&gt;
The SAFplus Platform Web Director GUI can be integrated within your IDE-based model by creating a 1+1 Service group with 1 component on 1 or 2 SAFplus Platform nodes.  The component executable should reference a script that simply executes the AWD binary ({AWDBASE}/bin/aspwebdirector).  Before running your model, you must run the {AWDBASE}/install script to ensure that all of the AWD requirements are installed.&lt;br /&gt;
&lt;br /&gt;
===Dynamic Installation===&lt;br /&gt;
Additionally, the SAFplus Platform Web Director GUI can be dynamically installed into a running SAFplus Platform chassis.  To do so, detar the package and run the ./install and then the ./start scripts.  These scripts do not need to be run again (even after an cluster reboot) unless you remove the SAFplus Platform configuration (located in the &amp;quot;var&amp;quot; directory of your SAFplus Platform installation).  If the SAFplus Platform configuration is deleted, you will need to run the &amp;quot;./start&amp;quot; script again to insert the AWD service group into the SAFplus Platform Application Management Framework (AMF).&lt;br /&gt;
&lt;br /&gt;
===Library Integration===&lt;br /&gt;
The SAFplus Platform Web Director Libraries can be deployed within your management application by running your management application (or agent) on an SAFplus Platform node and running a Python interpreter within it.  Embedding a Python interpreter in this manner is very simple.  You may use the AWD GUI as an example of how to do so, or you may read the &amp;quot;Extending and Embedding Python&amp;quot; chapter of the python documentation located at http://www.python.org.&lt;br /&gt;
&lt;br /&gt;
===Standalone Python===&lt;br /&gt;
Additionally, you may run the SAFplus Platform Web Director Libraries stand-alone in its own Python shell.  To do so, first start SAFplus Platform and then add the AWD &amp;quot;bin&amp;quot; directory to your &amp;quot;PYTHONPATH&amp;quot; environment variable (see Python documentation for more details) so you can &amp;quot;import&amp;quot; the AWD libraries.  Next, from the SAFplus Platform base directory run &amp;quot;bin/asp_run python&amp;quot;.  You should see the python prompt.  Next run:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;&amp;gt;&amp;gt; import asppy&lt;br /&gt;
 &amp;gt;&amp;gt;&amp;gt; asppy.initializeAmf()&lt;br /&gt;
&lt;br /&gt;
At this point, you should be able to access the API.  For example:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;&amp;gt;&amp;gt; import clusterinfo&lt;br /&gt;
 &amp;gt;&amp;gt;&amp;gt; print [x.name for x in clusterinfo.ci.nodes]&lt;br /&gt;
&lt;br /&gt;
Additionally, if you choose to not run the GUI, you do not need most of the applications that are installed as part of the {AWDBASE}/install script (although it does not hurt to install them).  All that is needed is &amp;quot;pexpect&amp;quot; which is used for deployment (to automate the &amp;quot;scp&amp;quot; command).  You may see how to install this by hand by looking at the {AWDBASE}/3rdparty/Makefile file.  If you are not using the GUI or the deployment features, you do not need to install any prerequisites.&lt;/div&gt;</summary>
		<author><name>Suraj</name></author>	</entry>

	</feed>