## page was renamed from ACSLS == ACSLS Installation und Management == weitere Infos zur Benutzung bei Problemen [[Roboter-_und_Laufwerksprobleme]] <> === Maschine acsls === * Maschine hat 2 aktive Netzwerkverbindungen, eine interne zur Library {{{ ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 bge0: flags=1000843 mtu 1500 index 2 inet 141.34.32.90 netmask ffffff00 broadcast 141.34.32.255 ether 0:14:4f:5e:b:9a bge3: flags=1000843 mtu 1500 index 3 inet 192.168.0.1 netmask ffffff00 broadcast 192.168.0.255 ether 0:14:4f:5e:b:9d }}} * die beiden Platten sind als ZPOOL konfiguriert {{{ zpool status pool: rpool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c1t0d0s0 ONLINE 0 0 0 c1t1d0s0 ONLINE 0 0 0 errors: No known data errors }}} * ZFS: /export/backup muß separater Mountpoint sein * zfs create rpool/export/backup * muß separates Filesystem sein, historisch bedingt {{{ zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 33.9G 33.0G 106K /rpool rpool/ROOT 13.8G 33.0G 31K legacy rpool/ROOT/s10s_u10wos_17b 13.8G 33.0G 13.8G / rpool/dump 8.00G 33.0G 8.00G - rpool/export 1.82G 33.0G 33K /export rpool/export/backup 7.93M 33.0G 7.93M rpool/export/home 1.82G 33.0G 1.82G /export/home rpool/swap 10.3G 33.3G 10.0G - }}} * weitere Hinweise zur Installation siehe ... * die Maschine '''kronos''' ist entsprechend aufgesetzt === Überwachung === * zfs wird im Cron geprüft, bei Problemen Mail an scout ''/usr/sbin/zfscheck.sh'' * man könnte Output von ''svcs -x'' testen (metainit für SLVM kann ignoriert werden) === Zugang Konsole === * von pallas ''telnet sp-acsls'', Account admin, Passwort im Tresor unter ALOM * konsole: ''console -f'' === Backup === * Maschine ist im TSM Backup {{{ /opt/tivoli/tsm/client/ba/bin/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.sys DOMAIN /export/home DOMAIN /export/backup DOMAIN /etc virtualmountpoint /etc DOMAIN /var/spool/cron virtualmountpoint /var/spool/cron }}} * unter dem Account acsss wird täglich ein Backup gemacht, tar-File wird unter ''/export/backup'' abgelegt * angelegt von ACSLS Software * außerdem gibt es einen Cron-Job ''/usr/sbin/rsync-job'' , der per rsync wichtige Daten nach kronos spiegelt === ACSLS Kommandos === {{{ acsss help Usage: acsss where command is one of: enable - Enable all ACSSS services. temp-enable - Enable ACSSS svcs for now, but not at next boot. maint-enable - Enable all services except acsls, stmf, and smce. db - Enable acsdb. Disable all others. disable - Idle server, then disable acsls, stmf, and smce. force-disable - Disable acsls, stmf and smce immediately. shutdown - Render a complete shutdown of ACSLS services. status - Show status of ACSSS services. p-status - Show ACSSS status and underlying pids. l-status - Show detailed status of ACSSS services. g-status - Show status of the ACSLS GUI. legal - Display Legal Notice }}} * alle ACSLS Prozesse: '''psacs''' * libcmd {{{ lib_cmd display lib -p 0 lib_cmd display drive -p 0 lib_cmd display drive all }}} * Testen und Diagnose * testlmutcp 192.168.0.2 * get_diags # Gathering diagnostic data * Statistik * stats_report # erzeugt die beiden folgenden Files: * /export/home/ACSSS/log/drive_centric.txt * /export/home/ACSSS/log/time_centric.txt === WEB GUI WebLogic === * 2 Accounts acsls_admin und acsls_user (Paßwörter im Schrank) * Aufruf: https://141.34.32.60:7002/SlimGUI/faces/AcslsLoginForm.jsp === SLConsole === * kein package, download von ... {{{ chmod +x SLC_FRS_6.00_3.16.00_EC_E0012715_SLConsole_Solaris.bin ./SLC_FRS_6.00_3.16.00_EC_E0012715_SLConsole_Solaris.bin (Graph. GUI) /export/home/STORAGETEKLibraryConsole/SLConsole& }}} === Dokumentation === * http://docs.oracle.com/cd/E36772_01/index.html * auch dort ''/project/robot/acsls/docs'' == Hinweise zur Installation == * Software von https://edelivery.oracle.com (Software Cloud) * es gab Probleme mit dem vold, der funktioniert nicht zuverlässig, am besten disabeln und DVD per mount bereitstellen: {{{ svcadm disable /system/filesystem/volfs mount -F hsfs -o ro /dev/sr0 /cdrom }}} * Maschine wurde von DVD installiert (boot cdrom), anschließend von EIS-DVD gepatch (nur von Oracle) und recommended Patchcluster auf Solaris 10 Update 10 * zsh: profiles, acsss account: .zprofile, ... * loghost: /etc/syslog.conf * /etc/inet/hosts * SLConsole {{{ chmod +x SLC_FRS_6.00_3.16.00_EC_E0012715_SLConsole_Solaris.bin ./SLC_FRS_6.00_3.16.00_EC_E0012715_SLConsole_Solaris.bin (Graph. GUI) /export/home/STORAGETEKLibraryConsole/SLConsole& }}} * Timeservice: /etc/inet/ntp.conf * svcadm disable svc:/network/ntp:default * svcadm enable svc:/network/ntp:default * Login root: /etc/default/login: #CONSOLE=/dev/console * DNS: /etc/resolv.conf * TSM Backup: Pakete installieren * alte ssh keys vom configsrv kopieren und /.ssh/authorized_keys2 einrichten * Mail {{{ scp nieprask@dv:$TARCH/mail/SunOS_5.10_sun4/etc/mail/cf/cf/desyznullsolaris10.mc /etc/mail/cf/cf cd /etc/mail/cf/cf sed -i 's/mail.ifh.de/mail1.ifh.de/' make desyznullsolaris10.cf mv desyznullsolaris10.cf ../.. rm main.cf ln -s desyznullsolaris10.cf main.cf mv sendmail.cf sendmail.cf-orig ln -s desyznullsolaris10.cf sendmail.cf svcs status mail /usr/sbin/svcadm restart /network/smtp:sendmail svcs -l /network/smtp:sendmail sendmail -q }}} * csw {{{ pkgadd -d http://get.opencsw.org/now pkgutil -a vim pkgutil -y -i vim pkgutil -y -i findutils # installiert glocate cron job ln -s /opt/csw/bin/glocate /usr/sbin/locate # locate funktioniert :-) pkgutil -y -i rsync # auf acsls und kronos kronos: vim /etc/inetd.conf # add "rsync stream tcp nowait root /opt/csw/bin/rsync rsyncd --daemon" kronos: vim /etc/services # add "rsync 873/tcp # Rsync daemon" inetconv svcadm enable svc:/network/inetd svcadm enable svc:/network/rsync/tcp svcs -x svcs status svc:/network/rsync/tcp }}} * eeprom {{{ eeprom | egrep '^(boot|nvram|devalias)' boot-command=boot boot-file: data not available. boot-device=/pci@1c,600000/scsi@2/disk@1,0:a /pci@1c,600000/scsi@2/disk@0,0:a nvramrc=devalias sds-root /pci@1c,600000/scsi@2/disk@0,0 devalias sds-mirror /pci@1c,600000/scsi@2/disk@1,0 }}} * vom prompt geht: * ''boot sds-root'' oder ''boot sds-mirror'' # historisch * mit ''installboot -F zfs /usr/platform/SUNW,Sun-Fire-V240/lib/fs/zfs/bootblk /dev/rdsk/'' kann man Bootblock installieren, sollte eigentlich bei Installation automatisch funktionieren, hat auf kronos aber nicht * zur Info: wenn Boot-Block defekt: boot cdrom -s; dann geht installboot === weitere Logfiles der Installation === * patch und installations history unter /project/robot/acsls/logfiles-upgrade-20130204