Skip to main content

Posts

Showing posts with the label SUN

how to get process id attached with particular port in solaris

When you need to know process id attached with particular port use below command. pfiles /proc/* 2>/dev/null | nawk ' /^[0-9]*:/ { pid=$0 } /port: 7085 $/ { printf("%s %s\n",pid,$0);}' pfiles /proc/* is retrieving all processes file descriptors details 2>/dev/null is dropping out errors due to transient processes died in the meantime each line starting with a number followed by a colon reports the process id and details, it is stored in the awk pid variable when a line ends with the string port: <portnumber> (here is 7085), the corresponding pid variable is displayed. Note: you need the required privilege(s) to get port information from processes you do not own (root has all privileges).

Disable T5120 RAID - Cause failure in booting/installing from HD

-> start /SP/console Are you sure you want to start /SP/console (y/n)? y Serial console started.  To stop, type #. {0} ok show-disks a) /pci@0/pci@0/pci@8/pci@0/pci@9/LSILogic,sas@0/disk b) /pci@0/pci@0/pci@2/scsi@0/disk c) /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk q) NO SELECTION Enter Selection, q to quit: c /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk has been selected. Type ^Y ( Control-Y ) to insert it in the command line. e.g. ok nvalias mydev ^Y          for creating devalias mydev for /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk {0} ok boot /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk -s Boot device: /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk  File and args: -s

How To Reset The ALOM Password On A Sun Fire T2000

If an  ALOM password reset  is required on a Sun Fire T1000 or  Sun Fire T2000  in case the password is lost or forgotten, the following steps can be taken to erase the ALOM NVRAM so that a user can gain access to it, set a new password and restore the NVRAM settings. Note: Access to the server’s power cables and the ALOM serial port is required for this procedure. Connect your computer or laptop to the ALOM serial management port. Power cycle the system by unplugging the server’s power supplies, waiting several seconds and then plugging the power back in. You should see the ALOM booting on the serial management console. Hit “Esc” during the ALOM boot, before or at the point where the display says: Return to Boot Monitor for Handshake The system will return with this message: Return to Boot Monitor for Handshake ESC keypress detected. The ALOM enters the “ALOM boot escape menu”. The following choices will be displayed: ALOM  M...