
Utility Archives

Utility Archives
[1/15/20]With bitter temps, Chelan PUD shares tips with KOZI
Posted in Public Utility, WeatherTagged cold, electricity, freezing, freezing pipes, frozen, furnace, heat pumps, pipes, PUD
[10/4/19]New Buoys at Rocky Reach Dam
Posted in Public UtilityTagged Chelan PUD, Rocky, rocky reach dam
A contractor for the Chelan PUD will use a helicopter tomorrow to place new buoys below Rocky Reach Dam. The utility said the project will reestablish the buoy line that keeps boats the required 400 feet below the spillways and end of the fish bypass. Originally there were three buoys, but now just one remains. […]
[9/5/19]PUD Open Houses
Posted in Public UtilityTagged Chelan PUD
At part of its five-year strategic planning, the Chelan PUD has open houses in Leavenworth and Wenatchee for residents to comment. The PUD says top priorities in the plan are to invest in assets and people, and provide reliable hydropower, safety and customer service. Residential rate increases are likely in 2021 and the PUD plans […]
[8/7/19]Chelan & Douglas Counties Touted for Wastewater Handling
Posted in Public UtilityTagged department of ecology, Outstanding Performance, Polly Zehm, Wastewater Treatment
Wastewater treatment plants in Chelan and Douglas Counties received state recognition for high performance this year. Polly Zehm, the State Department of Ecology’s Deputy Director, said the department evaluated more than 300 plants in Washington to determine if they met state pollution limits and permit requirements, monitoring and reporting, spill prevention planning, pretreatment, and operational […]
[5/14/19]Pud/Stemilt Agreement
Posted in Public UtilityTagged Chelan PUD, PUD agreement, stemilt
At yesterday’s Chelan PUD board meeting Commissioners approved three agreements with Stemilt Growers to accommodate power needs for the Diamond Foundry, a gemstone manufacturer setting up new operations. Stemilt is leasing space to the Diamond Foundry in the Hawley Street area of Wenatchee. Under one agreement, a new substation will be constructed to provide up […]
23 Using the Archival Utilities
Make sure that Oracle Identity Manager is not running and is not available for off-line utilities.
Make sure that Oracle Identity Manager database has no transaction against it until the UPA table is partitioned.
Query the UPA table to get the minimum and maximum calendar year for the audit data. Following queries can help you get the minimum and maximum year. The maximum year should be the current calendar year.
SELECT EXTRACT (YEAR FROM MIN (eff_to_date)) min_year,EXTRACT (YEAR FROM MAX (eff_to_date)) running_year FROM upa;This helps in deciding the partitions for each calendar year starting from minimum year.
Create a new partition table.
Assuming 2005 as minimum year and 2011 as running or current calendar year, the following decisions are to be made before creating a newly partition table:
How many years of old audit data you want to keep? If it is important to keep only three years of audit data, then you have to create newly partitioned table starting from year 2008. The data older than 2008 will get cleaned up when the original UPA table gets dropped.
After deciding the years of old data to keep, the next question is how and where the old data should be kept? Do you want to keep all the old data partitions in the active UPA table, or create backup of the old partitions and then drop the old partitions? Oracle recommends moving the old partitions into tapes and then purging them from the UPA table. As stated earlier, you must keep the latest and running calendar year partition untouched.
The following sample assumes that you want to keep three years of audit data in UPA table and current calendar year is 2011:
SQL> SELECT 'Create Table UPA_PART ( UPA_KEY NUMBER (19) Not Null, USR_KEY NUMBER (19) Not Null, EFF_FROM_DATE TIMESTAMP (6) Not Null, EFF_TO_DATE TIMESTAMP (6), SRC VARCHAR2 (4000), SNAPSHOT CLOB, DELTAS CLOB, SIGNATURE CLOB ) PARTITION BY RANGE (EFF_TO_DATE) (PARTITION UPA_2008 VALUES LESS THAN (TO_DATE(''01/01/2009'', ''DD/MM/YYYY'')) Tablespace upa_2008, PARTITION UPA_2009 VALUES LESS THAN (TO_DATE(''01/01/2010'', ''DD/MM/YYYY'')) Tablespace upa_2009, PARTITION UPA_2010 VALUES LESS THAN (TO_DATE(''01/01/2011'', ''DD/MM/YYYY'')) Tablespace upa_2010, PARTITION UPA_2011_PART1 VALUES LESS THAN (TO_DATE('''||TO_CHAR(SYSDATE,'DD/MM/YYYY HH24:MI:SS')||''',''DD/MM/YYYY HH24:MI:SS'')) TABLESPACE UPA_2011_PART1, PARTITION UPA_2011_PART2 VALUES LESS THAN (TO_DATE(''01/01/2012'',''DD/MM/YYYY'')) TABLESPACE UPA_2011_PART2, PARTITION UPA_LATEST VALUES LESS THAN (MAXVALUE) TABLESPACE UPA_MAX ) ENABLE ROW MOVEMENT;' FROM DUAL;Create another non-partitioned table with similar structure as the UPA table, by running the following statement:
SQL> Create table upa_non_part Tablespace TBS_NAME as select * from upa where 1=2;Here, TBS_NAME is the name of the same tablespace as of partition, which is to be exchanged.
This table is temporary in nature. The purpose of this table is to facilitate the loading of audit data to a newly partitioned UPA table.
Note:
UPA_NON_PART or temporary non-partitioned table must be created on same tablespace as the partition to be exchanged.
Load the latest audit data into the non-partitioned UPA table, as shown:
SQL> Insert /*+ parallel */ into upa_non_part select /*+ parallel */ * from upa where eff_to_date is null; SQL> COMMIT;Note:
Using hint /*+parallel*/ in the INSERT statement is optional and you can use other hints also to improve performance according to the available resources.
Swap the data into the partitioned table by using the ALTER TABLE command, as shown:
SQL> ALTER TABLE upa_part EXCHANGE PARTITION UPA_LATEST WITH TABLE UPA_NON_PART WITH VALIDATION UPDATE GLOBAL INDEXES;Drop the upa_non_part table, as shown:
SQL> DROP TABLE upa_non_part;While exchanging partitions, the data dictionary is updated instead of writing data physically. Therefore, it is necessary to drop and re-create the temporary non-partitioned UPA_NON_PART table in the same tablesapce associated to the partition to be exchanged.
Rename the original non-partitioned UPA table to UPA_OLD, as shown:
SQL> ALTER TABLE upa rename TO upa_old;Rename the newly partitioned UPA_PART table to UPA:
SQL> RENAME UPA_PART to UPA;Manage the constraints for the new UPA table. To do so:
Rename the constraint from old UPA table to some other name, as shown:
ALTER TABLE UPA_old RENAME CONSTRAINT PK_UPA TO PK_UPA_old; ALTER INDEX IDX_UPA_EFF_FROM_DT RENAME TO IDX_UPA_EFF_FROM_DT_old; ALTER INDEX IDX_UPA_EFF_TO_DT RENAME TO IDX_UPA_EFF_TO_DT_old; ALTER INDEX IDX_UPA_USR_KEY RENAME TO IDX_UPA_USR_KEY_old; ALTER INDEX PK_UPA RENAME TO PK_UPA_OLD;Create the necessary indexes and primary key constraint on the newly partitioned UPA table. Make sure to add storage characteristics, such as tablespace and size. To do so, run the following SQL query:
SQL>create index IDX_UPA_EFF_FROM_DT on UPA (EFF_FROM_DATE) Local; SQL>create index IDX_UPA_EFF_TO_DT on UPA (EFF_TO_DATE) Local; SQL>create index IDX_UPA_USR_KEY on UPA (USR_KEY) Local; SQL>ALTER TABLE UPA add constraint PK_UPA primary key (UPA_KEY) using index;Note:
The global non-partitioned index is created to support the primary key. Global index becomes unusable every time a partition is touched. You must rebuild the index when required.
Run the statistics collection for the UPA table, as shown:
SQL>Exec dbms_stats.gather_table_stats(ownname => 'SCHEMA_NAME',tabname => 'UPA',cascade => TRUE,granularity => 'GLOBAL and PARTITION');Note:
Global statistics must be gathered by default. Oracle 11g includes improvements to statistics collection for partitioned objects so untouched partitions are not rescanned. This significantly increases the speed of statistics collection on large tables where some of the partitions contain static data. When a new partition is added to the table, you need to collect statistics only for the new partition. The global statistics is automatically updated by aggregating the new partition synopsis with the existing partitions synopsis.
Start Oracle Identity Manager. The database is ready to be opened for transactions. Test and make sure that applications are running as expected.
Bring current year data in UPA_2011_PART1 to have all data and maintain consistency for current year. To do so, run the following SQL queries in sequence:
SQL> CREATE TABLE upa_non_part Tablespace TBS_NAME AS SELECT * FROM upa WHERE 1=2;Here, TBS_NAME is the same tablespace name as of the partition, which is to be exchanged.
SQL> Alter Table UPA_NON_PART add constraint PK_UPA_NON_PART primary key (UPA_KEY) using index; ............. ............. SQL> Insert into upa_non_part select * from upa_old where eff_to_date >= to_date('01/01/2011', 'mm/dd/yyyy'); ............. ............. SQL> COMMIT; ............. ............. SQL> ALTER TABLE upa_part exchange partition UPA_2011_PART1 WITH table upa_non_part WITH VALIDATION UPDATE GLOBAL INDEXES; ............. ............. SQL> Drop table upa_non_part;If required, bring previous year's data into the newly partitioned UPA table. To do so:
Run the following SQL queries in sequence:
SQL> CREATE TABLE upa_non_part Tablespace TBS_NAME AS SELECT * FROM upa WHERE 1=2;Here, TBS_NAME is the same tablespace as of the partition, which is to be exchanged.
............. ............. SQL> Alter Table UPA_NON_PART add constraint PK_UPA_NON_PART primary key (UPA_KEY) using index; ............. ............. SQL> Insert into upa_non_part select * from upa_old where eff_to_date >= to_date('01/01/YEAR', 'mm/dd/yyyy') and eff_to_date < to_date('01/01/<YEAR+1>', 'mm/dd/yyyy');Here, YEAR is the year for which you want to bring the data into newly parititoned UPA table.
............. ............. SQL>COMMIT; ............. ............. SQL> Alter table upa exchange partition UPA_<year> with table upa_non_part with validation Update global indexes;Rebuild indexes if they are unusable. The Following SQL query shows the indexes that are unusable:
SQL> Select index_name, partition_name, tablespace_name, status from user_ind_partitions;Drop the table upa_non_part, as shown:
SQL> Drop table upa_non_part;
Note:
Repeat step 15 for each old year.
All partition operations against UPA table are done and all the data is brought into. Run the statistics collection for the UPA table, as shown:
SQL>Exec dbms_stats.gather_table_stats(ownname => '<Schem_name>',tabname => 'UPA',cascade => TRUE,granularity => 'GLOBAL and PARTITION');Drop the UPA_OLD table if it is not required. You can create a backup of this table before dropping.

Applies To:
Show Versions
BIG-IP AAM
- 15.0.1, 15.0.0, 14.1.2, 14.1.0
BIG-IP APM
- 15.0.1, 15.0.0, 14.1.2, 14.1.0
BIG-IP Analytics
- 15.0.1, 15.0.0, 14.1.2, 14.1.0
BIG-IP LTM
- 15.0.1, 15.0.0, 14.1.2, 14.1.0
BIG-IP AFM
- 15.0.1, 15.0.0, 14.1.2, 14.1.0
BIG-IP PEM
- 15.0.1, 15.0.0, 14.1.2, 14.1.0
BIG-IP DNS
- 15.0.1, 15.0.0, 14.1.2, 14.1.0
BIG-IP ASM
- 15.0.1, 15.0.0, 14.1.2, 14.1.0

- Archive for disaster recovery
- Using the Archives feature, you can back up the current configuration data, and if necessary, restore the data at a later time. F5 Networks recommends that you use this feature to mitigate the potential loss of BIG-IP system configuration data. To create an archive, you can use the BIG-IP Configuration utility, which stores the configuration data in a file known as a user configuration set, or UCS () file. You can then use the UCS file to recover from any loss of data, in the unlikely event that you need to do so.
- Propagate data to other systems
- Using the single configuration file feature, you can quickly propagate the exact configuration of the BIG-IP system to other BIG-IP systems. To create a single configuration file, you export the configuration data to a file known as an SCF () file. You can then use the SCF file to configure another system in one simple operation.
- System-specific configuration files
- User accounts and password information
- Domain name service (DNS) zone files
- Installed SSL keys and certificates
About managing archives using the Configuration utility
Create and save an archive using the Configuration utility
- Force the source device to the offline state.
- On the Main menu, click .
- Click the name of the source.The device properties screen opens.
- The source device changes to the offline state.Once the source device changes to the offline state, ensure that traffic passes normally for all active traffic groups on the other devices.When is enabled, make sure to manage the system using the management port or console. Connections to self IP addresses are terminated when is enabled.
- On the Main tab, click .The Archives screen displays a list of existing UCS files.
- If the button is unavailable, you do not have permission to create an archive. You must have the Administrator role assigned to your user account.
- In the field, type a unique file name for the archive.F5 recommends that the file name match the name of the BIG-IP system. For example, if the name of the BIG-IP system is , then the name of the archive file should be .
- To encrypt the archive, for the setting, select .If the setting is unavailable, you must configure the setting located on the Preferences screen.
- To include private keys, for the setting, select .Make sure to store the archive file in a secure environment.
Restore data from an archive using the Configuration utility
- On the Main tab, click .The Archives screen displays a list of existing UCS files.
- In the File Name column, click the name of the archive that you want to use to restore the configuration data.This displays the properties of that archive.
- The system displays a progress message.
View a list of existing archives using the Configuration utility
- On the Main tab, click .The Archives screen displays a list of existing UCS files.
View archive properties using the Configuration utility
- On the Main tab, click .The Archives screen displays a list of existing UCS files.
- In the File Name column, click the name of the archive that you want to view.This displays the properties of that archive.
Download a copy of an archive to a management workstation
- On the Main tab, click .The Archives screen displays a list of existing UCS files.
- In the File Name column, click the name of the archive that you want to view.This displays the properties of that archive.
- For the setting, click theDownload: <filename>.ucsbutton.A confirmation screen appears.
- The BIG-IP system downloads a copy of the UCS file to the system from which you initiated the download.
Upload an archive from a management workstation
- On the Main tab, click .The Archives screen displays a list of existing UCS files.
- For the setting, click .
- For the setting, select theOverwrite existing archive filecheck box if you want the BIG-IP system to overwrite any existing archive file.The BIG-IP system overwrites an existing file with the uploaded file only when the name of the archive you are uploading matches the name of an archive on the BIG-IP system.
- The specified archive is now uploaded to the directory on the BIG-IP system.
Delete an archive using the Configuration utility
- On the Main tab, click .The Archives screen displays a list of existing UCS files.
- Select the archive that you want to delete.
- A confirmation screen appears.
About managing archives using tmsh
Create and save an archive using tmsh
- Open the TMOS Shell ().
- Save the running configuration of the system to a new UCS file, where <filename> is the name of the new UCS file.save sys ucs <filename>
View a list of existing archives using tmsh
- Open the TMOS Shell ().
- View a list of UCS files stored in .A list of UCS files displays.
View archive properties using tmsh
- Open the TMOS Shell ().
- View the properties for all UCS files stored in .To view properties for a specific UCS file, include the UCS file name in the command sequence.The properties for all UCS files displays.
Delete an archive using tmsh
- Open the TMOS Shell ().
- Delete the specified UCS file.delete sys ucs <filename>The system deletes the specified UCS file.
Generate a passphrase for the SecureVault master key
- Open the TMOS Shell ().
- Create a password-protected master key based on a word or phrase of your choosing.modify sys crypto master-key prompt-for-passwordYou can use this command to manually synchronize several devices without having to copy keys between them.
About backing up and restoring archives using tmsh
Load and restore data from an archive using tmsh
- Open the TMOS Shell ().
- Load the configuration contained in a specified UCS file, where <filename> is the name of the UCS file.load /sys ucs <filename>The UCS is loaded into the running configuration of the system.
What’s New in the Utility Archives?
Screen Shot

System Requirements for Utility Archives
- First, download the Utility Archives
-
You can download its setup from given links: