Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Buffering and High Availability

Update the PICOLLECTIVE and PISERVER tables on the primary server

Update the PICOLLECTIVE and PISERVER tables on the primary server

  • Last UpdatedJan 13, 2023
  • 2 minute read

Use piconfig to create one record in the PICOLLECTIVE table for the collective and to create a record for each server in the collective in the PISERVER table. You need to specify identifying fields for both tables. We recommend that you create a command file and use piconfig to run the commands in that file.

Table

Identifying Field

Description

Example

PICOLLECTIVE

Name

Name of Data Archive collective. Use the host name of an existing Data Archive server.

uc-s1

Description

Text describing collective.

UC 2006 Demo Collective

CollectiveID

UID of collective. Use the SID of the existing Data Archive server.

08675309-0007-0007-0007-000000001001

PISERVER

Name

Host name of machine running Data Archive.

uc-s1

Description

Text that describes Data Archive.

UC 2012 Demo Server 1

Collective

Name of Data Archive collective containing server. Must match the Name field in the PICOLLECTIVE table.

uc-s1

FQDN

Fully qualified domain name for host machine.

uc-s1.osisoft.int

Role

Role of server in collective:

  • 0

    Not replicated

  • 1

    Primary server

  • 2

    Secondary server

1

Server ID

SID of machine that hosts Data Archive.

uc-s1.osisoft.int

  1. Create a text file, such as collective_create_uc.txt, in the ..\PI\adm directory.

  2. Copy the following text into the file:

    * Collective information
    *
    @tabl picollective
    @mode create,t
    @istr name, Description, CollectiveID
    uc-s1,UC 2012 Demo Collective,08675309-0007-0007-0007-
    000000001001
    *
    * Individual server member information
    *
    * valid values for Role include:
    * 0 NotReplicated
    * 1 Primary
    * 2 Secondary
    *
    @tabl piserver
    @mode create,t
    @istr name,Description,Collective,FQDN,Role,ServerID
    uc-s1,UC 2012 Demo Server 1,uc-s1,uc-s1.osisoft.int,1,08675309-
    0007-0007-0007-000000001001
    uc-s2,UC 2012 Demo Server 2,uc-s1,uc-s2.osisoft.int,2,08675309-
    0007-0007-0007-000000001002

  3. Edit the text to specify the information for your collective and servers. If necessary, add additional lines for additional servers in your collective.

  4. Open a command window.

  5. Navigate to the ..\PI\adm directory.

  6. Enter:

    piconfig < collective_create_uc.txt

TitleResults for “How to create a CRG?”Also Available in