- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- CPUSE issue
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CPUSE issue
Hey guys,
Maybe someone encountered this problem before. So, to make a long story short, I have a customer that wants to upgrade 2 separate CP firewalls and mgmt server from R77.30 to R80.40. All is well with mgmt and one firewalls, but the other one (open server as well), is on really old cpuse code (743 I believe) and in clish, there is NO option to do installer import option at all to import new cpuse 1889 package and I dont see anywhere in the sk the way to do it via rpm file (which was there before...I looked through the whole sk).
Anyone has an idea how to do this? Would below be an option for this?
Thanks in advance!
Andy
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The procedure how to upgrade CPUSE agent was totally replaced by the new one, while the old instructions were deleted.
In mentioned SK there were imstructions for older versions how to install it manually. Now, there is even no notice that it was replaced/removed/deleted...
You have to search google...
the "old" procedure was as follows:
Procedure:
- Transfer the CPUSE Agent package (DeploymentAgent_<build>.tgz) to the machine (into some directory – e.g., /some_path_to_CPUSE/).
- Unpack the CPUSE Agent package:
[Expert@HostName:0]# cd /some_path_to_CPUSE/
[Expert@HostName:0]# tar -zxvf DeploymentAgent_<build>.tgz - Install the CPUSE Agent RPM:
[Expert@HostName:0]# rpm -Uhv –force CPda-00-00.i386.rpm
Notes:
- During the installation, you will see the « Waiting for DAService to stop… » message.
The preinstall script tries 60 times to stop the DAService executable (by issuing the « dbget installer:stop » command).
If the script does not succeed to stop the DAService, then it kills it and the installation continues. - Related solution: sk119954 – « error: Failed dependencies » during manual installation of CPUSE Agent package
- During the installation, you will see the « Waiting for DAService to stop… » message.
- [Optional] Restart all Clish daemons and ConfD daemon:
To improve CPUSE Agent, new CPUSE commands are added to Clish from time to time.
It is necessary to restart all Clish daemons for new CPUSE Clish commands to become available, and to restart ConfD daemon.- If your default shell is CLISH (/etc/cli.sh), then log in to Expert mode.
If your default shell is BASH (/bin/bash), then log out from all Clish sessions. - Kill all running Clish daemons (they will be restarted automatically):
[Expert@HostName:0]# killall -v clish clishd
Important Note: If your default shell is CLISH (/etc/cli.sh), then after issuing this command, you will be disconnected / logged out from all active sessions.
- Restart the ConfD daemon:
- [Expert@HostName:0]# tellpm process:confd
- [Expert@HostName:0]# tellpm process:confd t
Maintenance window is required:
- When confd daemon is starting, by design, it restarts any currently running routed daemons (by sending a TERM signal). It is done to avoid possible issues in Gaia Clish (e.g., returning invalid results for routing-related commands like «
show route
« ). - Since routed daemon is responsible for all the routing in Gaia OS, short traffic outage will occur while routed daemon is being restarted.
- Since routed daemon is a Critical Device in Check Point cluster (since R76), cluster fail-over might occur while routed daemon is being restarted (refer to sk92878).
- If your default shell is CLISH (/etc/cli.sh), then log in to Expert mode.
- Start the CPUSE Agent manually: [Expert@HostName:0]# $DADIR/bin/dastart
Jozko Mrkvicka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Shlomi. We tried that first, but option is not there for command installer agent, as its really old cpuse build.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The procedure how to upgrade CPUSE agent was totally replaced by the new one, while the old instructions were deleted.
In mentioned SK there were imstructions for older versions how to install it manually. Now, there is even no notice that it was replaced/removed/deleted...
You have to search google...
the "old" procedure was as follows:
Procedure:
- Transfer the CPUSE Agent package (DeploymentAgent_<build>.tgz) to the machine (into some directory – e.g., /some_path_to_CPUSE/).
- Unpack the CPUSE Agent package:
[Expert@HostName:0]# cd /some_path_to_CPUSE/
[Expert@HostName:0]# tar -zxvf DeploymentAgent_<build>.tgz - Install the CPUSE Agent RPM:
[Expert@HostName:0]# rpm -Uhv –force CPda-00-00.i386.rpm
Notes:
- During the installation, you will see the « Waiting for DAService to stop… » message.
The preinstall script tries 60 times to stop the DAService executable (by issuing the « dbget installer:stop » command).
If the script does not succeed to stop the DAService, then it kills it and the installation continues. - Related solution: sk119954 – « error: Failed dependencies » during manual installation of CPUSE Agent package
- During the installation, you will see the « Waiting for DAService to stop… » message.
- [Optional] Restart all Clish daemons and ConfD daemon:
To improve CPUSE Agent, new CPUSE commands are added to Clish from time to time.
It is necessary to restart all Clish daemons for new CPUSE Clish commands to become available, and to restart ConfD daemon.- If your default shell is CLISH (/etc/cli.sh), then log in to Expert mode.
If your default shell is BASH (/bin/bash), then log out from all Clish sessions. - Kill all running Clish daemons (they will be restarted automatically):
[Expert@HostName:0]# killall -v clish clishd
Important Note: If your default shell is CLISH (/etc/cli.sh), then after issuing this command, you will be disconnected / logged out from all active sessions.
- Restart the ConfD daemon:
- [Expert@HostName:0]# tellpm process:confd
- [Expert@HostName:0]# tellpm process:confd t
Maintenance window is required:
- When confd daemon is starting, by design, it restarts any currently running routed daemons (by sending a TERM signal). It is done to avoid possible issues in Gaia Clish (e.g., returning invalid results for routing-related commands like «
show route
« ). - Since routed daemon is responsible for all the routing in Gaia OS, short traffic outage will occur while routed daemon is being restarted.
- Since routed daemon is a Critical Device in Check Point cluster (since R76), cluster fail-over might occur while routed daemon is being restarted (refer to sk92878).
- If your default shell is CLISH (/etc/cli.sh), then log in to Expert mode.
- Start the CPUSE Agent manually: [Expert@HostName:0]# $DADIR/bin/dastart
Jozko Mrkvicka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you want to save yourself the typing, you can use a script i published here: CPUSE Deployment Agent install script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks to everyone who responded, appreciated! I actually also reached out to a good friend who works for CP escalations and he sent me the rpm procedure, so customer will give that a go today and let me know if it works. If any issues, I will give script a go.
Thanks again!
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please add a 2nd dash to: -force.
It took me sometime to figure why the command wasn't working, it requires --force.
I also accidentally came across sk169220.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please update
the commnad is :
rpm -Uhv -–force CPda-00-00.i386.rpm
