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

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