Custom Search

To advertise on this site email advertise@goatnetworking.com

How to have EMC Voyence keep more configurations for devices

Site Admin
User avatar
Posts: 368
Joined: Wed Jan 04, 2012 2:36 pm

How to have EMC Voyence keep more configurations for devices

Postby admin » Tue Mar 20, 2012 12:35 pm

Usage
The archive utility is located in the [Product Home]/tools/ directory. To run the utility, follow these steps.
Step
Action
1
Open a command prompt and navigate to the [Product Home]/tools/ directory using the cd [Product Home]/tools command.
2
Run the perl archive-utility.pl script using the following command:

perl archive-utility.pl <COMMAND> <TYPE> <ARGUMENTS> Where <COMMAND> is archive, purge, or restore. Where <TYPE> is events, jobs, or revisions. Where <ARGUMENTS> contains the required arguments defined below.
Arguments
The following are the required arguments for the <ARGUMENTS> value, when using the perl archive-utility.pl script.

The events type requires two arguments:

Type of event (device, system, security, or all)

Number of days to retain (for example, 1, 2, 3)

The jobs type requires one argument:

Number of days to retain (for example, 1, 2, 3)

The revisions type requires one argument:

Number of revisions to retain per device (for example 1, 2, 3)
Examples
The following examples show the usage for the perl archive-utility.pl script.

perl archive-utility.pl archive events all 14

perl archive-utility.pl archive jobs 30

perl archive-utility.pl archive revisions 5

perl archive-utility.pl purge jobs 90

perl archive-utility.pl purge events system 30

perl archive-utility.pl restore jobs 45

Site Admin
User avatar
Posts: 368
Joined: Wed Jan 04, 2012 2:36 pm

Re: How to have EMC Voyence keep more configurations for dev

Postby admin » Fri Mar 14, 2014 8:48 am

Some examples of purging your Voyence or Ionix Network Configuration Manager (NCM)

[root@Goat Server /]# cd /opt/voyence/tools/



[root@Goat Server /]# perl archive-utility.pl ?

Usage: archive-utility.pl COMMAND TYPE ARGUMENT(S)

Commands:
archive - Moves selected data from the application schema to the
archive schema, resulting in better application performance.
restore - Moves selected data from the archive schema back into the
application schema.
purge - Removes selected data from the archive schema, resulting
in smaller database backups.
prune - Removes selected data directly from the application schema,
resulting in better application performance and smaller
database backups.

Types:
events Application CEL events, requires 2 arguments:
type of event (device, system, security, all)
number of days to retain
jobs Scheduler jobs, requires 1 argument:
number of days to retain
revisions Device configuration revisions, requires 1 argument:
number of revisions to retain per device

Examples:
archive-utility.pl archive events all 14
archive-utility.pl archive jobs 30
archive-utility.pl archive revisions 5
archive-utility.pl purge jobs 90
archive-utility.pl purge events system 30
archive-utility.pl prune revisions 10
archive-utility.pl restore jobs 45


Example: To Prune all events older then 30 Days

[root@Goat Server /]# cd /opt/voyence/tools/
[root@Goat Server /]# perl archive-utility.pl prune events all 30
Pruning events older than 30 days of type 'all'...
Complete
[root@Goat Server /]#

Example: To Prune configuration revisions after 150 revisions (Keeps the last 150 revisions)
[root@Goat Server /]# perl archive-utility.pl prune revisions 150

Return to Network Management and software tools

Twitter Facebook

Who is online

Users browsing this forum: No registered users and 1 guest