Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
(Home > User Guides (my.armor.com) > Vormetric Encryptionencryption: User Guides guides and Training Videostraining videos > Configure startup scripts to access encrypted MySQL databases)

...

As part of the startup process, the operating system needs permission to view and change file / folder ownership and permissions. As a result, if you must create a rule that allows the following accessibility:Image Removedwant to guard var/lib/mysql, you must create two rules in your policy.

...

Common GuardPoints

The system needs to access the commonly guarded (encrypted) folders inside of /var/lib/mysql.

...

Allow startup scripts to access encrypted MySQL databases

 

Note

In the instructions below, you will create and add two rules to your policy. 

  1. Log into your DSM as Security Administrator. 

  2. In the menu bar, click Polices, and then click Manage Policies. 

  3. Mark the policy that guards your databases, such as /var/ib/sql/data, and then click Add

  4. Under Security Rules, click Add.  

  5. Next to Resource, click Select

  6. In the window that appears, click Add

  7. In Name, enter a descriptive name for your Resource Set. 

  8. Click Add to specify a resource that will need to be accessed in the GuardPoint upon startup. 

  9. In Directory, enter a slash:  \
  10. In File, enter the mysql.sock file that needs to be accessed upon startup, and then click Ok. These resource must be added one at a time.

  11. (Optional) To add resources, repeat steps 8 - 10.

  12. Mark the newly created Resource Set, and then click Select Resource Set. In the window that appears, Resource is populated with the newly created Resource Set. 

  13. Next to Effect, click Select

  14. Mark Permit and Apply Key

  15. Click Select Effect

  16. Click OkImage Removed

  17. Mark the rule, and then click Up to move the new rule above the catch-all rule.

    Note
    For your reference you have just created and added the first rule.


    Image Added

  18. Inside your policy editor, click Add to create the second security rule. 
    Image RemovedClick Ok

  19. Next to Action, click Select

  20. Using the image below for, mark all the rules listed below.  
    Image Added
  21. Click Select Action.  

  22. Next to Effect, click Select

  23. Mark Permit, and then click Ok
    Image Added

  24. Click Ok

  25. Mark the rule, and then click ApplyUp to save the changes. move the new rule up one entry.  
    Image Added

  26. Click Apply to save, and then click Ok.

  27. (Optional) You should test to make sure your system is running properly.