Community
 
 
 

Radia Support

720 followers
 
Avatar
Scott Gray

RADIA - Package Reboots and File Base Write Filter

We are running HP Thin Clients in our environment, utilizing the file based write filter. There is a package which we need to install on these thin clients, this requires a reboot post installation to complete.

We currently have the reboot flag on the package set to AI=SA,AD=SA

The ZCREATE does not force a reboot.

We need to ensure the following:

  • Software connect is issued, write filter is turned off and device rebooted
  • Package installs, and causes the Thin Client to reboot (with write filter off so that the installation can complete)
  • Software connect continues when devices is back up
  • Once connect has fully completed, write filter is turned back on and device rebooted

We have tried changing the ZCREATE method so that it causes a device reboot, but the agent doesn’t take too kindly to this. The software connect does not complete after the device comes back online, and the write filter remains disabled.

How can we instruct the agent to reboot the device after installing the package, to complete the installation, whilst maintaining the FBWF?

Note: We are running 8.1

4 comments
0

Please sign in to leave a comment.

 
 

Previous 4 comments

Avatar
Nigel R

Have you tried AI=HQI

Comment actions Permalink
Avatar
Scott Gray

I have tried as suggested, and set the reboot flags to AI=HQI,AD=HQI. The package installs succesfully, and reboots as expected, however this causes the software connect to end abruptly, and not fully complete. We have 5 ZSERVICES which Radia does not get around to verifying.

The last thing I can see in the log files is:

1) Application [MS_KB4338823X86_P_1_0_R01] requested an immediate reboot [HQI]

2) Service [MS_KB4338823x86_P_1_0_R01] - ZAVIS after Install [YYYY]


NVD000010I [RADSKMAN       ] 10:08:55 [RADSKMAN / 00000bf0] SYSTEM ---  -------- [Pid=00004FE8] ----- BEGIN C:\PROGRA~1\HEWLET~1\HPCA\Agent\shutdown.rex -----

NVD000001A [close_log_file ] 10:08:55 [RADSKMAN / 00000bf0] SYSTEM ---  Closing log file on [Tue Aug 21 10:08:55 2018]

