Previous Topic: Extend the Oracle Internet Directory Policy Store SchemaNext Topic: Import the Policy Store Data Definitions


Import the Base Policy Store Objects

Importing the default SiteMinder objects upgrades the policy store for use with the Administrative UI. The default SiteMinder objects are required to store policy information in the policy store.

Important! Before running a SiteMinder utility or executable on Windows Server 2008, open the command line window with administrator permissions. Open the command line window this way, even if your account has administrator privileges.

To import the base policy store objects

  1. Run the following command:
    smobjimport -ipolicy_server_home\db\smdif\upgrade_smdif_file_name
    -dsiteminder_super_user_name -wsiteminder_super_user_password
    -v -f
    
    policy_server_home

    Specifies the Policy Server installation path.

    upgrade_smdif_file_name

    Specifies the name of the import file:

    • r6.0 to r12.0 SP3: sm_upgrade_60_to_R12sp3.smdif
    • r6.0 SP1 to r12.0 SP3: sm_upgrade_60sp1_to_R12sp3.smdif
    • r6.0 SP2 to r12.0 SP3: sm_upgrade_60sp2_to_R12sp3.smdif
    • r6.0 SP3 to r12.0 SP3: sm_upgrade_60sp3_to_R12sp3.smdif
    • r6.0 SP4 to r12.0 SP3: sm_upgrade_60sp4_to_R12sp3.smdif
    • r6.0 SP5 to r12.0 SP3: sm_upgrade_60sp5_to_R12sp3.smdif
    • r6.0 SP6 to r12.0 SP3: sm_upgrade_60sp6_to_r12sp3.smdif
    -dsiteminder_super_user_name

    Specifies the name of the SiteMinder administrator account.

    -wsiteminder_super_user_password

    Specifies the password for the SiteMinder administrator account.

    -v

    Turns on tracing and outputs error, warning, and comment messages in verbose format so that you can monitor the status of the import.

    Default output: stdout

    -f

    Overwrites duplicate policy store objects with those from r12.0 SP3.

    If the argument contains spaces, use double quotes around the entire argument.

    Windows example: smobjimport

    -i"C:\Program Files\CA\siteminder\db\smdif\smpolicy.smdif" -d"SM Admin" -wPassword -v
    

    UNIX example: smobjimport

    -i$NETE_PS_ROOT/db/smdif/smpolicy.smdif -d"SM Admin" -wPassword -v

    The base policy store objects are imported.

  2. Run the following command:

    Important! Do not re-import ampolicy.smdif if it has been previously imported into the policy store.

    smobjimport -ipolicy_server_home\db\smdif\ampolicy.smdif
    -dsiteminder_super_user_name -wsiteminder_super_user_password -f -v -l -c
    
    -policy_server_home

    Specifies the path and name of the import file.

    -dsiteminder_super_user_name

    Specifies the name of the SiteMinder administrator account.

    -wsiteminder_super_user_password

    Specifies the password for the SiteMinder administrator account.

    -f

    Overrides duplicate objects.

    -v

    Turns on tracing and outputs error, warning, and comment messages in verbose format so that you can monitor the status of the import.

    Default value: stdout

    -l

    Creates a log file.

    -c

    Indicates that the smdif input file contains unencrypted data.

    Note: Importing ampolicy.smdif makes available Federation Security Services, Web Service Variables, and eTelligent Rules functionality that is separately licensed from SiteMinder. If you intend on using the latter functionality, contact your CA account representative for licensing information.

You can now import the policy store data definitions.