Creating the Veritas post-deployment scripts

The generated files vrts_deployment.sh and vrts_post-deployment.cf are customized Flash archive post-deployment scripts. These files clean up Veritas product settings on a cloned system before you reboot it for the first time. Include these files in your Flash archives.

To create the post-deployment scripts

  1. Mount the product disc.
  2. From the prompt, run the -flash_archive option for the installer. Specify a directory where you want to create the files.
    # ./installer -flash_archive /tmp
  3. Copy the vrts_postedeployment.sh file and the vrts_postedeployment.cf file to the golden system.
  4. On the golden system perform the following:

    • Put the vrts_postdeployment.sh file in the /etc/flash/postdeployment directory.

    • Put the vrts_postdeployment.cf file in the /etc/vx directory.

  5. Make sure that the two files have the following ownership and permissions:
    # chown root:root /etc/flash/postdeployment/vrts_postdeployment.sh 
    # chmod 755 /etc/flash/postdeployment/vrts_postdeployment.sh
    # chown root:root /etc/vx/vrts_postdeployment.cf 
    # chmod 644 /etc/vx/vrts_postdeployment.cf
    

    Note that you only need these files in a Flash archive where you have installed Veritas products.