User Tools

Site Tools


computing:unix:omnios

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:omnios [2020/05/21 08:41]
gcooper
computing:unix:omnios [2024/12/17 20:43] (current)
gcooper
Line 1: Line 1:
 ====== OmniOS ====== ====== OmniOS ======
 +
 +**Howto**: https://napp-it.org/downloads/omnios.html
  
 See also **[[va:va_shared_storage|Shared Storage System Notes]]**. See also **[[va:va_shared_storage|Shared Storage System Notes]]**.
Line 75: Line 77:
 </file> </file>
  
-Running  it again without the 'n' flag to actually do the update. +Run the same command again without the 'n' flag to actually do the update.  
 + 
 +If you get stuck with updating, try: 
 + 
 +<file> 
 +pkg refresh --full 
 +pkg update -f 
 +reboot -p 
 +</file>
  
 ===== Upgrading ===== ===== Upgrading =====
Line 81: Line 91:
 **Update Napp-IT first**: http://www.napp-it.org/doc/downloads/setup_napp-it_os.pdf **Update Napp-IT first**: http://www.napp-it.org/doc/downloads/setup_napp-it_os.pdf
  
-**Then OmniOS**: https://napp-it.org/downloads/omnios-update_en.html+**Then OmniOS**:
  
-https://omnios.omniti.com/wiki.php/ReleaseNotes/r151022+https://napp-it.org/downloads/omnios-update_en.html
  
 https://omniosce.org/upgrade https://omniosce.org/upgrade
- 
-**r151016**: https://omnios.omniti.com/wiki.php/Upgrade_to_r151020 
- 
-**LTS**: https://omnios.omniti.com/wiki.php/Upgrade_to_r151022 
  
 ===== Manage Boot Environments ===== ===== Manage Boot Environments =====
Line 213: Line 219:
 PermitRootLogin yes PermitRootLogin yes
 GSSAPIAuthenication no                    # Fix slow logins GSSAPIAuthenication no                    # Fix slow logins
 +AllowUsers root backupuser                # If you need another user to use SSH
 </file> </file>
  
 <file> <file>
-svcadm disable ssh +svcadm restart svc:/network/ssh:default
-svcadm enable ssh+
 </file> </file>
  
Line 238: Line 244:
  
 ==== Install LSI SAS2IRCU ==== ==== Install LSI SAS2IRCU ====
 +
 +:!: Needed for LSI HBAs
  
 Download the SAS2IRCU archive from Broadcom and upload it to the desired server. Download the SAS2IRCU archive from Broadcom and upload it to the desired server.
Line 246: Line 254:
 chmod +x sas2ircu chmod +x sas2ircu
 ./sas2ircu list ./sas2ircu list
 +./sas2ircu 0 display
 </file> </file>
  
Line 263: Line 272:
 </file> </file>
  
-==== Mirror the Boot Drive (on x86 System) ====+==== Mirror the Boot Drive ==== 
 + 
 +FIXME This section is a mix of old and new information.  It needs editing.
  
 See also **[[computing:storage:napp-it|Napp-IT ZFS Storage Server]]** See also **[[computing:storage:napp-it|Napp-IT ZFS Storage Server]]**
  
-http://wiki.openindiana.org/oi/2.1+Post-installation +<note tip>Read the help first in **Napp-IT -> Home -> Disks -> Mirror Bootdisk**</note>
- +
-http://darkstar-solaris.blogspot.co.uk/2008/09/zfs-root-mirror.html+
  
 List all disks and ZFS pools: List all disks and ZFS pools:
  
 <file> <file>
-format +echo |format 
-<ctrl-C> +zpool list
 cfgadm -s "select=type(disk)" cfgadm -s "select=type(disk)"
- 
 zpool status rpool zpool status rpool
 </file> </file>
  
-In the following example: +  ''p0'' is entire disk 
- +  * ''s0'' is first slice
-  c5t2d0 is the initial installation drive +
-  * c5t3d0 is the new disk we want to become the mirror +
-  * p0 is entire disk+
  
 Create one large partition: Create one large partition:
  
-<file> +<note tip>If there is any preexisting configuration on the disk (many drives come partitioned!), such as partition info, reinitialize it with **Napp-IT -> Home -> Disks -> Initialize**</note> 
-pfexec fdisk -B c5t3d0p0 + 
-</file>+FIXME Is the following necessary?
  
 Set up SMI label with same partitioning as original boot disk: Set up SMI label with same partitioning as original boot disk:
Line 305: Line 309:
 pfexec zpool attach -f rpool c5t2d0s0 c5t3d0s0 pfexec zpool attach -f rpool c5t2d0s0 c5t3d0s0
 </file> </file>
 +
 +If your bootdisk ends with ''s0'' (ex c0t0d0s0), ''s0'' is added to newdisk like:
 +''zpool attach -f rpool c0t0d0s0 c0t1d0s0''.
  
 :!: Do not continue until the resilver is finished. :!: Do not continue until the resilver is finished.
Line 317: Line 324:
  
 <file> <file>
-pfexec installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c5t3d0s0+bootadm  install-bootloader -Mfv -P rpool
 </file> </file>
  
computing/unix/omnios.1590072101.txt.gz · Last modified: 2020/05/21 08:41 by gcooper