Am Dienstag, 20. November 2007 schrieb Julio Leyva:
> I just updated sequoia from 2.10 to 2.10.9
> We have a procedure that stops sequoia and it was working properly
>
> This is the sequence of commands we are using to stop sequoia
>
> shutdown virtualdatabase mydb 3
> admin
> mypassword
> shutdown
> quit
>
> In 2.10 after that the controller is not running any more.
>
> We check that by doing ps -ef | grep controller
>
> However in 2.10.9 after those commands the controller is still
> running
>
>
> Does something change in 2.10.9 to shutdown the controller?
Hi,
hoping not to receive the same question a fourth time and also hoping
that my pending questions get answered someday by someone ;-) I can
tell you what I do in my init script:
/usr/local/sequoia-2.10.9/bin/console.sh 2> /dev/null
> /tmp/$$.sequoia <<EOF
show virtualdatabases
EOF
for n in `cat /tmp/$$.sequoia | grep vDB`; do
/usr/local/sequoia-2.10.9/bin/console.sh 2>&1
>> /var/log/sequoia.log <<EOF
shutdown virtualdatabase $n
$seqAdmin
$seqAdminPW
show virtualdatabases
shutdown
EOF
done
rm /tmp/$$.sequoia &>/dev/null
So what I can thing of is that you have still a DB up. With the above
you will see this. Otherwiese I think you should analyse
- which processes are still running?
- can you still connect to the controller or the vDB?
- what is the output of your ps -ef | grep controller ?
What I can see from your code is that you terminate the vDB. You
should only do that if you are forced to, otherwise you risk
inconsistencies. The way you do it you can also just kill the
processes, it will be that same for the DB.
Regards
Joachim von Thadden
--
Joachim von Thadden
Manager Projekte
Linux Information Systems AG
Ehrenbergstr. 19, 10245 Berlin
Fon: +49 30 726238-19, Fax: +49 30 726238-99
[EMAIL PROTECTED], http://www.linux-ag.com
_______________________________________________________________
Sitz der Gesellschaft: Stefan-George-Ring 8, 81929 München
Amtsgericht München: HRB 128 019
Vorstand: Rudolf Strobl, Sebastian Hetze
Aufsichtsrat: Michael Tarabochia (Vorsitzender)
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia