Skip to content

{ Category Archives } Tips/Trick/Howto

Tips/Tricks

Installing mplayer on RHEL 6

Objective: To install mplayer on RHEL 6 Modus Operand: Install RPM Fusion repo based on info from http://rpmfusion.org/Configuration, code < view plain text > [root@oc0210762185 ~]# yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm Loaded plugins: ibm-check-lotus-updates, ibm-repository, refresh-packagekit, security Setting up Local Package Process rpmfusion-free-release-6-1.noarch.rpm                         [...]

Tagged

Solaris: Configuring Virtual Network with LDOM

Objective To add a virtual network device to guest domain Current network resource, root@maxis70 # ldm list -o network NAME primary MAC 00:21:28:b3:36:a0 VSW NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE primary-vsw0 00:14:4f:f9:da:3e igb0 0 switch@0 1 1 1500 primary-vsw1 00:14:4f:fb:6c:90 igb1 1 switch@1 1 1 1500 primary-vsw2 00:14:4f:fb:4f:94 igb2 2 [...]

Tagged ,

Solaris: Unlock User

Problem Statement User is unable to login even though password is confirm 100% correct. upon checking, ID is locked, this can be verified by checking on /etc/shadow of particular user’s entry. root@irwan69 # grep jmirwan /etc/shadow jmirwan:*LK*hHEYtbJfyM8V2:15625:7:60::::2 *LK* denotes the ID is locked. From manual page of ‘shadow’ password An encrypted password for the user [...]

Tagged ,

NFS Mount Error: “unknown nfs status return value: -1″

Problem Statement I received an error to mount a NFS mountpoint. Server: AIX 6.1 Client: RHEL 5.7, kernel 2.6.18-274.17.1.el5 Error Message: unknown nfs status return value: -1 [root@kambing ~]# mount -t nfs 10.110.62.40:/usr/openv/NBU_Unified_Log/ /VRTS/ mount: 10.110.62.40:/usr/openv/NBU_Unified_Log/ failed, reason given by server: unknown nfs status return value: -1 Solution Create an entry of the client in [...]

Tagged

My First Time Story: Playing Around With LDoms + SVM

Prologue & Objective I’ve a Sun Logical Domains (LDoms) system, I want to assign disk from primary domain to guest domain. Then, I want to use Solaris Volume Manager (SVM) to configure the disk. On primary domain, use formatto select particular disk and do labelling. Specify disk (enter its number): 14 selecting c0t600508B40006BABC00029000036F0000d0 [disk formatted] [...]

Tagged , , ,

Linux on HP Proliant: Reset iLO Network from OS

This is almost similar with my previous post on how to reset Administrator’s password from OS by using hponcfg. This time, I want to reset the iLO network information. Problem Statement I’m unable to access iLO from this server. Since I can’t easily go to BIOS to get the network information, I need to use [...]

Tagged , , ,

Using IBM Advanced Settings Utility (ASU) on Linux

Objective: Utilizing IBM Advanced Settings Utility (ASU) on Linux operating system to avoid the need to access IBM xSeries server from BIOS/UEFI level, thus will avoid server downtime. Installation, [root@sgbcmstrn01 ~]# rpm -ivh ibm_utl_asu_asut78c-9.21_linux_x86-64.rpm Preparing… ########################################### [100%] 1:ibm_utl_asu ########################################### [100%] IBM Advanced Settings Utility (C) Copyright IBM Corp. 2007-2012. All Rights Reserved. This Program is [...]

Tagged , ,

IBM-GPFS: Adding New Mountpoints On Existing Cluster

Objective To add 1x100GB & 1x200GB mountpoints to existing GPFS cluster. Overview Current mountpoints: [root@kpgmeddev01 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg00-root 3.0G 2.3G 479M 84% / /dev/mapper/vg00-tmp 3.0G 145M 2.7G 6% /tmp /dev/mapper/vg00-var 3.0G 834M 2.0G 30% /var /dev/mapper/vg00-itm 992M 34M 908M 4% /Tivoli/ITM /dev/mapper/vg00-fusion 496M 248M 223M 53% /ibm/fusion [...]

Tagged

RHEL 4: Reducing root’s Logical Volume Size

Problem Statement This server contains 1 hard disk (32.2 GB) with 2 partitions (/dev/sda1 + /dev/sda2), [root@localhost ~]# fdisk -l Disk /dev/sda: 32.2 GB, 32212254720 bytes 255 heads, 63 sectors/track, 3916 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 [...]

Tagged , ,

Linux: Change Time Zone From Command Line Interface

I just learned that there are several ways to change time zone setting in Linux from command line interface (I’m using Red hat Enterprise Linux in this case), Using tzselect [root@localhost ~]# tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean. 1) Africa 2) [...]

Tagged , ,