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

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

Configure Static IP Address on Solaris11

//Check current ip configuration status # dladm show-phys # ipadm show-if # ipadm show-addr //Check the interfaces name # dladm show-phys — output Example —LINK MEDIA STATE SPEED DUPLEX DEVICEnet0 Ethernet up 1000 full e1000g0 –> Attentiom to this linenet1 Ethernet unknown 0 unknown pcn0 =============================================================================================== # ipadm create-ip net0 //Check status # ipadm show-if … Read more

Generate Random Password in Linux and Solaris CLI (pwgen)

According to pwgen man page, “the pwgen program generates passwords which are designed to be easily memorized by humans, while being as secure as possible.” It returns multiple password options that meet the criteria you provide so that you can select the one that you prefer. ### Install pwgen On RHEL/CentOS Linux, you can install … Read more

Installing Oracle Recommended OS Patchset(10_Recommended) for Solaris 10

The Recommended OS Patchset Solaris 10 provides the minimum set of patches needed to address security and Sun Alert issues, and selected issues identified by Oracle Proactive Services and the Oracle Technical Support Center, for the Solaris 10 Operating System for sparc. The patches contained in this patchset are considered the most important and highly … Read more

How to Move IP Configuration From One Network Device to Another Device in Solaris

Use the following procedure if you need to preserve the IP configuration that is associated with one network device and then move that configuration to another network device. You might perform this procedure as a prelude to removing a network card from the system or when changing a network cable connection. For example purposes only, … Read more

Sun Oracle System Handbook

The Sun Oracle System Handbook is designed to be an online web-based resource for Oracle customers, employees, partners and provides more detailed information from a system perspective, including system photographs, parts lists, and support documentation. The Sun System Handbook has replaced the online version of the FE(Field Engineer) Handbook, both on InfoServer and CDs. The … Read more

How to Copy Directory Structure Without Files in Unix and Linux

In some scenarios, you might want to mimic a certain directory structure that already exists maybe for your personal projects or for a files storage system just because that directory structure makes perfect sense and might require a lot of time to completely recreate it from scratch. Following is the cool way of copying a … Read more

Reactivate RAID Volumes from Sun Oracle ILOM (T&X Server Series)

NOTICE: Only perform this task if your system had RAID volumes prior to replacing the motherboard. Problem & Error : boot command is failed and Can’t open boot device. {0} ok boot ERROR: boot-read fail Boot device: disk:d File and args: Can’t open boot device -> set /HOST/bootmode script=”setenv auto-boot? false” 3. Power on the … Read more