<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Jason,<br>
<br>
This may not be the best way but is the way I do it on my Ubuntu
10.04-based system. I found that make current does the build and
install without pausing. On my li'l Atom-based system, the build
can take a while, meaning that the install could be at an
unpredictable/inconvenient time. Also, I have a Sangoma ISDN card,
so the wanpipe kernel drivers need rebuilding on every kernel
update; I take this opportunity to do everything else, like this:<br>
<br>
0. Backup all your config files, recordings, logs, etc.<br>
<br>
1. Download any updated Sangoma drivers (libsngisdn and wanpipe).
Install the libsngisdn drivers. On my system, they also need to be
copied from /lib64 to /usr/lib64 and the various symlinks remade
before rerunning ldconfig. None of this affects the running system
as the libsngisdn library version is hard coded into the executables
at FreeTDM build time. Decompress the wanpipe drivers but don't
build them (this should be done after the kernel upgrade).<br>
<br>
2. In /usr/local/src/freeswitch (YMMV) do a git pull. I keep an eye
on the mailing list so know whether I need to do a ./bootstrap.sh or
not. If in doubt, do. Then `./configure` and `make` as normal.
(Don't do `make install` yet.)<br>
<br>
You then have 2 options: either do the kernel upgrade and rebuild
the wanpipe drivers with the current FreeSWITCH, then upgrade
FreeSWITCH, or do FreeSWITCH first then the kernel upgrade. Doing
both at once is mad as if something goes wrong you then have a
problem identifying what caused it. Assuming the first approach (my
preferred as it is easier (for me) to roll the kernel back).<br>
<br>
3. Do the kernel upgrade (in my case, `apt-get dist-upgrade`,
`reboot`). mod-freetdm will fail to load as wanpipe will be to the
wrong kernel version; this is expected. This will cause the first
outage.<br>
<br>
4. Upgrade the wanpipe drivers. If the wanpipe drivers have been
upgraded themselves, then you need to `./Setup install` otherwise
just `./Setup drivers`. Use the same options as when first building
them. `wanrouter start` to get the wanpipe devices live again.<br>
<br>
5. At the fs_cli prompt, `load mod_freetdm` should now succeed. You
may wish to reboot the system again to check that all comes up from
a cold start as it should do. Here ends the first outage (usually
about 10 minutes), but you could run it straight into the second if
you wish, or pause here if you need to.<br>
<br>
6. Now comes the time to upgrade FreeSWITCH. This will cause an
outage. Stop FreeSWITCH then `make install`. Start FreeSWITCH; all
should be well. This normally only takes about 5-10mins on my
system.<br>
<br>
This doesn't answer your Y question but might answer your X
question. [<a href="http://www.perlmonks.org/?node_id=542341">http://www.perlmonks.org/?node_id=542341</a>]<br>
<br>
John<br>
<br>
<br>
On 16/04/12 20:01, Jason Moran wrote:
<blockquote
cite="mid:361E98F99D3CC3439EED59BC1924ED695ECFC2@SERVER2003.SecuReachSystems.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1811053366;
        mso-list-type:hybrid;
        mso-list-template-ids:-1440289988 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal">Sorry for such a basic question:<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">1.<span style="font:7.0pt
"Times New Roman"">
</span></span><!--[endif]-->If I do a ‘make current’ while a
system is
running it will not have any effect until I restart FS,
correct?<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">2.<span style="font:7.0pt
"Times New Roman"">
</span></span><!--[endif]-->What if ‘make current’ fails?
What if it
fails and the server gets restarted, will FS work?<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">3.<span style="font:7.0pt
"Times New Roman"">
</span></span><!--[endif]-->Is it more advisable to stop FS,
do the ‘make
current’, then start FS even though it will have a longer down
time?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I know it’s best to keep FS up-to-date –
but it
is difficult when you only have 1 system available and it is
expected to have
100% uptime..<o:p></o:p></p>
<p class="MsoNormal">Thanks,<br>
Jason<o:p></o:p></p>
</div>
<br>
</blockquote>
<br>
</body>
</html>