Switching CDRs

This appendix describes the following procedures:

  • Switching CDRs from HDD to GSS
  • Switching CDRs from GSS to HDD

Switching CDRs from HDD to GSS

This section describes how to switch CDRs from HDD to GSS with:

  • LRSN Enabled
  • LRSN Disabled

LRSN Enabled

To switch CDRs from HDD to GSS with LRSN enabled:

IMPORTANT:

This configuration change must be undertaken in a maintenance window, when the load is minimum.

  1. Configure the GSS server, and ensure that GSS and GGSN have no connectivity issues.
    • If configuring to the default GTPP group:
      configure
      
         gtpp
      single-source centralized-lrsn-creation
      
         context <billing>
      
            gtpp
      charging-agent address <address>
      
            gtpp
      storage-server <address> port <port>
      
            gtpp
      max-cdrs  255 wait-time 300
      
            end
      
      show configuration | grep gtpp
      
    • If configuring to a specific GTPP group:
      configure
      
         gtpp
      single-source centralized-lrsn-creation
      
         context <billing>
      
            gtpp
      group <gtpp_group>
      
               gtpp
      charging-agent address <address>
      
               gtpp
      storage-server <address> port <port>
      
               gtpp
      max-cdrs 255 wait-time 300
      
               end
      
      show configuration | grep gtpp
      
  2. Change the GTPP storage server mode to “Remote”.
    • If configuring to the default GTPP group:
      configure
      
         context <billing>
      
            gtpp
      storage-server mode remote
      
            gtpp
      max-cdrs 255 wait-time 300
      
            end
      
      show configuration | grep gtpp
      
    • If configuring to a specific GTPP group:
      configure
      
         context <billing>
      
            gtpp
      group <gtpp_group>
      
               gtpp
      storage-server mode remote
      
               gtpp
      max-cdrs 255 wait-time  300
      
               end
      
      show configuration | grep gtpp
      

    IMPORTANT:

    Ensure that the file format, GTPP dictionary and LRSN Enabled are set properly on GSS in the gss.cfg file. Also, the correct version of GSS has to be installed and started on the Solaris machine.

  3. Check and confirm that new CDRs are being written to files by GSS. On the HDD side, remaining CDRs are immediately flushed to a CDR file. At this point, the transition is complete.

LRSN Disabled

To switch CDRs from HDD to GSS with LRSN disabled:

IMPORTANT:

This configuration change must be undertaken in a maintenance window, when the load is minimum.

  1. Configure the GSS server, and ensure that GSS and GGSN have no connectivity issues.
    • If configuring to the default GTPP group:
      configure
      
         context <billing>
      
            gtpp
      charging-agent address <address>
      
            gtpp
      storage-server <address> port <port>
      
            gtpp
      max-cdrs 255 wait-time  300
      
            end
      
      show configuration | grep gtpp
      
    • If configuring to a specific GTPP group:
      configure
      
         context <billing>
      
            gtpp
      group <gtpp_group>
      
            gtpp
      charging-agent address <address>
      
            gtpp
      storage-server <address> port <port>
      
            gtpp
      max-cdrs 255 wait-time  300
      
            end
      
      show configuration | grep gtpp
      
  2. Change the GTPP storage server mode to “Remote”.
    • If configuring to the default GTPP group:
      configure
      
         context <billing>
      
            gtpp
      storage-server mode remote
      
            gtpp
      max-cdrs 255 wait-time  300
      
            end
      
      show configuration | grep gtpp
      
    • If configuring to a specific GTPP group:
      configure
      
         context <billing>
      
            gtpp
      group <gtpp_group>
      
            gtpp
      storage-server mode remote 
      
            gtpp
      max-cdrs 255 wait-time  300
      
            end
      
      show configuration | grep gtpp
      
  3. Check and confirm that new CDRs are being written to files by GSS. On the HDD side, remaining CDRs are immediately flushed to a CDR file. At this point, the transition is complete.

    IMPORTANT:

    Ensure that the file format, GTPP dictionary and LRSN Disabled are set properly on GSS in the gss.cfg file. Also, the correct version of GSS has to be installed and started on the Solaris machine.

Switching CDRs from GSS to HDD

This section describes how to switch CDRs from GSS to HDD with:

  • LRSN Enabled
  • LRSN Disabled

LRSN Enabled

To switch CDRs from GSS to HDD with LRSN enabled:

IMPORTANT:

