- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- How to make sure a scheduled backup is possible
- 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
How to make sure a scheduled backup is possible
If we have scheduled backup configured in clish on a SmartCenter or MultiDomain installation the backup can't be done if GUI clients are connected:
/var/log/messages shows:
scheduled_backup: set_binding: Failed to set one binding: :backup:start:local : error = Can not start the operation. You should disconnect all GUI Clients from this SmartCenter. ; val=(nil)
In R77.x there was a tool called disconnect_client.
But what's the best way to achieve the same on R80.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just restart fwm?
cpwd_admin stop -name FWM
cpwd_admin start -name FWM -path "$FWDIR/bin/fwm" -command "fwm"
After that, all clients should be disconnected.
But there should be better solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used „fw kill fwm“ on R77.x before I knew disconnect_client, but this cause core dump on cpsemd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Norbert,
I have read the sk65146. In R77.x, when we connect smart dashboard in write mode, it locks management database. This problem overcome in R80. So there is no need to run any command to unlock database in R80.
I have not checked but we can test to run scheduled backup in R80 when dashboard is open.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My /var/log/messages output is from a blocked scheduled backup on R80.10 SmartCenter!
In R77.x it was not blocked but it could have a corruption, I think this is meant with fixed in R80.x, because it gets blocked, so no corruption can happen!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In R77.x there is a "send_command" tool for this purpose. But the tool does not exist anymore in R80.x. In R80.10 we can use smart console sessions tab.
Commands that can be used with this tool:
- connected_clients
- kill_clients [-n] <session id> .... <session id>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This doesn't help, because I can't use a script to kill sessions in R80.x!
- 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
Whis this, I can only logout my own session.
I want to kill/logout/disconnect all sessions, so scheduled backup can run propery!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
there are API commands for "switch session" and "view sessions" if the user has the permissions to manage other administrators.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
switch-session cannot be used with active sessions so it will not work to disconnect a user that left his SmartConsole opened overnight (which tends to be all the time with R80 now that it doesn't lock other users).
I know that in the new API v1.2 there is take-over-session which seems to solve the issue but as far as I understand we are stuck with API v1.1 on R80.10 so is there any way to do something like this in R80.10 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any improvement on this?
I find that in R80.10 the Gaia Scheduled Backup will often fail on an SMS with the SmartConsole left open and connected to that SMS (but not always).
Don
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Correct. This is really big issue for schedule backup.
In R80, there are more sessions in write mode so they keep dashboard open and schedule backup fails.
- 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
