- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HIDS copy schedule from one server to another
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 05:21 AM
08-21-2007 05:21 AM
HIDS copy schedule from one server to another
We want to duplicate this schedule to another server running HIDS, but are having issues.
This thread below talks about directories (like
/var/opt/ids/gui/SurveillanceSchedules) that do not exist on our system:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=860677
Our schedules seem to live in /var/opt/ids/schdules but you can't copy the files there to the other server and have them seen by the other HIDS.
So, with the latest HIDS - how can I make a schedule on one server and import that same schedule on another server running HIDS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 08:45 AM
08-21-2007 08:45 AM
Re: HIDS copy schedule from one server to another
If you want to run the same schedule on a different agent host managed by the same HIDS admin GUI/CLUI, use the CLUI or GUI to activate the schedule on that other agent host.
You are encouraged to manage all schedules on the server running the *admin* GUI or CLUI. Starting with the latest HIDS release (v4.1), the Surveillance Schedules (managed by the *admin* GUI/CLUI) are saved in /etc/opt/ids/schedules/
Please refer to the following sections of the HIDS V4.1 Admin Guide:
http://docs.hp.com/en/5992-0705/ch05s01.html
http://docs.hp.com/en/5992-0705/apes01.html
The /var/opt/ids/schedule file contains the activated schedule on the server running the HIDS *agent* sensor. Never copy /var/opt/ids/schedule from an agent host into /etc/opt/ids/schedules on your admin host, as they are not compatible. The one on the agent host is in "expanded" form, while the one on the admin host is in "unexpanded" form (i.e., it refers to groups by name and the group contents are in separate files, allowing more than one schedule to refer to the same Surveillance Group).
Also note that the agent can also be configured to run on the admin host.
I'm assuming you are not trying to move/copy your schedules/groups from one admin host to another. That would involve a tar-ing up of files in /etc/opt/ids/schedules on one admin host and installing them on the other admin host in the same location. You must make sure to preserve the permissions and owner/group on the *.txt files.
Hope this helps.
Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 11:57 PM
08-21-2007 11:57 PM
Re: HIDS copy schedule from one server to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 11:59 PM
08-21-2007 11:59 PM
Re: HIDS copy schedule from one server to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2007 01:16 PM
08-22-2007 01:16 PM
Re: HIDS copy schedule from one server to another
When populating /etc/opt/ids/schedules, you do not need to stop an activated schedule first. However, you do want to make sure that the HIDS Admin GUI is not running; otherwise, the GUI will write over some or all of your installed files.
Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2007 11:56 PM
08-22-2007 11:56 PM
Re: HIDS copy schedule from one server to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 04:27 AM
08-23-2007 04:27 AM
Re: HIDS copy schedule from one server to another
Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2007 03:21 AM
09-04-2007 03:21 AM
Re: HIDS copy schedule from one server to another
The schedule we want to copy is on server "B".
On "B", I stopped the schedule, stopped the agents, then CPIO'd the contents of /etc/opt/ids/schedules.
I sent that CPIO file over to "A".
On "A", I stopped the agent and the schedule.
I did:
1) mv /etc/opt/ids/schedules /etc/opt/ids/schedules.old (made backup copy of current schedule)
2) extracted the CPIO file from "B" into /etc/opt/ids/schedule.
I looked in /etc/opt/ids/schedule and it had the correct permissions and file ownership. It had the schedule from "B" (I could tell by the file size of our schedule).
However, when I start this schedule on "A", the file /var/opt/ids/schedule (the activated schedule) was the old size not the new size.
Shouldn't /var/opt/ids/schedule be the new size and also match the same size at that of "B" which is where it supposedly came from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2007 05:24 AM
09-04-2007 05:24 AM
Re: HIDS copy schedule from one server to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2007 05:53 AM
09-04-2007 05:53 AM
Re: HIDS copy schedule from one server to another
So, near as I can tell, "A" is back to how it was before I tried copying our schedule from "B".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2007 06:17 AM
09-04-2007 06:17 AM
Re: HIDS copy schedule from one server to another
Use cksum or md5sum to make sure that you transferred the group files:
% cksum /etc/opt/ids/schedules/groups/*.txt
% cksum /etc/opt/ids/schedules/*.txt
The detection template properties reside in the group files.
Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2007 06:45 AM
09-04-2007 06:45 AM
Re: HIDS copy schedule from one server to another
I followed the same procedure as the first time (agents down, etc.) before taking the CPIO snapshot, so I'm not sure who they could have been different.
In any case, we can add the cksum checks to our procedures for next time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2007 06:45 AM
09-04-2007 06:45 AM
Re: HIDS copy schedule from one server to another
I followed the same procedure as the first time (agents down, etc.) before taking the CPIO snapshot, so I'm not sure how they could have been different.
In any case, we can add the cksum checks to our procedures for next time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2007 08:30 AM
09-04-2007 08:30 AM