NAS Stack Shell Reg Settings |
When configuring a NAS environment from shell the 'sysadmin' user envokes (/usr/local/quantum/bin/run-panshell) it is sometimes necessary to use the reg command to modify registry setting.
To show all registry settings use this command.
reg show all
Example output:
G300:spsgw1> reg show all
admin.email_address = 'sysadmin'
admin.pwd_reset_verification_code = ''
autosupport.enabled = 1
autosupport.product_key = ''
autosupport.quantum_password = ''
autosupport.quantum_user = ''
autosupport.send_to_quantum = 1
cifs.acl_xattr_ignore_system_acls = 1
cifs.bind_interfaces = ''
cifs.case_sensitive = 'auto'
To look at a specific sub set of reg setting pass the first object of the key to the reg show command.
Example command and output:
G300:spsgw1> reg show cifs
cifs.acl_xattr_ignore_system_acls = 1
cifs.bind_interfaces = ''
cifs.case_sensitive = 'auto'
cifs.config.global.workgroup = ''
cifs.dc_list = '*'
cifs.default_case = 'lower'
cifs.ea_support = 1
cifs.enabled = 1
cifs.export_share.enabled = 0
To change a registry setting use the 'reg set <key>' command.
Example command and output:
G300:spsgw1> reg show cifs.enabled
cifs.enabled = 1
G300:spsgw1> reg set cifs.enabled = 0
Registry key 'cifs.enabled' set to '0'.
G300:spsgw1> reg show cifs.enabled
cifs.enabled = 0
If you dont know the default key entry you can revert back with the reg reset command.
Example command and output:
G300:spsgw1> reg reset cifs.enabled
Registry key cifs.enabled has been reset.
G300:spsgw1> reg show cifs.enabled
cifs.enabled = 1
It should be know that MOST registry keys will be reverted back when running a 'auth config local' or 'auth reset config'. However the following keys are persistent and will need to be reset manually or give the default value when doing a 'reg set'.
This is a list of keys that are reset when running the auth config or reset commands.
‘ldap.config.*’
‘kerberos.*’
‘cifs.workgroup_name’
‘cifs.realm’
‘cifs.joined_successfully’
‘cifs.dc_list’
‘cifs.enabled’
‘cifs.idmap_type’
Other keys will need to specific intervetion to reset.
Since these keys are poorly documented for support I'm starting a wiki page to explains specific keys we use and what the intent or bugs seen with them are.
This page was generated by the BrainKeeper Enterprise Wiki, © 2018 |