home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2001 August
/
PCWorld_2001-08_cd.bin
/
Komunikace
/
sambar
/
_setup.1
/
build.stm
< prev
next >
Wrap
Text File
|
2001-02-18
|
4KB
|
94 lines
<HTML>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<TITLE>Sambar Server Build Distribution</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A HREF="/sysadmin/index.stm" TARGET=_top>
<IMG border=0 ALIGN=left SRC="/sysimage/system/console.gif"></A>
<CENTER><FONT SIZE=+2>Sambar Server Build Distribution</FONT>
<BR>
<BR>
<FORM METHOD="POST" ACTION="/sysadmin/dist/runbuild.stm">
<TABLE BORDER=0 cellpadding=4>
<TR valign=top>
<TD><B>Server</B><BR>
<FONT SIZE=-1>The server on which the distribution package will
reside.</FONT>
</TD>
<TD nowrap><INPUT TYPE=text SIZE=60 NAME="server" VALUE="www.myserver.com"></TD>
</TR>
<TR valign=top>
<TD><B>URL</B><BR>
<FONT SIZE=-1>The URL that indicates the location (via HTTP) on the
remote server where the package will reside.</FONT>
</TD>
<TD nowrap><INPUT TYPE=text NAME="url" SIZE=60 VALUE="/dist/<RCEos>-latest.tar.gz"></TD>
</TR>
<TR valign=top>
<TD><B>Comments</B><BR>
</TD>
<TD nowrap><INPUT TYPE=text NAME="comments" SIZE=60 VALUE="Latest server build."></TD>
</TR>
<TR valign=top>
<TD></TD>
<TD nowrap><INPUT TYPE=submit VALUE="Build Distribution"></TD>
</TR>
<TR>
<TD colspan=2>
<I>Note:</I> The "default" server distribution consists of all files found
in the following directories (relative the Sambar Server installation):
<B>/bin</B>, <B>/lib</B>, <B>/sysuser</B>, <B>/sysadmin</B>
<P>
This distribution interface was primarily designed as a mechanism for
delivering patch releases from www.sambar.com. A mechanism was needed
to build, distribute and install new releases to users (backing up their
existing distributions first!) without all the steps of a full InstallShield
installation. It is anticipated that all future "patch" releases of the Sambar
Server will be available using these interfaces.
These interfaces are exposed to all Pro server licensees with the hope that
the functionality might assist in packaging internal distributions of the
Sambar Server.
The following three RPCs provide the distribution update mechanism:
<P>
<UL>
<LI> <I>dist-check</I> Check a site for a new distribution (www.sambar.com
by default). You get a report of the difference between the distribution
described in the file on the site and your current installation. Then you
get a form asking if you want to run <I>dist-install</I> (using the download
information in the distribution file).</LI>
<LI> <I>dist-install</I> Grabs the distribution described in the distribution
file, uploads it to your server, ungzips the file, backs up <I>bin</I> to
<I>bin-old</I> and <I>lib</I> to <I>lib-old</I> and then untars the
distribution over your running server. When complete, you receive a report
of all files updated and must restart the server.</LI>
<LI> <I>dist-build</I> Builds a new distribution from your current system by
taring up the directories specified above and then compressing the distribution
package and finally writing out a package distribution file describing the
system. The package distribution description is contains:</LI>
</UL>
<P>
<BLOCKQUOTE>
<B>[Sambar Server]</B><BR>
<B>Build = </B><build-date of the server><BR>
<B>Version = </B><version of the server, i.e. 4.4><BR>
<B>Server = </B><host where distribution is located, i.e. www.powertv.com><BR>
<B>URL = </B><URL to distribution on host, i.e. /dist/win32-latest.tar.gz><BR>
<B>Comments = </B><Description of distribution.><BR>
</BLOCKQUOTE>
</TD>
</TR>
</TABLE>
</FORM>
</CENTER>
<BR>
<BR>
<A HREF="/" TARGET=_top><IMG border=0 SRC="/sysimage/system/powerby.gif"></A>
</BODY>
</HTML>