• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for June 2016

Oracle database : Basics about pfile and spfile

by admin

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 […]

Filed Under: oracle

CentOS / RHEL : How To Check FC Brocade HBA Firmware

by admin

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 […]

Filed Under: Linux

CentOS / RHEL 7 : How to start / Stop or enable / disable Firewalld

by admin

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 […]

Filed Under: CentOS/RHEL 7, Linux

CentOS / RHEL 6 : How to rebuild Initial Ramdisk Image

by admin

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. […]

Filed Under: Linux

CentOS / RHEL 5 : How to rebuild Initial Ramdisk Image

by admin

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. […]

Filed Under: Linux

RHEL / CentOS : How to rebuild LVM from Archive (metadata backups)

by admin

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 […]

Filed Under: Linux

Solaris 10 zones troubleshooting : Unable to Share NFS File Systems From a Non-global Zone

by admin

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 […]

Filed Under: Solaris, Zones

How to configure additional IP address on the same interface in solaris zones

by admin

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 […]

Filed Under: Solaris, Zones

How to verify non-global solaris zone is installed

by admin

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 […]

Filed Under: Solaris, Zones

How to send mails with attachments using the solaris mailx command

by admin

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 […]

Filed Under: Solaris

Next Page »

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright