fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


opentext:zenworks:configuration-management

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
opentext:zenworks:configuration-management [2024/05/31 11:32] gsysopentext:zenworks:configuration-management [2024/12/18 18:14] (current) – [Clients] gsys
Line 9: Line 9:
 /var/opt/novell/zenworks/content-repo                       # content repo /var/opt/novell/zenworks/content-repo                       # content repo
 </code> </code>
 +
 +==== zman ====
 +
 +=== Config ===
 +
 +<code>
 +/opt/novell/zenworks/bin/zman
 +</code>
 +
 +=== Commands ===
 +
 +<code>
 +zman sss                                            #zman Service stoppen (shell-stop-service)
 +zman ssas                                           #zman Service starten (shell-start-as-service)
 +zman acc                                            #Admin Credentials löschen (admin-clear-credential)
 +zman asc                                            #Admin Credentials speichern (admin-store-credential) 
 +zman inventory-scan-now /devices/workstations/SIT   #Inventarscan unter dem definierten Pfad starten
 +</code>
 +
 +==== Updates ====
 +
 +=== Update importieren ===
 +<code>
 +zman sss
 +zman sui /var/opt/novell/ZENworks_20.1.0_Update.zip "ZENworks 2020 Update 1" -U=Administrator
 +</code>
 +
 +=== Update löschen ===
 +<code>
 +zman sudu -f "ZENworks 2020 Update 1"
 +zman sudu -f "5020010000fc50000000002020060300"
 +</code>
 +
 +
 +==== ZENwork Diagnostics Center ====
 +
 +=== Installation ===
 +
 +Create temporary zdc folder
 +<code>
 +mkdir /tmp/ZENworksDiagnosticCenter_20.0.0
 +</code>
 +
 +Copy zdc files to ZENworks server
 +<code>
 +scp .\ZENworksDiagnosticCenter_20.0.0.zip root@10.1.1.33:/tmp/ZENworksDiagnosticCenter_20.0.0/.
 +</code>
 +
 +Unzip and run zdc
 +<code>
 +cd /tmp/ZENworksDiagnosticCenter_20.0.0/
 +unzip ZENworksDiagnosticCenter_20.0.0.zip
 +chmod 775 zdc
 +./zdc verify -v zendatabase,systemfiles,zencontent -b /tmp/ZENworksDiagnosticCenter_20.0.0/data/baseline_20.0.0.zdc
 +</code>
 +
 +readme
 +<code>
 +bash zdc verify -v <verifiers> -b <path/to/baseline/file>
 +
 +where verifiers can be:
 +   zendatabase
 +   auditdatabase
 +   systemfiles
 +   zencontent
 +
 +Note 1 : You can specify multiple verifiers as comma separated values
 +Note 2 : You cannot specify zendatabase and auditdatabase together in the same command. They have to be verified separately.
 +
 +For example:
 +zdc.bat verify -v zendatabase,systemfiles,zencontent -b c:\zdc\data\baseline_20.1.0.zdc
 +zdc.bat verify -v auditdatabase -b c:\zdc\data\baseline_20.1.0.zdc
 +For more detailed documentation for running ZDC, please refer to: Running ZDC in the ZENworks documentation
 +
 +ZDC will run the diagnostic tests and generate the reports in HTML format in the reports/[date_time] subdirectory. If any inconsistency is found, it will be indicated on the screen and the details will be available in the reports. To view the reports, open "index.html" from the report folder. The complete log of the diagnostic tests is stored in the subdirectory logs/[date_time].log
 +</code>
 +
 +=== Uninstall ===
 +
 +Delete the folder created in step 1 above
 +
 +==== Wichtige Befehle ====
 +
 +<code>
 +novell-zenworks-configure -c Start
 +novell-zenworks-configure -c SystemStatus
 +</code>
 +
 +==== Wichtige Config Files/Folder ====
 +
 +Folder
 +<code>
 +/etc/opt/novell/zenworks/preboot/                           # preboot environment files
 +/opt/novell/zenworks/install/downloads/setup/_all           # ZENworks agent installer
 +/opt/novell/zenworks/install/downloads/setup/x86_64         # ZENworks agent installer
 +</code>
 +
 +Files
 +<code>
 +/etc/opt/novell/novell-proxydhcp.conf
 +/etc/opt/novell/novell-tftp.conf
 +</code>
 +
 +==== Log Files ====
 +
 +<code>
 +/var/opt/novell/log/novell-proxydhcp.log
 +/var/opt/novell/log/novell-tftp.log
 +/var/opt/novell/log/zenworks/*
 +</code>
 +
 +https://support.microfocus.com/kb/doc.php?id=3418069
 +
 +==== Imaging ====
 +=== Preboot Script ===
 + 
 +Befehl zum Testen des Scripts im Maintenance Mode
 +<code>
 +imaging.s
 +</code>
 +
 +Alle Partitionen löschen, anschließend UEFI Partitionen anlegen
 +<code>
 +wipefs -a /dev/nvme*                                #löscht alle Partitionen auf NVMe SSD
 +(img -pd -all)                                      #löscht alle Partitionen (unzuverlässig), daher wipefs s. o.
 +img -pc 1 -type=NTFS -size=300 -guid=WRE            #Basic Data Partition (Boot)
 +img -pc 2 -type=FAT32 -size=100 -guid=ESP           #EFI system Partition
 +img -pc 3 -type=1 -size=128 -guid=MRP               #Microsoft reserved Partition
 +img -pc 4 -type=NTFS -guid=MBD                      #Basic Data Partition (Data)
 +img -pa 1                                           #Partition aktiv setzen
 +img -pa 2
 +img -pa 3
 +</code>
 +
 +
 +
 +
 +==== Eigene Treiber für Bootimage ====
 +
 +
 +FIXME
 +
 +
 +  - von Zenworks BootCD booten
 +  - Information zu betroffenem Gerät anzeigen (Beispiele):
 +<code>
 +hwinfo
 +hwinfo --disk
 +hwinfo --storage-ctrl
 +</code>
 +
 +  - Treiber von hersteller downloaden
 +
 +
  
 ===== Windows ===== ===== Windows =====
Line 19: Line 173:
 </code> </code>
  
 +===== Clients =====
 +==== zac ====
 +
 +cli for zenworks agent
 +
 +<code>
 +zac ref                    # refresh zenworks client
 +zac ref bypasscache        # refresh zenworks client without using servercache
 +zac zeus-ref               # refresh zenworks update service
 +</code>
opentext/zenworks/configuration-management.1717147922.txt.gz · Last modified: 2024/05/31 11:32 by gsys