Specify the Setup Properties File

You can edit the user_setup.properties file, which has pre-defined server installation inputs that you specify. The headless installation setup script points to and uses this file later to install OCSDM on your server.

Note:

After you complete the Headless Installation and decide to run the Typical or Custom Installation, any changes that you make in these installations are not propagated to the user_setup.properties file. The changes you made in the Typical or Custom Installation need to be added to the user_setup.properties file to keep this file current in the event that you need to use this file again in a future headless installation.
  1. Navigate to the setup folder in the OCSDM installation directory.
    $ AcmePacket/NNC<version>/conf/setup
  2. In the setup directory, you can edit the user_setup.properties setup file with your inputs by using a built-in text editing program such as nano, vi, or emacs. The following example shows how to access and show the contents of the user_setup.properties file.
    $ vi user_setup.properties
      1 # Password value for default admin user (e.g. ADMIN_PASSWORD=admin)
      2 ADMIN_PASSWORD=abc123
      3
      4 # Password value for default LIadmin user (e.g. LI_ADMIN_PASSWORD=LIadmin)
      5 LI_ADMIN_PASSWORD=abc123
      6
      7 # Value for toggling R226 compliance (valid values are enabled/disabled) (e.g. R226_COMPLIANCE=enabled)
      8 R226_COMPLIANCE=enabled
      9
      10 # Global configuration value (e.g. GLOBAL_CONFIG_ID=OCSDM)
      11 GLOBAL_CONFIG_ID=OCSDM
      12
      13 # Server name for HTTPS configuration (must match CN or Common Name value of the certificate)
      14 SERVER_NAME=name.server.com 
      15
      16 # Password value for Trust Store (e.g. TRUST_STORE_PASSWORD=abc123)
      17 TRUST_STORE_PASSWORD=abc123
      18
      19 # Password value for sudo user 'nncentral' (e.g. SUDO_PASSWORD=abc123)
      20 SUDO_PASSWORD=abc123
      21
      22 # Password value for SFTP user 'nncentral' (e.g. SFTP_PASSWORD=abc123)
      23 SFTP_PASSWORD=abc123
      24 # Comma-separated list of cluster member IP addresses (e.g. IP-1, IP-2, […] IP-N)
      25 CLUSTER_MEMBERS=10.10.10.2, 10.10.10.3, 10.10.10.4
    The following table describes each input used to configure your OCSDM server:
  3. Save the inputs you made to the user_setup.properties file in the text editor.