User Tools

Site Tools


computing:unix:oi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:unix:oi [2013/07/16 17:17]
gcooper
computing:unix:oi [2019/10/21 08:54] (current)
gcooper
Line 1: Line 1:
 ====== OpenIndiana ====== ====== OpenIndiana ======
  
-See also **[[computing:storage:shared_storage|Shared Storage System]]**.+See also **[[va:va_shared_storage|Shared Storage System Notes]]**.
  
 See also **[[computing:storage:napp-it|napp-it]]**. See also **[[computing:storage:napp-it|napp-it]]**.
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://docs.oracle.com/cd/E19963-01/html/821-1459/fsswap-31050.html Planning for Swap Space: http://docs.oracle.com/cd/E19963-01/html/821-1459/fsswap-31050.html
  
 Adjusting the Sizes of Your ZFS Swap and Dump Devices: http://docs.oracle.com/cd/E19963-01/html/821-1448/ggrln.html Adjusting the Sizes of Your ZFS Swap and Dump Devices: http://docs.oracle.com/cd/E19963-01/html/821-1448/ggrln.html
 +
 +==== 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's RAM size.
 +
 +Estimate needed dump space (128GB RAM):
 +
 +<file>
 +root@stor-01:/root# dumpadm -e
 +Estimated dump size: 61.5G
 +</file>
 +
 +Query the current dump device size:
 +
 +<file>
 +root@stor-01:/root# zfs get volsize rpool/dump
 +NAME        PROPERTY  VALUE    SOURCE
 +rpool/dump  volsize   17.7G    local
 +</file>
 +
 +Change the dump volume size:
  
 <file> <file>
Line 59: Line 79:
 zfs set volsize=4G rpool/dump zfs set volsize=4G rpool/dump
 </file> </file>
 +
 +Disable dump and delete the dump volume:
 +
 +<file>
 +dumpadm -d none
 +zfs destroy rpool/dump
 +</file>
 +
 +==== 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:
 </file> </file>
  
-Run it again without the 'n' flag to actually do the update. This will create a new boot environment, you can list using the command:+Run it again without the 'n' flag to actually do the update. This will create a new boot environment
 + 
 +===== Manage Boot Environments ===== 
 + 
 +http://docs.oracle.com/cd/E23824_01/html/E21801/administer.html
  
 <file> <file>
-beadm list+beadm list                                    # list BE's 
 +beadm rename <be-name> <new-be-name>          # rename a BE - can't rename active BE 
 +beadm destroy <be-name>                       # delete a BE 
 +beadm activate <be-name>                      # make another BE active on reboot
 </file> </file>
  
Line 224: Line 262:
  
 <file> <file>
-10.10.10.5 netmask 255.255.255.0+10.1.10.5 netmask 255.255.255.0
 </file> </file>
  
Line 232: Line 270:
  
 <file> <file>
-10.10.10.6 netmask 255.255.255.0+10.1.10.6 netmask 255.255.255.0
 </file> </file>
  
Line 240: Line 278:
  
 <file> <file>
-10.10.10.5       10g-eth-1  +10.1.10.5       10g-eth-1  
-10.10.10.6       10g-eth-2+10.1.10.6       10g-eth-2
 </file> </file>
  
Line 310: Line 348:
 <file> <file>
 ping -s IP_of_another_machine 9000 4 ping -s IP_of_another_machine 9000 4
-</file> 
- 
-<file> 
-iperf 
 </file> </file>
  
Line 458: Line 492:
 ==== Optional - Rename Link ==== ==== Optional - Rename Link ====
  
-  - Dladm rename-link oldname PSC.Net.1 +  - dladm rename-link oldname Net.1 
-  - ipadm create-addr -T static -a 192.168.10.7/24 PSC.Net.1/v4+  - ipadm create-addr -T static -a 192.168.10.7/24 Net.1/v4
     - 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 471: Line 505:
 ===== Enable Jumbo Frames ===== ===== Enable Jumbo Frames =====
  
