Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Nas
Contributor

Uninstalling CPUSE-Gaia Deployment Agent via CLI

If we have installed DA but want to roll back to previous version. Is there a way to rollback via cli?

On webui , not seeing DA unistall option but only see the jumbo uninstall option.

 

DA was upgraded to latest by means of Cli and offline method.

 

0 Kudos
6 Replies
the_rock
Legend
Legend

There is an sk about it, cant recall the number now, but if you search cpuse in support center, Im pretty sure there is an explanation there.

Andy

0 Kudos
G_W_Albrecht
Legend Legend
Legend

CLI DA install is

rpm -Uhv --force CPda-00-00.i386.rpm

So no need to uninstall, just force it and reboot.

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
PhoneBoy
Admin
Admin

You can just force install the desired version?

0 Kudos
G_W_Albrecht
Legend Legend
Legend

Yes - using force, the old will be overwritten anyway, so it is not needed uninstall the other, newer before as the file name is always identical. Do you remember my CPUSE Deployment Agent install script ? You will have to  use the procedure from there (or directly from  sk92449) to stop and restart DA.

Only in theory you could use rpm:

# $DADIR/bin/dastop
# rpm -e CPda-00-00.i386.rpm

 ...but this will give you an error: package CPda-00-00.i386.rpm not installed

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
Boaz_Orshav
Employee
Employee

Is there any reason to uninstall  the Deployment Agent?

Notice that new packages usually requires new Deployment Agent as a pre-condition so you might find yourself blocked from installing new packages.

0 Kudos
Nas
Contributor

Boaz, no issues with it. Due to some company policies its required to demonstrate that we can roll back status of device how it was prior to any work done on that.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events