A system with non-global zones will share one kernel for all zones (the global zone as well as all configured non-global zone). As a result, there is only one date/time on the entire setup and this time is usually controlled by the global zone only. By default, the privilege to change the date and time […]
Archives for August 2016
How To Change SYS user password for oracle database instance
If you have ever tried to change the SYS of a normal or ASM database instance Password, you would get errors as below : SQL> password Changing password for SYS Old password: New password: Retype new password: ERROR: ORA-00600: internal error code, arguments: [15051], [], [], [], [], [], [], [] SQL> select INSTANCE_NAME from […]
Oracle Solaris 11 Package Naming scheme ( version format )
An Oracle Solaris 11 package has the following version format: name@release_version,release-trunk_id.update.SRU.reserved.build_id.nightly_id[.IDR_id.IDR_number] For example, # pkg list entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.1.14.0.5.0 i– name package name, including ‘/’ characters release_version well-known version number, either same as open source version or 0.5.11 for Solaris internal packages. release 5.11 for Solaris 11 trunk_id build number for […]
How to recreate an ASM disk group
In the event you cannot mount your ASM disk groups, you will be unable to start any databases using those disk groups. Here is a possible error reported when mounting ASM disk groups: SQL> startup mount ORA-15032: not all alterations performed ORA-15063: diskgroup “[DISK GROUP NAME]”” lacks quorum of 2 PST disks; 0 found This […]
CentOS / RHEL 6 : How to Start/Stop MySQL Server (mysqld)
Enabling and Disabling Starting MySQL Server at Boot You can use the chkconfig script to verify whether MySQL has been configured to start when Linux is booted: # chkconfig –list mysql mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off The numbers 0 through 6 represents the run-levels and on/off signifies whether the service will be […]
CentOS / RHEL LVM : Backing Up Volume Group Metadata
– LVM metadata contains configuration details of volume groups. – Metadata backups and archives are automatically created on every volume group and logical volume configuration change. – Backups are stored in /etc/lvm/backup. – Archives are stored in /etc/lvm/archive. – Configuration settings are stored in /etc/lvm/lvm.conf. – You can also use lvm dumpconfig command to display […]
CentOS / RHEL : How to create a Thinly Provisioned Logical Volume
LVM thin provisioning allows you to over-commit the physical storage. You can create file systems which are larger than the available physical storage. LVM thin provisioning allows you to create virtual disks inside a thin pool. The size of the virtual disk can be greater than the available space in the thin pool. It is […]
How to check zpool status in Solaris
The post describes few basic commands to check the health of a ZFS pool. 1. Basic Storage Pool Health Status The simplest way to request a quick overview of pool health status by zpool status -x command. Example: # zpool status -x all pools are healthy You can list the pool state for a specific […]
How to find zpool version and filesystem version in Solaris
Upgrading the ZFS filesystem and zpool versions is a one-way operation. Once upgraded, the versions cannot be downgraded. This will prevent booting from older boot environments if support for the upgraded zpool/filesystem version is not available within those boot environments. Thus it is important to chcek the zpool version before the upgrade. The current zpool […]
CentOS / RHEL 7 : Configuring NTP using chrony
– Chrony provides another implementation of NTP. – Chrony is designed for systems that are often powered down or disconnected from the network. – The main configuration file is /etc/chrony.conf. – Parameters are similar to those in the /etc/ntp.conf file. – chronyd is the daemon that runs in user space. – chronyc is a command-line […]