Upgrade Vertica 7.1.2 to 7.2.1

Moderator: NorbertKrupa

chenshaulian
Intermediate
Intermediate
Posts: 51
Joined: Wed Sep 09, 2015 9:34 am

Re: Upgrade Vertica 7.1.2 to 7.2.1

Post by chenshaulian » Tue Jan 12, 2016 1:18 pm

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)

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Upgrade Vertica 7.1.2 to 7.2.1

Post by id10t » Tue Jan 12, 2016 6:03 pm

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
:shock:
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?

chenshaulian
Intermediate
Intermediate
Posts: 51
Joined: Wed Sep 09, 2015 9:34 am

Re: Upgrade Vertica 7.1.2 to 7.2.1

Post by chenshaulian » Wed Jan 13, 2016 11:06 am

Hi,

I did it, as I wrote to jim ... attached screen shot:

Sorry about the mess, but I'm really lost ...
Attachments
Capture.JPG
Capture.JPG (60.07 KiB) Viewed 19010 times

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Upgrade Vertica 7.1.2 to 7.2.1

Post by id10t » Wed Jan 13, 2016 4:17 pm

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):
Image

chenshaulian
Intermediate
Intermediate
Posts: 51
Joined: Wed Sep 09, 2015 9:34 am

Re: Upgrade Vertica 7.1.2 to 7.2.1

Post by chenshaulian » Wed Jan 13, 2016 4:30 pm

oooooooo ... now I see ... thanks :)
need to free some space at / filesystem

chenshaulian
Intermediate
Intermediate
Posts: 51
Joined: Wed Sep 09, 2015 9:34 am

Re: Upgrade Vertica 7.1.2 to 7.2.1

Post by chenshaulian » Sun Jan 17, 2016 1:31 pm

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 /)
Attachments
Capture.JPG
Capture.JPG (42.88 KiB) Viewed 18844 times

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Upgrade Vertica 7.1.2 to 7.2.1

Post by id10t » Tue Jan 19, 2016 8:31 pm

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

Post Reply

Return to “Vertica Database Administration”