One Liners for Solaris

Get disks attached to HBA for i in `fcinfo hba-port |grep WWN|grep HBA|awk '{print $4}'`; do fcinfo remote-port -sl -p $i; done hostname;fcinfo hba-port |grep WWN|grep HBA|awk '{print $4}' Logical Domains Add Vnets from List for i in `ldm list |awk '{print $1}'|grep -v NAME|grep -v primary`; do ldm add-vnet linkprop=phys-state vnet0 public-vsw0 $i; ldm … Continue reading One Liners for Solaris

Advertisement