What is a parameter file Parameter file is a text or binary to store the database initialization parameters. The oracle instance reads the parameter file during startup which are then used to control the behavior of database instance and many other aspects as well. Such as : memory allocation (SGA and PGA), startup of optional […]
Archives for June 2016
CentOS / RHEL : How To Check FC Brocade HBA Firmware
Question : How To Check FC Brocade HBA Firmware in linux? Answer : You can use the “systool” command or else the file “/sys/class/scsi_host/host0/firmware_version” to check the firmware version of your Brocade FC HBA. Example: # systool -c fc_host -v | grep -i symbolic_name symbolic_name = “Brocade Brocade-415 FV2.0.0.0 DV2.0.0.0” or # cat /sys/class/scsi_host/host0/firmware_version 2.0.0.0 […]
CentOS / RHEL 7 : How to start / Stop or enable / disable Firewalld
Question : How to Start or stop firewalld (iptables in earlier version) in CentOS / RHEL 7? Solution : The iptables service is replaced with firewalld service in Oracle Linux 7. The command iptables -L will list the set of rules that are in place on node. # iptables -L Chain INPUT (policy ACCEPT) target […]
CentOS / RHEL 6 : How to rebuild Initial Ramdisk Image
When adding new hardware to a system, or after changing configuration files that may be used earlier in the boot process, or when changing the options on a kernel module, it may be necessary to rebuild the initial ramdisk (also known as initrd or initramfs) to include the proper kernel modules, files, and configuration directives. […]
CentOS / RHEL 5 : How to rebuild Initial Ramdisk Image
When adding new hardware to a system, or after changing configuration files that may be used earlier in the boot process, or when changing the options on a kernel module, it may be necessary to rebuild the initial ramdisk (also known as initrd or initramfs) to include the proper kernel modules, files, and configuration directives. […]
RHEL / CentOS : How to rebuild LVM from Archive (metadata backups)
Problem : The filesystem was corrupted and the LVM volumes could not be mounted, with the lvm partitions are lost. Solution : Metadata backups and archives are automatically created on every volume group and logical volume configuration change unless disabled in the lvm.conf file. By default, the metadata backup is stored in the /etc/lvm/backup file […]
Solaris 10 zones troubleshooting : Unable to Share NFS File Systems From a Non-global Zone
Question : I am unable to share nfs from a non-global zone. Answer : Consider the following example. – sysadmin creates a non-global zone and wants to share a zfs mount point from non-global zone. – While setting ZFS parameter “sharenfs”, he encounters an error : cannot set property for ‘findisk/faktudt_users’: ‘sharenfs’ cannot be set […]
How to configure additional IP address on the same interface in solaris zones
Question : Can I configure additional IP addresses on the same interface in non-global zone? If yes, how? Answer : Yes, you can add additional IP addresses on the existing interface configured in the non global zone. In fact the procedure remains the same. To add a secondary shared interface to configured shared ip zone […]
How to verify non-global solaris zone is installed
It is important that the zone is in the appropriate installed state before one can boot it up. The configured zone has to be installed with the operating environment. That is, the zone configuration has to be instantiated and packages have to be installed under the zone’s root path. The zone status should be marked […]
How to send mails with attachments using the solaris mailx command
The post discusses the use of uuencode to send mails with attachments using mailx command. uuencode can also be used to sent multiple attachments. 1. Example using one attachment The syntax of uuencode command is : # uuencode [path of file to be encoded] [file to encode] >> [uuencoded filename] For example if you have […]