Reset HBA port in Oracle Solaris

If the devices not immediately available in fabric zones in a storage area network you can reinitialize the link to the devices by using the luxadm -e forcelip command. The following command can be used to list HBA devices: [root @ unixonline] / # luxadm -e port /devices/pci@1c,600000/QLGC,qlc@1/fp@0,0:devctl CONNECTED /devices/pci@1c,600000/QLGC,qlc@1,1/fp@0,0:devctl CONNECTED The following command can … Read more

Monitoring Swap Usage for Each Process With the top Command

To monitor which process is using swap, you can use the top command:Log in to Advanced shell (bash).Type the following command to enter the top utility: # top [root@unixonline]# top top – 01:10:24 up 230 days, 9:05, 9 users, load average: 0.00, 0.01, 0.05 Tasks: 220 total, 1 running, 219 sleeping, 0 stopped, 0 zombie … Read more

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

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

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