Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
hboogie
Participant

Check status of gateway migration

Is there a way to check the status of a migration import command? 

 

command:

yes | nohup ./migrate import -l -n /tmp/file.tgz

 

is there a way to check when this command is completed or its status?

This is on a 4200 gateway.

Thanks.

6 Replies
PhoneBoy
Admin
Admin

See if the process is still running or not?

In any case, this is something we've improved with the newer migration tools.
There is actually a migration report that is updated every 30 seconds or so.
Some details here: https://community.checkpoint.com/t5/General-Management-Topics/migrate-server-instead-of-migrate-expo...
0 Kudos
Maarten_Sjouw
Champion
Champion

Whatever you are importing into a 4200 will gonna take it's time, the system is very low on resources and if I'm not mistaken has only barely enough resources to run only gateway and let alone management.
Keep in mind this can take several hours.
Regards, Maarten
hboogie
Participant

Just to clarify this is just a gateway and is not a standalone.

But is there a way to check the status or progress? 

Or to check that its still running ? 

Is the "top" command the only way? 

Thanks.

0 Kudos
PhoneBoy
Admin
Admin

The migrate tools cannot be run on a gateway, only a management.
In any case, yes, you have to monitor the process by ps, top, or whatever.
0 Kudos
hboogie
Participant

My import file is 59G from the 'ps -ef' output it kicked off around 10:03EDT (this is being done on a Smart-1 25B running Gaia R77.30)

 

 

[Expert@gw-4092b9:0]# ps -ef
UID PID PPID C STIME TTY TIME CMD
admin 1 0 0 10:03 ? 00:00:00 init [3]
admin 2 1 0 10:03 ? 00:00:00 [migration/0]

 

 

My "top" output :

 

[Expert@gw-4092b9:0]# top
top - 16:28:36 up 6:24, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 86 total, 1 running, 85 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 4069136k total, 3963524k used, 105612k free, 47696k buffers
Swap: 10514532k total, 104k used, 10514428k free, 3774424k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 admin 15 0 2040 724 624 S 0 0.0 0:00.38 init
2 admin RT -5 0 0 0 S 0 0.0 0:00.00 migration/0

 

 

Could you be a little bit more specific about the 'whatever ' command I could use to monitor the migrate status?

Want to see when I would be able to restart the server and see if the import took. 

 

Thanks.

 

 

 

 

 

 

0 Kudos
PhoneBoy
Admin
Admin

Try looking with a ps -auxwww so you can see all the processes, not just the ones in your current session.
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events