NVD000001V [open_log_file  ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  System [Microsoft Windows (32Bit)] started [radrexxw] on [Tue Aug 21 10:08:56 2018]

NVD000501A [open_log_file  ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  Running OS: Windows NT 6.1  Build=(7601)

NVD000010A [runREXX        ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  Turning off signals with irxctl(IRXCTL_NOBREAK)

NVD000010A [runREXX        ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  Loading function packages

NVD000010A [runREXX        ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  irxfunctionpackageload rc = 0 GetLastError() = 127

NVD000010A [termout        ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  CMDLINE from PREFACE: cop=y,ip=clientmgmt-tier2.example.com,dname=software,log=wol-software-patch.log,hreboot=y,ask=y,shutdown=y

NVD000010A [termout        ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  * Shutdown is enabled *

NVD000010A [termout        ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  * Time limit parameter MISSING *

NVD000010A [termout        ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  * Shutdown will not be performed *

NVD000010A [runREXX        ] 10:08:56 [RADREXXW / 00000310] SYSTEM ---  REXX irxexec() rc = 0

NVD000011V [nvd_exec       ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Process complete: Wait rc = [0] getexit rc = [1] ExitCode = [0]

NVD000010I [RADSKMAN       ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  -------- [Pid=00004FE8] ----- END   C:\PROGRA~1\HEWLET~1\HPCA\Agent\shutdown.rex ----- rc = [0]


NVD000010I [RADSKMAN       ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  [RADSKMAN] is resuming in [launch_program]

NVD000000I [reload_radsetup] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Evaluating reboot flags:[HQI]

NVD000000I [start_radtray  ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Launching RadTray

NVD000002W [find_user_proce] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM --?  User Process not found

NVD000000V [Launch_asUser  ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  No User token was obtained. [C:\PROGRA~1\HEWLET~1\HPCA\Agent\radtray.exe] not started

NVD000000W [start_radtray  ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM --?  Error Launching RadTray rc=[2]

NVD000000I [update_ztimeq_f] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  object_id = 00005B7BD5B5

NVD000010I [EDM_EXIT       ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Detected Windows Embedded system

NVD000005I [isFileBasedWrit] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Checking for File Based Write Filter - present: [1]

NVD000010I [EDM_EXIT       ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  No filters or Handling disabled

NVD000005I [isFilterEnabled] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Checking if File Based Filter is on - enabled is [0]

NVD000010I [isEWFEnabled   ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  GetEwfProtectedVolumeConfig failed

NVD000000I [EDM_EXIT       ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  EDM EXIT : No filters enabled or Filter Handling disabled [Handle Filter=1]

NVD000000I [set_reboot_time] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  [Creating] reboot signal object [BOOTPEND]

NVD000000A [EDM_EXIT       ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  RADSKMAN Exit code [811]

NVD000000A [EDM_EXIT       ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Updated the current ZTIMEQ Command heap[0]

NVD000000I [Handle_Reboot  ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Ignoring Power-Off request due to immediate reboot flag.

NVD000000A [Handle_Reboot  ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Reboot type being performed: [Forced (HARD)].

NVD000001A [close_log_file ] 10:08:56 [RADSKMAN / 00000bf0] SYSTEM ---  Closing log file on [Tue Aug 21 10:08:56 2018]

NVD000001A [initialize_logg] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Starting [RADSKMAN] on [Tue Aug 21 10:10:23 2018]

NVD000010D [idmfunc_putenv ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Set (local) [IDMLOGNAME=WOL-SOFTWARE-Patch.LOG]

NVD009451D [Pooltab_build  ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Pool [ZPOOLTAB] already in pooltab (v151)

NVD009403D [Pooltab_build  ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Adding Pool [ZMASTER ] with a heap size of [1024] (v103)

NVD009453D [Pooltab_replace] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Pool [C:\PROGRA~1\HEWLET~1\HPCA\Agent\Lib\ZMASTER.EDM] has [57] variables and [1] heaps of size [1024] each (v153)

NVD000001D [Pooltab_replace] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Object Version: [4]

NVD009461D [SyncObjFrmDisk ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Total [0001] pools restored (v161)

NVD009462D [Edm_Set_Trace  ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Trace Level has been reset from [64] to [40] (v162)

NVD000513A [radskman.exe   ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Module Date:[4/30/2015]  Time:[12:19:18]  Size:[374220]  File:[radskman.exe]

NVD000002W [find_user_proce] 10:10:23 [RADSKMAN / 00000118] SYSTEM --?  User Process not found

NVD000001A [getUserLCID    ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  User LCID: [2057]

NVD000001A [getCatalogPath ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  For Locale [2057] got path [en\en-GB\]

NVD000000A [get_language_dl] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Attempting to load [C:\PROGRA~1\HEWLET~1\HPCA\Agent\RadL10N.dll]

NVD000010I [get_language_dl] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  [RadL10N.dll] was loaded successfully from [C:\PROGRA~1\HEWLET~1\HPCA\Agent\RadL10N.dll]

NVD000512A [RADSKMAN       ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Module Information: Rev 1.429 2010/05/05 06:06:24 klwilson Exp  (I18N)

NVD000010A [RADSKMAN       ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Client Automation Agent Desktop Manager Version [8.10.0000] Build # [53], Built on [Apr 30 2015 at 12:16:35]

NVD000010A [RADSKMAN       ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  CMD LINE = COP=Y,IP=CLIENTMGMT-TIER2.example.com,DNAME=SOFTWARE,LOG=WOL-SOFTWARE-Patch.LOG,hreboot=y,ask=y,shutdown=y,qcount=0

NVD000010V [RADSKMAN       ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Semaphore [Global\_RADSKMAN_] successfully locked after [0] seconds

NVD000010I [RADSKMAN       ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  RADSKMAN Called by:[SCHEDULER]

NVD000100I [parse_args     ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Using default Configuration Server Name : [RADIA]

NVD000010I [parse_args     ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Detected Windows Embedded system

NVD000005I [isFileBasedWrit] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Checking for File Based Write Filter - present: [1]

NVD000010V [ISVolumeFBWFPro] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  ISVolumeFBWFProtected Volume List \Device\HarddiskVolume1, size: 1024, length: 23

NVD000010V [ISVolumeFBWFPro] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  ISVolumeFBWFProtected Volume List \Device\HarddiskVolume1

NVD000010V [ISVolumeFBWFPro] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  ISVolumeFBWFProtected returns success

NVD000000V [provide_default] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Client Connect Type [RAM]

NVD000005I [isFileBasedWrit] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Checking for File Based Write Filter - present: [1]

NVD000002W [find_user_proce] 10:10:23 [RADSKMAN / 00000118] SYSTEM --?  User Process not found

NVD000001A [getUserLCID    ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  User LCID: [2057]

NVD000000I [reset_zlocal   ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Set LCID in ZLOCAL to  [2057]

NVD000001A [getZLocalLCID  ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  LCID for ZLOCAL: [2057]

NVD000001A [getCatalogPath ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  For Locale [2057] got path [en\en-GB\]

NVD000000A [get_language_dl] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Attempting to load [C:\PROGRA~1\HEWLET~1\HPCA\Agent\RadL10N.dll]

NVD000010I [get_language_dl] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  [RadL10N.dll] was loaded successfully from [C:\PROGRA~1\HEWLET~1\HPCA\Agent\RadL10N.dll]

NVD000000I [get_default_she] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  default shell is [C:\Program Files\Citrix\ICA Client\pnagent.exe]

NVD000000I [get_default_she] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  temp_name [pnagent]

NVD000001I [get_default_she] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Shell name [pnagent]

NVD000000I [get_default_she] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Returning [pnagent]

NVD000000I [start_radtray  ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Launching RadTray

NVD000002W [find_user_proce] 10:10:23 [RADSKMAN / 00000118] SYSTEM --?  User Process not found

NVD000000V [Launch_asUser  ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  No User token was obtained. [C:\PROGRA~1\HEWLET~1\HPCA\Agent\radtray.exe] not started

NVD000000W [start_radtray  ] 10:10:23 [RADSKMAN / 00000118] SYSTEM --?  Error Launching RadTray rc=[2]

NVD000005I [isFilterEnabled] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Checking if File Based Filter is on - enabled is [1]

NVD000010I [isEWFEnabled   ] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  GetEwfProtectedVolumeConfig failed

NVD000005I [isFilterEnabled] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Checking if File Based Filter is on - enabled is [1]

NVD000005I [isFileBasedWrit] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Checking for File Based Write Filter - present: [1]

NVD000005I [isFilterEnabled] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Checking if File Based Filter is on - enabled is [1]

NVD000005I [isFileBasedWrit] 10:10:23 [RADSKMAN / 00000118] SYSTEM ---  Checking for File Based Write Filter - present: [1]

NVD000005I [isFilterEnabled] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  Checking if File Based Filter is on - enabled is [1]

NVD000010I [isEWFEnabled   ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  GetEwfProtectedVolumeConfig failed

NVD000100I [ClearEWFCache  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  ThinClient : File Based Filter exists and is Enabled

NVD000100I [ClearEWFCache  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  useRadworkp = 1

NVD000000A [ClearEWFCache  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  HANDLE_FLTR=N not found, hence reboots

NVD000100V [ClearEWFCache  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  Machine identified as [Windows Embedded]. Clearing EWF

NVD000005I [isFileBasedWrit] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  Checking for File Based Write Filter - present: [1]

NVD000005I [isFilterEnabled] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  Checking if File Based Filter is on - enabled is [1]

NVD000000A [ClearEWFCache  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  HPCA_TIMER_OBJECTID 00005B7BD5B5

NVD000005I [isFileBasedWrit] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  Checking for File Based Write Filter - present: [1]

NVD000010V [ISVolumeFBWFPro] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  ISVolumeFBWFProtected Volume List \Device\HarddiskVolume1, size: 1024, length: 23

NVD000010V [ISVolumeFBWFPro] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  ISVolumeFBWFProtected Volume List \Device\HarddiskVolume1

NVD000010V [ISVolumeFBWFPro] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  ISVolumeFBWFProtected returns success

NVD000005I [fbwf_commitFile] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  FbwfCommitFile trying to commit [C:\PROGRA~1\HEWLET~1\HPCA\Agent\Lib\RADWORKP.EDM]

NVD000005I [fbwf_commitFile] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  FbwfCommitFile returned [1]

NVD000010A [ClearEWFCache  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  fbwf_disable called

NVD000005I [fbwf_disable   ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  FbwfDisable returned [0]

NVD000002W [find_user_proce] 10:10:24 [RADSKMAN / 00000118] SYSTEM --?  User Process not found

NVD000000V [PromptForReboot] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  No users logged on.  Suppressing reboot panel.  [SYSTEM]

NVD000000A [ClearEWFCache  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  Deleted the current ZTIMEQ Command heap[0]

NVD000000A [ClearEWFCache  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  Deleting ZTIMEQ object...

NVD000000I [Handle_Reboot  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  Ignoring Power-Off request due to immediate reboot flag.

NVD000000A [Handle_Reboot  ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  Reboot type being performed: [Forced (HARD)].

NVD000000I [WinMain        ] 10:10:24 [RADSKMAN / 00000118] SYSTEM ---  ClearEWFCache returned RADIA_ERROR_REBOOT_OKAY

 

If i take a look in RADWORKP.EDM, I can see:

CMDLINE: COP=Y,IP=CLIENTMGMT-TIER2.EXAMPLE.COM,DNAME=SOFTWARE,LOG=WOL-SOFTWARE-Patch.LOG,hreboot=y,ask=y,shutdown=y,qcount=0,HREB=Y

ENABLED: N

REBTHLD: N

ZOBJID: 00005B7BD5B5

Comment actions Permalink
Avatar
Matt Deverick

When you use "I" for imedate the connect should leave a ZTIMEQ entry so the agent will continue the connect after reboot. This could have 30+ seconds after the reboot has completed.

Comment actions Permalink
Avatar
Arne Halsteinslid

Hi!

AI=HAI,AD=HAI is another option. It will present a dialog box with just an OK button that must be clicked, and then perform a reboot at the point in the client connect process where the current service is handled. As Matt says, it should also leave a ZTIMEQ that ensures another follow-up client connect is run once the machine is back up. However, since HQI didn't do the trick, HAI might not either.

Not sure I understand the full requirement, but how about adding a dummy service with ZSVCPRI = 99 (will be handled as the very last service during install) and REBOOT = AI=HQI,AD=HQI?

By setting REBOOT = AI=HQI,AD=HQI,AU=HQI (for instance) and updating the timestamp of the dummy service using the CSDB Editor, you should then also be able to trigger a reboot using the same service at a later point in time.

 

Comment actions Permalink

Top Contributors