User Tools

Site Tools


sles

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sles [2014/10/07 13:42] – [SLEHA - corosync pacemaker] michaelsles [2022/11/04 17:23] (current) mduersch
Line 1: Line 1:
 ====== SLES ====== ====== SLES ======
 +
 +==== Add Salt Minion to SUSE Manager ====
 +   # cleanup if necessary
 +   rpm -qa | grep salt
 +   rpm -e salt-2016.11.10-43.54.1.x86_64 salt-minion-2016.11.10-43.54.1.x86_64
 +   rm -r /etc/salt
 +   rm /etc/zypp/services.d/*
 +   rm /etc/zypp/repos.d/*
 +
 +   # connect minion. 
 +   zypper ar http://my.sum.url.de/pub/repositories/sle/12/5/bootstrap sles12-sp5
 +   zypper in salt-minion
 +   sed -i 's/\#master: salt/master: my.sum.url.de/' /etc/salt/minion
 +   rm /etc/machine-id
 +   systemd-machine-id-setup
 +   rm /var/lib/dbus/machine-id
 +   dbus-uuidgen --ensure
 +   systemctl enable salt-minion.service
 +   hostname > /etc/salt/minion_id
 +   echo "deployment: asvpn" >> /etc/salt/grains
 +   rcsalt-minion start
 +   *WAIT*
 +   zypper lr
  
 ==== iSCSI ===== ==== iSCSI =====
Line 5: Line 28:
   195  2013-06-30 11:32:28 iscsiadm -m node iqn.2013-06.home.itbetrieb:tsm --login   195  2013-06-30 11:32:28 iscsiadm -m node iqn.2013-06.home.itbetrieb:tsm --login
   198  2013-06-30 11:49:53 iscsiadm -m node --logout   198  2013-06-30 11:49:53 iscsiadm -m node --logout
 +
 +==== kernelupdate kills modules =====
 +
 +  root@bacula:/etc/iscsi#  iscsiadm -m discovery -t sendtargets -p 192.168.178.21:3260
 +  iscsiadm: read error (-1/104), daemon died?
 +  iscsiadm: Could not scan /sys/class/iscsi_transport.
 +  libkmod: ERROR ../libkmod/libkmod-module.c:838 kmod_module_insert_module: could not find module by        name='iscsi_tcp'
 +  iscsiadm: Could not insert module tcp. Kmod error -2
 +  iscsiadm: iSCSI driver tcp is not loaded. Load the module then retry the command.
 +  iscsiadm: Could not perform SendTargets discovery: iSCSI driver not found. Please make sure it is loaded, and   retry the operation
 +  
 +  missing module is included in:
 +  
 +  apt-get install linux-modules-extra
 +
      
   iscsiadm -m node iqn.2014-01.home.itbetrieb:tsm.disk1 --portal "192.168.56.50:3260"   iscsiadm -m node iqn.2014-01.home.itbetrieb:tsm.disk1 --portal "192.168.56.50:3260"
Line 443: Line 481:
 4 new device(s) found. 4 new device(s) found.
 0 device(s) removed. 0 device(s) removed.
 +
 +  echo "- - -" > /sys/class/scsi_host/host13/scan
 +  echo "- - -" > /sys/class/scsi_host/host14/scan
 +
 +  echo 1 >/sys/class/fc_host/host13/issue_lip
 +  echo 1 >/sys/class/fc_host/host14/issue_lip
 +  
 +  
 +===== systool =====
 +
 +   systool -c fc_host
 +   systool -c fc_remote_ports -v | grep Blocked | wc -l
 +   systool -c fc_remote_ports -v | grep "Not Present" | wc -l
 +
 +
 +
  
 ==== Configuring Path Failover Policies ==== ==== Configuring Path Failover Policies ====
Line 471: Line 525:
  
 systool -av -c fc_host systool -av -c fc_host
 +
 +
 +=== Install Server ALSWAYS without SAN connectet ===
 +
 +Otherwise local HDD might be recognized after SAN Storage, resulting in local disk NOT beeing /dev/sda
 +How to correct this:
 +
 +in /etc/sysconfig/kernel
 +  INITRD_MODULES="...."
 +
 +make shure that the HBA module is loaded after ahci
 +
 +
  
sles.1412689322.txt.gz · Last modified: 2021/04/24 07:38 (external edit)