How to safely update the Unitrends appliance from CLI

ISSUE

The unitrends-cli command should be used to perform command line updates of the Unitrends appliance.

RESOLUTION

Run the below commands on CLI.

[root@MyUnitrendsDPU ~]# yum clean all
[root@MyUnitrendsDPU ~]# dpu repo refresh
[root@MyUnitrendsDPU ~]# unitrends-cli post updates

How to Monitor the Update

To monitor the appliance update progress, please run the below command on another Appliance SSH session

[root@MyUnitrendsDPU ~]# watch -d -n 5 "uptime;echo "Current Date and Time: `date`";echo "Hostname: `hostname`";dpu asset;dpu version;ps -ae --sort=-command|grep -v grep|grep -v 'idle\|ndmp/ndmpd\|dpuconfig '|grep -i 'yum\|repo\|updates\|xfs_r\|upgrade\|after\|"PID TTY"'" 

watch -d -n 5 "uptime;echo "Current Date and Time: `date`";echo "Hostname: `hostname`";dpu asset;dpu version;ps -ae --sort=-command|grep -v grep|grep -v 'idle\|ndmp/ndmpd\|dpuconfig '|grep -i 'yum\|repo\|updates\|xfs_r\|upgrade\|after\|"PID TTY"'"

The output will look something like this:

SSH_DPU_Update_Monitoring.jpg

Any value that turns white means it changed its value since. The portion under the column header (PID TTY TIME CMD) reflects work being done related as part of the update process.

 

Note:- As long as there are items displayed under the column header, please do not administer or reboot the Unitrends appliance. The appliance is done updating when you see the Version value change the current release AND there are no longer any commands under the column header.

 

Have more questions?

Contact us

Was this article helpful?
2 out of 2 found this helpful

Provide feedback for the Documentation team!

Browse this section