Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
starmen2000
Advisor
Advisor

SMS Upgrade with migration

Hi Mates,

 

we are going to upgrade sms server from 80.30 to 81.10. We will go for upgrade with migration. But for migration in the old system there is only %3 free disk place. And customer wants to take all logs to new server. So we can not delete the old files. What would we do in that case? 

18 Replies
the_rock
Legend
Legend

Are you able to free up some space?

Andy

starmen2000
Advisor
Advisor

Not so much. 

the_rock
Legend
Legend

Like how much?

starmen2000
Advisor
Advisor

Maximum might be % 5 total free place.

the_rock
Legend
Legend

Hm...not too promising. Can you run below and see what you get?

Andy

find /var/log -size +500000000c

 

starmen2000
Advisor
Advisor

So many things.

 

/var/log/CPbackup/backups/****************
/var/log/tmp/gaia_backups/******************
/var/log/tmp/gaia_backups/******************
/var/log/tmp/gaia_backups/******************

 

/var/log/opt/CPsuite-R80.30/fw1/log/2023-05-25_234543_40.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-06-05_113628_54.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-05-24_113854_37.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-06-05_223510_55.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-04-29_181736_348.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-05-08_112630_11.log

....long list

 

and also 

/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-05T00-00-00/data/index/_1j99_Lucene45_0.dvd
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-24T00-00-00/data/index/_1m81_Lucene41_0.doc
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-24T00-00-00/data/index/_1m81_Lucene45_0.dvd
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-31T00-00-00/data/index/_1mgb_Lucene41_0.doc
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-31T00-00-00/data/index/_1mgb_Lucene45_0.dvd
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-06-07T00-00-00/data/index/_16tu_Lucene41_0.doc
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-06-07T00-00-00/data/index/_16tu_Lucene45_0.dvd
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-06-13T00-00-00/data/index/_1n75_Lucene41_0.doc
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-06-13T00-00-00/data/index/_1n75_Lucene45_0.dvd

.........long list

 

 

 

the_rock
Legend
Legend

Just be careful, do NOT delete anything, except the no longer needed .log files. What is the date for the oldest log file you see? Anything from 2022?

Andy

starmen2000
Advisor
Advisor

The oldest log files are unfortunately from 2023 May.

the_rock
Legend
Legend

K, fair enough. I would verify with TAC, but not sure what else they can suggest if there are no older logs to delete, but worth a try.

Good luck mate.

Andy

RS_Daniel
Advisor

Hello,

Every time i tried to migrate DB with logs i had problems. I would try to copy all log files to an external storage, do the migrate without logs, and then when your new server is running ok, copy log files to your new management and index them. 

Regards

starmen2000
Advisor
Advisor

You mean, can I  read the logs i by copying the logs file to new management server, can you give me some details about it? And another topic, How can I index it?

starmen2000
Advisor
Advisor

@the_rock  Do I understood correct? If I migrate only the mgmt database to new mgmt server. Then simply copy the logs files manuelly to new management server. Then according, the link which you sent, indexing. So in that way should log migrate work and can I read the copied logs in the new mgmt server?

the_rock
Legend
Legend

Thats right.

starmen2000
Advisor
Advisor

One more question; once clean install is done, should I install actual hotfix before migrate or after migrate. or does not matter? 

the_rock
Legend
Legend

I always do it after.

the_rock
Legend
Legend

Thats not for indexing though...more to open the logs in old school tracker.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events