ISCSI in Solaris with iscsitadm Command

Target: Space which is being assigned from storage. Initiator: Client who is connecting to and using Target. Services: Depending on server role these services should be enabled/disabled. Configuring Target (Server) : #Show current settings iscsitadm show admin *  Assuming that a ZFS Volume named “Pool/Vol” is created in this regard. Change base directory : Create … Read more

Update the HBA firmware on Oracle-branded HBAs(Solaris)

If an HBA firmware update is required on an Oracle-branded HBA, a WARNING message will be placed in the /var/adm/messages file, such as this one: This procedure, while disruptive, will ensure that both driver and firmware are current. The force lip will temporarily disrupt I/O on the port. The disruption and firmware upgrade takes approximately 30-60 seconds to complete … Read more

How to do tape device discovery for NetBackup device configuration from RHEL Linux command line

How-To Steps: Scan and discover SCSI devices in Linux cli: scsi-rescan OR: ls -l /sys/class/scsi_host/echo “- – -” > /sys/class/scsi_host/host0/scanecho “- – -” > /sys/class/scsi_host/host1/scanecho “- – -” > /sys/class/scsi_host/host2/scanecho “- – -” > /sys/class/scsi_host/host3/scanecho “- – -” > /sys/class/scsi_host/host4/scanecho “- – -” > /sys/class/scsi_host/host5/scanecho “- – -” > /sys/class/scsi_host/host6/scan The commands to scan and … Read more

Finding the amount of used memory by each process in Solaris

What is VSZ memory? VSZ is short for Virtual Memory Size. It’s the total amount of memory a process may hypothetically access. ### fill out required <UserName> in following command to find the amount of used memory by each process. ### Output is in Kilobyte. for i in ps -aef | grep -i <UserName> | … Read more

The Open Source Definition

Introduction Open source doesn’t just mean access to the source code. The distribution terms of open-source software must comply with the following criteria: 1. Free Redistribution The license shall not restrict any party from selling or giving away the software as a component of an aggregate software distribution containing programs from several different sources. The … Read more

Recovering rebooted or crashed GlusterFS

checking glusterfs configurations: [root@glustertest1 ~]# gluster volume info Volume Name: test_volType: DisperseVolume ID: b23f6c11-8dfe-4d51-919d-35a30dd75100Status: StoppedSnapshot Count: 0Number of Bricks: 1 x (4 + 2) = 6Transport-type: tcpBricks:Brick1: glustertest1:/glusterfs/brick1Brick2: glustertest2:/glusterfs/brick1Brick3: glustertest3:/glusterfs/brick1Brick4: glustertest4:/glusterfs/brick1Brick5: glustertest5:/glusterfs/brick1Brick6: glustertest6:/glusterfs/brick1Options Reconfigured:transport.address-family: inetnfs.disable: on[root@glustertest1 ~]# [root@glustertest1 ~]# gluster volume statusVolume test_vol is not started if its not started: mount glusterFS: [root@glustertest1 ~]# mount … Read more

Rename a GlusterFS Peer in RHEL

Here are the steps:FYI, its not required to detach the peer. WARNING: Before proceed be sure of backup your data, and proceed with caution. Do not execute any command without understanding what it do exactly, be sure that you are in the correct path, make the correct names replacements in each command if apply (indicated … Read more