-  - dladm set-linkprop -p mtu=9000 InterfaceName+<file> 
 +dladm set-linkprop -p mtu=9000 InterfaceName 
 +</file>
  
 ===== Link Aggregation ===== ===== Link Aggregation =====
Line 477: Line 513:
 Similar terms: NIC Bonding, NIC Teaming Similar terms: NIC Bonding, NIC Teaming
  
-  - dladm show-link +<file> 
-  dladm create-aggr -l PSC.Net.LACP.1 -l PSC.Net.LACP.2 PSC.Net.Team.1 +dladm show-link 
-  ipadm create-addr -T static -a 192.168.100.7/24 PSC.Net.Team.1 +dladm create-aggr -l Net.LACP.1 -l Net.LACP.2 Net.Team.1 
-  dladm modify-aggr -L active -T short PSC.Net.Team.1 +ipadm create-addr -T static -a 192.168.100.7/24 Net.Team.1 
-  dladm modify-aggr -P L2 PSC.Net.Team.1 +dladm modify-aggr -L active -T short Net.Team.1 
-  - configure cisco to use mode "active"+dladm modify-aggr -P L2 Net.Team.1 
 +</file> 
 + 
 +:!: Configure cisco to use mode "active"
    
 ===== Steps for Solaris Raid 10 ===== ===== Steps for Solaris Raid 10 =====
  
-  - Zpool create PSC.Net mirror disk1 disk2 +<file> 
-  - Zpool add PSC.Net mirror disk3 disk4 +zpool create tank mirror disk1 disk2 
-  - Zpool add PSC.Net mirror disk5 disk6 etc...+zpool add tank mirror disk3 disk4 
 +zpool add tank mirror disk5 disk6 #etc... 
 +</file>
  
 ===== Steps for Adding Cache Drives ===== ===== Steps for Adding Cache Drives =====
  
-  - Zpool add PSC.Net cache disk1 +<file> 
-  - Zpool add PSC.Net cache disk2+zpool add tank cache disk1 
 +zpool add tank cache disk2 
 +</file>
  
 ===== Disable ZIL ===== ===== Disable ZIL =====
  
-  - zfs set sync=disabled PSC.Net +<file> 
-  zfs get sync+zfs set sync=disabled tank 
 +zfs get sync 
 +</file>
  
 ===== Steps for Setting Up Comstar ===== ===== Steps for Setting Up Comstar =====
  
-  - svcadm enable svc:/system/stmf:default +<file> 
-  zpool list (will tell you capacity, substitute capacity in next line, its currently 20G) +svcadm enable svc:/system/stmf:default 
-  zfs create -V 20G PSC.Net/ISCSI.PSC.Net +zpool list #will tell you capacity, substitute capacity in next line, its currently 20G 
-  sbdadm create-lu /dev/zvol/rdsk/PSC.Net/ISCSI.PSC.Net +zfs create -V 20G tank/ISCSI.tank 
-  sbdadm list-lu +sbdadm create-lu /dev/zvol/rdsk/tank/ISCSI.tank 
-  stmfadm add-view (LUN Name/Number) +sbdadm list-lu 
-  pkg install -v SUNWiscsit +stmfadm add-view #LUN Name/Number 
-  svcadm enable -r svc:/network/iscsi/target:default +pkg install -v SUNWiscsit 
-  itadm create-target+svcadm enable -r svc:/network/iscsi/target:default 
 +itadm create-target 
 +</file>
  
 ===== Install GUI (For Management/Reporting if you care) ===== ===== Install GUI (For Management/Reporting if you care) =====
Line 520: Line 567:
 ===== Update Solaris ===== ===== Update Solaris =====
  
-  - Check what updates are available: +  - Check what updates are available: <file>pfexec pkg image-update -nv</file> 
-    - pfexec pkg image-update -nv +  - apply updates if any are available: <file>pfexec pkg image-update -v</file>
-  - apply updates if any are available: +
-    - pfexec pkg image-update -v+
  
computing/unix/oi.1374016662.txt.gz · Last modified: 2013/07/16 17:17 by gcooper