Home > Storage > Unity XT > Virtualization, Cloud & Applications > Dell Unity XT: Oracle Database Best Practices > Dell Unity Service Scripts
Dell Unity can run service commands from the Unity service account. Some service commands provide more ability to monitor and manage Unity. Some service commands provide the ability to:
Service commands are intended for the Storage Administrator, field services, and support personal. Since the scripts require a lower level of system control, use care when processing the scripts.
NOTE: Users should be familiar with Linux, Unity installed hardware, and the Unity operating system. Some service scripts must not be run without the approval from your authorized service representative or support personnel. Contact your service representative or support for guidance in using the service commands.
Service commands are run from Unity’s service account and require SSH to be enabled in Unity. The service account password is initially defined when Unity is deployed and configured. By default, the password is the same as the admin password but can be changed during deployment.
When connecting to Unity using SSH, the SSH client should use Unity’s Unisphere’s IP address.
Once connected to the service account, to see a list of available service commands, type svc_help.
The remainder of this section shows several use cases with several service commands:
To use Oracle dNFS with Unity storage, use NFS protocol NFSv3, and enable Unity’s nfs.transChecksum parameter (set to 1). This parameter ensures that each transaction carries a unique ID and avoids the possibility of conflicting IDs that result from the reuse of relinquished ports.
To display the current value of nfs.transChecksum, perform the following service command in an ssh session to the IP address of Unisphere:
svc_nas <NAS Server name> -param -facility nfs -info transChecksum
This service command will return a number of parameters and their current value. If the value returned for parameter current_value is 0, then nfs.transChecksum is disabled. If its value is 1, then nfs.transChecksum is enabled.
To enable nfs.transChecksum, shutdown all Oracle resources that reside on the NAS Server where the nfs.transChecksum will be enabled. Then proceed with the following steps:
svc_nas <NAS Server name> -param -facility nfs -modify transChecksum -value 1
svc_nas <NAS Server name> -param -facility nfs -info transChecksum
svc_nas <NAS Server name> -restart
To disable nfs.transChecksum, shutdown all Oracle resources that reside on the NAS Server where the nfs.transChecksum will be enabled. Then, perform the following to disable nfs.transChecksum:
svc_nas ORA-ASM-NAS -param -facility nfs -info transChecksum
svc_nas <NAS Server name> -param -facility nfs -modify transChecksum -value 0
svc_nas ORA-ASM-NAS -param -facility nfs -info transChecksum
svc_nas <NAS Server name> -restart
svc_nas ORA-ASM-NAS -param -facility nfs -info transChecksum
Note: Only disable nfs.transChecksum if Oracle dNFS will no longer be used. nfs.transChecksum ensures that each database transaction carries a unique ID and avoids the possibility of conflicting IDs that result from the reuse of relinquished ports.
It may be advantageous to change the size of Unity’s nfs buffer. When mounting a Unity NFS filesystem on a client, the filesystem should be mounted with wsize and rsize equal to the size of the Unity NFS buffer.
To display the current size and range of Unity’s NFSv3 I/O transfer buffer size, process the following service command.
svc_nas <NAS server name> -param -facility nfs -info v3xfersize
The output from this command is helpful when configuring NFS, especially when using Oracle dNFS. When mounting the NFS filesystem serviced by the Unity NAS Server, set the rsize and wsize to the value of parameter current_value reported by the Unity service command:
It is recommended to test these changes in a nonproduction environment before changing them in production.
To change the size of Unity’s NFSv3 I/O transfer buffer, perform the following steps.
Notes:
1) Contact your Dell Technologies service representative for guidance in this process.
2) The process will change the buffer sizes for all NAS servers on SP A and SP B, and will require a reboot of both the local and peer SPs.
svc_nas <NAS name> -param -facility nfs -info v3xfersize
svc_nas ALL -param -facility nfs -modify v3xfersize -value <new-value>
svc_nas <NAS name> -param -facility nfs -info v3xfersize
svc_shutdown -r
svc_nas <NAS name> -param -facility nfs -info v3xfersize
svc_shutdown -r
svc_nas ALL -param -facility nfs -info v3xfersize