Resource registry command usage

These examples use the Resource Registry utility commands to add, remove, or change resources in a resource name (.mrn) file. The examples use ResourceRegistryHelper.bat for the Windows platform. For UNIX, use ResourceRegistryHelper.sh.

Modify examples

These examples modify a resource or virtual server in the modifyingresource.mrn file.

  • Change the value of the test resource to c:/server/location:
    install_dir\resourceregistryhelper.bat modifyingresource.mrn
          -A modify
          -R test
          -V c:/server/location
    
  • Encrypt the value of the test resource. Use encryption key 3257 located in the itx.mkf master key file in the .mrn directory:
    install_dir\resourceregistryhelper.bat modifyingresource.mrn
          -A modify
          -R test 
          -E -KEYFILE itx.mkf -KEYID 3257
  • Change the resource value of the aix virtual server to /server/location. Remove the current encryption and re-encrypt the value with a new encryption key. The key is generated with a random passphrase and stored in the TempAIXServers.mkf master key file :
    install_dir\resourceregistryhelper.bat modifyingresource.mrn
          -A modify
          -S aix 
          -V /server/location
          -CK -KEYFILE TempAIXServers.mkf 
    

Add examples

These examples add a resource or virtual server to the addingintoresource.mrn resource name file.

  • Add the test resource to the .mrn file:
    install_dir\resourceregistryhelper.bat addingintoresource.mrn
          -A add
          -R test
    
  • Add the aix virtual server to the .mrn file:
    install_dir\resourceregistryhelper.bat addingintoresource.mrn
          -A add
          -S aix
    

Remove examples

These examples remove a resource or virtual server from the removinginresource.mrn resource name file.

  • Remove the test resource from the .mrn file:
    install_dir\resourceregistryhelper.bat removinginresource.mrn
          -A remove
          -R test
    
  • Remove the aix virtual server from the .mrn file:
    install_dir\resourceregistryhelper.bat removinginresource.mrn
          -A remove
          -S aix