Page 2 of 3
Re: Upgrade Vertica 7.1.2 to 7.2.1
Posted: Tue Jan 12, 2016 1:18 pm
by chenshaulian
Hi,
ok, so ...
1. Uninstalled vertica-console-7.1.2-0.x86_64 ... still fails
[dbadmin@verticadev-va01 ~]$ rpm -qa | grep vertica
vertica-7.1.2-0.x86_64
(same on all 3 nodes)
2. [dbadmin@verticadev-va01 ~]$ grep 'install' /opt/vertica/config/admintools.conf
install_opts = --update --rpm '/home/dbadmin/vertica-7.2.1-0.x86_64.RHEL6.rpm'
what does it means?
3. Which current version of each node, Vertica version? (vertica-7.1.2-0.x86_64, same on all 3 nodes)
Re: Upgrade Vertica 7.1.2 to 7.2.1
Posted: Tue Jan 12, 2016 6:03 pm
by id10t
Hi!
chenshaulian wrote:
After I installed the new HP Vertica Server RPM, by command:
rpm -Uvh /home/dbadmin/vertica-x86_64.RHEL6.rpm
[...]
vertica-7.1.2-0.x86_64
(same on all 3 nodes)
So upgrade didn't work, that why you got message: "RPM must be upgraded locally, first."
From
community forum:
chenshaulian wrote:
the command is:
rpm -Uvh vertica-7.1.2-0.x86_64.RHEL5.rpm
rpm -U --- means:
- Erases all older versions of the package, if any exist.
- Installs the desired package.
So what you did? You erased 7.1 and installed 7.1
***********
HINT:
you need upgrade your package locally with command
rpm -Uvh to version 7.2 and only after it to run
Code: Select all
/opt/vertica/sbin/update_vertica --rpm <path to vertica 7.2 rpm>
***********
rpm -Uvh vertica-7.2.1-0.x86_64.RHEL6.rpm
and not
rpm -Uvh vertica-7.1.2-0.x86_64.RHEL5.rpm
PS
@Jim
Can you help me with English?
Re: Upgrade Vertica 7.1.2 to 7.2.1
Posted: Wed Jan 13, 2016 11:06 am
by chenshaulian
Hi,
I did it, as I wrote to jim ... attached screen shot:
Sorry about the mess, but I'm really lost ...
Re: Upgrade Vertica 7.1.2 to 7.2.1
Posted: Wed Jan 13, 2016 4:17 pm
by id10t
Hi!
chenshaulian wrote:but I'm really lost ...
As I told you before: package
upgrade didn't work. Read the message from terminal:
needs 1396MB on the / filesystem
And if you still don't understand I will show you how it should be(doesn't matter the version):
Re: Upgrade Vertica 7.1.2 to 7.2.1
Posted: Wed Jan 13, 2016 4:30 pm
by chenshaulian
oooooooo ... now I see ... thanks
need to free some space at / filesystem
Re: Upgrade Vertica 7.1.2 to 7.2.1
Posted: Sun Jan 17, 2016 1:31 pm
by chenshaulian
Another small question ...
Does any one know how much space do I need to run "rpm -Uvh /home/dbadmin/vertica-x86_64.RHEL6.rpm" ?
I have 1.1GB free space and it still not enough
(In the attached pic the path of the rpm file is /srv/vertica following the attempt to free more space at /)
Re: Upgrade Vertica 7.1.2 to 7.2.1
Posted: Tue Jan 19, 2016 8:31 pm
by id10t
Hi!
Code: Select all
$ du -bs *
1805840095 unpacked_rpm
425954132 vertica-7.2.1-0.x86_64.RHEL6.rpm
RPM itself about 426Mb and unpacked about 1.806Gb => about 2 GBytes free storage(copy RPM + unpack archive).
(426 megabytes) + (1.806 gigabytes) = 2.232 gigabytes