This configuration change must be undertaken in a maintenance window, when the load is minimum.

  1. Ensure that GSS is up and running, and that GGSN is able to deliver CDRs to GSS. Start the changes from a known good state.
  2. Add the HDD configuration.
    • If configuring to the default GTPP group:
      configure
      
         gtpp
      single-source centralized-lrsn-creation
      
         context <billing>
      
            gtpp
      storage-server local file format <file_format_as_in_gss.cfg>
      
            gtpp
      storage-server local file rotation volume mb 40
      
            gtpp
      storage-server local file rotation cdr-count <max_CDR_per_file_as_in_gss.cfg>
      
            gtpp
      storage-server local file rotation time-interval <max_file_gen_period_as_in_gss.cfg>
      
            gtpp
      dictionary <gtpp_dict_as_in_gss.cfg>
      
            gtpp
      storage-server mode local
      
            end
      
      show configuration | grep gtpp
      

      IMPORTANT:

      Note that gtpp storage-server mode local must be added at the end.

    • If configuring to a specific GTPP group:
      configure
      
         gtpp
      single-source centralized-lrsn-creation
      
         context <billing>
      
            gtpp
      storage-server local file format <file_format_as_in_gss.cfg>
      
            gtpp
      storage-server local file rotation volume mb 40
      
            gtpp
      storage-server local file rotation cdr-count <max_CDR_per_file_as_in_gss.cfg>
      
            gtpp
      storage-server local file rotation time-interval <max_file_gen_period_as_in_gss.cfg>
      
            gtpp
      dictionary <gtpp_dict_as_in_gss.cfg>
      
            gtpp
      storage-server mode local
      
            end
      
      show configuration | grep gtpp
      

    IMPORTANT:

    Note that gtpp storage-server mode local must be added at the end.

  3. Ensure that GSS is still up and running so that already pending requests towards GSS are fully delivered. Without flushing out the existing pending requests to GSS, GGSN will not switch to HDD.
  4. Check and confirm that new CDRs are being written to HDD.
  5. On the GSS side, you must wait for the time period it takes for the hard file generation, so that remaining CDRs are flushed to CDR file.
  6. At this point, the transition is complete and you can bring the GSS offline.

LRSN Disabled

To switch CDRs from GSS to HDD with LRSN disabled:

IMPORTANT:

This configuration change must be undertaken in a maintenance window, when the load is minimum.

  1. Ensure that GSS is up and running and GGSN is able to deliver CDRs to GSS. Start the changes from a known good state.
  2. Add the HDD configuration.
    • If configuring to the default GTPP group:
      configure
      
         context <billing>
      
            gtpp
      storage-server local file format <file_format_as_in_gss.cfg>
      
            gtpp
      storage-server local file rotation volume mb 40
      
            gtpp
      storage-server local file rotation cdr-count <max_CDR_per_file_as_in_gss.cfg>
      
            gtpp
      storage-server local file rotation time-interval <max_file_gen_period_as_in_gss.cfg>
      
            gtpp
      dictionary <gtpp_dict_as_in_gss.cfg>
      
            gtpp
      storage-server mode local
      
            end
      
      show configuration | grep gtpp
      

      IMPORTANT:

      Note that gtpp storage-server mode local must be added at the end.

    • If configuring to a specific GTPP group:
      configure
      
         context <billing>
      
            gtpp
      group <gtpp_group>
      
            gtpp
      storage-server local file format <file_format_as_in_gss.cfg>
      
            gtpp
      storage-server local file rotation volume mb 40
      
            gtpp
      storage-server local file rotation cdr-count <max_CDR_per_file_as_in_gss.cfg>
      
            gtpp
      storage-server local file rotation time-interval <max_file_gen_period_as_in_gss.cfg>
      
            gtpp
      dictionary <gtpp_dict_as_in_gss.cfg>
      
            gtpp
      storage-server mode local
      
            end
      
      show configuration | grep gtpp
      

    IMPORTANT:

    Note that gtpp storage-server mode local must be added at the end.

  3. Ensure that GSS is still up and running so that already pending requests towards GSS is fully delivered. Without flushing out the existing pending requests to GSS, GGSN will not switch to HDD.
  4. Check and confirm that new CDRs are being written to HDD.
  5. On the GSS side, you must wait for the time period it takes for the hard file generation, so that remaining CDRs are flushed to CDR file.
  6. At this point, the transition is complete and you can bring the GSS offline.