Increase Solaris 11 Swap

Increase swap size on Solaris 11 without rebooting. Check the default swap list # swap -l swapfile             dev    swaplo   blocks     free /dev/zvol/dsk/rpool/swap 124,2         8  2097144  2097144 Check the rpool swap size # zfs get volsize rpool/swap NAME        PROPERTY  VALUE    SOURCE rpool/swap  volsize   1G       local Delete the default swap # swap -d /dev/zvol/dsk/rpool/swap Check the swaplist […]

Create Virtual IP on Solaris

1) create /etc/hostname.<interfacename>:<n> containing the hostname of the virtual IP (For Pemanent Reserved) example: bash-3.2# touch/etc/hostname.igb0:1 bash-3.2# /etc/hostname.igb0:1 2) add the hostname and virtual IP to /etc/hosts example: ::1 localhost localhost domainname loghost 3) use the following commands to configure the interface: ifconfig <interfacename>:<n> plumb example: bash-3.2# ifconfig igb0:1 plumb ifconfig <interfacename>:<n> <IP address> […]