This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:unix:oi [2014/05/30 12:15] gcooper |
computing:unix:oi [2019/10/21 08:54] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== OpenIndiana ====== | ====== OpenIndiana ====== | ||
- | See also **[[computing:storage: | + | See also **[[va:va_shared_storage|Shared Storage System |
See also **[[computing: | See also **[[computing: | ||
Line 47: | Line 47: | ||
===== Managing Dump and Swap ===== | ===== Managing Dump and Swap ===== | ||
- | |||
- | :!: You can probably skip this section if you are configuring a storage server as the swap space is not pre-allocated. | ||
Planning for Swap Space: http:// | Planning for Swap Space: http:// | ||
Adjusting the Sizes of Your ZFS Swap and Dump Devices: http:// | Adjusting the Sizes of Your ZFS Swap and Dump Devices: http:// | ||
+ | |||
+ | ==== Dump ==== | ||
+ | |||
+ | :!: You only need a dump device if you need (and usually buy) help from OS devs, example from OmniTi. | ||
+ | If so, you may need a larger rpool commensurate with your server' | ||
+ | |||
+ | Estimate needed dump space (128GB RAM): | ||
+ | |||
+ | < | ||
+ | root@stor-01:/ | ||
+ | Estimated dump size: 61.5G | ||
+ | </ | ||
+ | |||
+ | Query the current dump device size: | ||
+ | |||
+ | < | ||
+ | root@stor-01:/ | ||
+ | NAME PROPERTY | ||
+ | rpool/ | ||
+ | </ | ||
+ | |||
+ | Change the dump volume size: | ||
< | < | ||
Line 59: | Line 79: | ||
zfs set volsize=4G rpool/dump | zfs set volsize=4G rpool/dump | ||
</ | </ | ||
+ | |||
+ | Disable dump and delete the dump volume: | ||
+ | |||
+ | < | ||
+ | dumpadm -d none | ||
+ | zfs destroy rpool/dump | ||
+ | </ | ||
+ | |||
+ | ==== Swap ==== | ||
+ | |||
+ | :!: You can probably skip this section if you are configuring a storage server as the swap space is not pre-allocated. | ||
Note the change in blocks allocated to swap: | Note the change in blocks allocated to swap: | ||
Line 103: | Line 134: | ||
</ | </ | ||
- | Run it again without the ' | + | Run it again without the ' |
+ | |||
+ | ===== Manage Boot Environments ===== | ||
+ | |||
+ | http:// | ||
< | < | ||
- | beadm list | + | beadm list # list BE's |
+ | beadm rename < | ||
+ | beadm destroy < | ||
+ | beadm activate < | ||
</ | </ | ||
Line 224: | Line 262: | ||
< | < | ||
- | 10.10.10.5 netmask 255.255.255.0 | + | 10.1.10.5 netmask 255.255.255.0 |
</ | </ | ||
Line 232: | Line 270: | ||
< | < | ||
- | 10.10.10.6 netmask 255.255.255.0 | + | 10.1.10.6 netmask 255.255.255.0 |
</ | </ | ||
Line 240: | Line 278: | ||
< | < | ||
- | 10.10.10.5 | + | 10.1.10.5 |
- | 10.10.10.6 | + | 10.1.10.6 |
</ | </ | ||
Line 454: | Line 492: | ||
==== Optional - Rename Link ==== | ==== Optional - Rename Link ==== | ||
- | - Dladm rename-link oldname | + | - dladm rename-link oldname Net.1 |
- | - ipadm create-addr -T static -a 192.168.10.7/ | + | - ipadm create-addr -T static -a 192.168.10.7/ |
- route -p add default 192.168.10.254 | - route -p add default 192.168.10.254 | ||
- check for dns server info: | - check for dns server info: | ||
Line 467: | Line 505: | ||
===== Enable Jumbo Frames ===== | ===== Enable Jumbo Frames ===== | ||
- | - dladm set-linkprop -p mtu=9000 InterfaceName | + | < |
+ | dladm set-linkprop -p mtu=9000 InterfaceName | ||
+ | </ | ||
===== Link Aggregation ===== | ===== Link Aggregation ===== | ||
Line 473: | Line 513: | ||
Similar terms: NIC Bonding, NIC Teaming | Similar terms: NIC Bonding, NIC Teaming | ||
- | - dladm show-link | + | < |
- | | + | dladm show-link |
- | | + | dladm create-aggr -l Net.LACP.1 -l Net.LACP.2 Net.Team.1 |
- | | + | ipadm create-addr -T static -a 192.168.100.7/ |
- | | + | dladm modify-aggr -L active -T short Net.Team.1 |
- | - configure | + | dladm modify-aggr -P L2 Net.Team.1 |
+ | </ | ||
+ | |||
+ | :!: Configure | ||
===== Steps for Solaris Raid 10 ===== | ===== Steps for Solaris Raid 10 ===== | ||
- | - Zpool create | + | < |
- | - Zpool add PSC.Net | + | zpool create |
- | - Zpool add PSC.Net | + | zpool add tank mirror disk3 disk4 |
+ | zpool add tank mirror disk5 disk6 #etc... | ||
+ | </ | ||
===== Steps for Adding Cache Drives ===== | ===== Steps for Adding Cache Drives ===== | ||
- | - Zpool add PSC.Net | + | < |
- | - Zpool add PSC.Net | + | zpool add tank cache disk1 |
+ | zpool add tank cache disk2 | ||
+ | </ | ||
===== Disable ZIL ===== | ===== Disable ZIL ===== | ||
- | - zfs set sync=disabled | + | < |
- | | + | zfs set sync=disabled |
+ | zfs get sync | ||
+ | </ | ||
===== Steps for Setting Up Comstar ===== | ===== Steps for Setting Up Comstar ===== | ||
- | - svcadm enable svc:/ | + | < |
- | | + | svcadm enable svc:/ |
- | | + | zpool list #will tell you capacity, substitute capacity in next line, its currently 20G |
- | | + | zfs create -V 20G tank/ISCSI.tank |
- | | + | sbdadm create-lu / |
- | | + | sbdadm list-lu |
- | | + | stmfadm add-view |
- | | + | pkg install -v SUNWiscsit |
- | | + | svcadm enable -r svc:/ |
+ | itadm create-target | ||
+ | </ | ||
===== Install GUI (For Management/ | ===== Install GUI (For Management/ | ||
Line 516: | Line 567: | ||
===== Update Solaris ===== | ===== Update Solaris ===== | ||
- | - Check what updates are available: | + | - Check what updates are available: |
- | - pfexec pkg image-update -nv | + | - apply updates if any are available: |
- | - apply updates if any are available: | + | |
- | - pfexec pkg image-update -v | + | |