Highlighted
Intellium Absent Member.
Absent Member.
1549 views

Difference between launching bundle from device and from ZCM

Hi,

I noticed something weird today. Could be just me, but I thought I'd ask for some clarification here.

Running ZCM 10.1.2 on SLES

I have a bundle that copies a directory from the local drive of the workstation to a "Settings" folder on a network drive.
The source for this copy contains the variable "%ProgramFiles%" wich resolves fine and the destination contains the variable "%CN%".

Now, here is the weird part.

When I run this bundle locally from the device as a user, it runs fine and does what it's supposed to do. However, when I go into ZCC and go to the folder the bundle is in, select the bundle and choose "Quick Taks => Launch Bunde" the status window shows that the bundle launched fine but when I check the network drive, instead of copying the directory to resolved "%CN%" folder, it actually creates a "%CN%" folder and copies the files there.

So, somehow, when launching from ZCC the "%CN%" variable doesn't get resolved, while it does when run locally. The "%ProgramFiles%" variable always resolved without issue.

Anyone have anything to say wich may shed some light on this situation?

-=[ Intellium ]=-
Labels (2)
0 Likes
6 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Difference between launching bundle from device and from ZCM

I have seemingly unrelated questions, but there is a point 😆

Is the remote server a Windows Server? SLES Server? NetWare Server?
Is the PC in a Domain? Is the Server in the Same Domain?

--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"Intellium" <Intellium@no-mx.forums.novell.com> wrote in message
news:Intellium.3kibtz@no-mx.forums.novell.com...
>
> Hi,
>
> I noticed something weird today. Could be just me, but I thought I'd
> ask for some clarification here.
>
> Running ZCM 10.1.2 on SLES
>
> I have a bundle that copies a directory from the local drive of the
> workstation to a "Settings" folder on a network drive.
> The source for this copy contains the variable "%ProgramFiles%" wich
> resolves fine and the destination contains the variable "%CN%".
>
> Now, here is the weird part.
>
> When I run this bundle locally from the device as a user, it runs fine
> and does what it's supposed to do. However, when I go into ZCC and go to
> the folder the bundle is in, select the bundle and choose "Quick Taks =>
> Launch Bunde" the status window shows that the bundle launched fine but
> when I check the network drive, instead of copying the directory to
> resolved "%CN%" folder, it actually creates a "%CN%" folder and copies
> the files there.
>
> So, somehow, when launching from ZCC the "%CN%" variable doesn't get
> resolved, while it does when run locally. The "%ProgramFiles%" variable
> always resolved without issue.
>
> Anyone have anything to say wich may shed some light on this situation?
>
>
> --
> Intellium
> ------------------------------------------------------------------------
> Intellium's Profile: http://forums.novell.com/member.php?userid=2055
> View this thread: http://forums.novell.com/showthread.php?t=354389
>



0 Likes
Intellium Absent Member.
Absent Member.

Re: Difference between launching bundle from device and from

Hi Craig 😉

Craig Wilson;1701279 wrote:
I have seemingly unrelated questions, but there is a point 😆

Is the remote server a Windows Server? SLES Server? NetWare Server?


The remote server is an OpenFiler NAS, the filesystem is being shared over SMB/CIFS.

Craig Wilson;1701279 wrote:
Is the PC in a Domain?


The PC is not in a domain.

Craig Wilson;1701279 wrote:
Is the Server in the Same Domain?


There is no spoon (read: Domain).

🙂

-=[ Intellium ]=-
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Difference between launching bundle from device and from ZCM

OK, Thanks 😆

The reason I was asking is I was trying to figure out is if the Computer's
"SYSTEM" account possibly had "Write" Priviledges to this share.
I find it highly unlikely that this is possible unless you have take
extra-ordinary efforts to enable this or that access is simply "wide-open"
and does not require authentication.

If we assume it does require some type of "Authentication", then the process
that is copying the files to the server is actually running in the "User
Scope".
There are currently some defects open regarding user variables not being
resolved correctly.
I would suspect this issue is related, but there is no guarentee that it
would be fixed since it happens in one particular configuration.

Would you be able to use a different variable such as "%username%" and does
that work?
If you can use something like "%username%", perhaps you could call a script
file and that would work?

Just tossing some things out.............


--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"Intellium" <Intellium@no-mx.forums.novell.com> wrote in message
news:Intellium.3kilk0@no-mx.forums.novell.com...
>
> Hi Craig 😉
>
> Craig Wilson;1701279 Wrote:
>> I have seemingly unrelated questions, but there is a point 😆
>>
>> Is the remote server a Windows Server? SLES Server? NetWare Server?
>>

>
> The remote server is an OpenFiler NAS, the filesystem is being shared
> over SMB/CIFS.
>
> Craig Wilson;1701279 Wrote:
>> Is the PC in a Domain?

>
> The PC is not in a domain.
>
> Craig Wilson;1701279 Wrote:
>> Is the Server in the Same Domain?

>
> There is no spoon (read: Domain).
>
> 🙂
>
>
> --
> Intellium
> ------------------------------------------------------------------------
> Intellium's Profile: http://forums.novell.com/member.php?userid=2055
> View this thread: http://forums.novell.com/showthread.php?t=354389
>



0 Likes
Intellium Absent Member.
Absent Member.

Re: Difference between launching bundle from device and from

Hey Craig,

Tried the username variable, alas, didn't work either.
It just strikes me as odd that it will resolve variables like ProgramFiles and there is even another variable in the command where it copies it, and that one is a self-defined one. Then if you run it locally it "magically" works, so I think I'll consder that my workaround.

Also, using the same variable in the source path, it resolves properly.
It seems it's just the fact that it's run from ZCC launch action and in the destination path that somehow bugs up the resolve.

As you said a fix probably isn't comming because this issue doesn't occur that often, does that mean it works on other installs? Cause I have done around 7-8 installs wich all produced the same result.

-=[ Intellium ]=-
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Difference between launching bundle from device and from ZCM

What I meant is that it happens under a certain condition that may not be
the same condition for the currently open defects.
(i.e., only happens if you remotely push the app.)

You may want to consider opening an SR to have Novell officially look at it.
We are just volunteers here and not official conduits to Novell.


--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"Intellium" <Intellium@no-mx.forums.novell.com> wrote in message
news:Intellium.3kiq6n@no-mx.forums.novell.com...
>
> Hey Craig,
>
> Tried the username variable, alas, didn't work either.
> It just strikes me as odd that it will resolve variables like
> ProgramFiles and there is even another variable in the command where it
> copies it, and that one is a self-defined one. Then if you run it
> locally it "magically" works, so I think I'll consder that my
> workaround.
>
> Also, using the same variable in the source path, it resolves
> properly.
> It seems it's just the fact that it's run from ZCC launch action and in
> the destination path that somehow bugs up the resolve.
>
> As you said a fix probably isn't comming because this issue doesn't
> occur that often, does that mean it works on other installs? Cause I
> have done around 7-8 installs wich all produced the same result.
>
>
> --
> Intellium
> ------------------------------------------------------------------------
> Intellium's Profile: http://forums.novell.com/member.php?userid=2055
> View this thread: http://forums.novell.com/showthread.php?t=354389
>



0 Likes
Intellium Absent Member.
Absent Member.

Re: Difference between launching bundle from device and from

I know Craig, was just hoping you'd have some more information then I have 🙂

I'm in no position to open a SR with Novell, so that isn't an option. As I said I have a workaround, allbeit a bit of an annoying one.

At least the information is on here, and if someone has the same issue hopefully they can open a SR about it.

Cheers for the fast reply "action" today 😉

Regards,

Intellium.

Craig Wilson;1701496 wrote:
What I meant is that it happens under a certain condition that may not be
the same condition for the currently open defects.
(i.e., only happens if you remotely push the app.)

You may want to consider opening an SR to have Novell officially look at it.
We are just volunteers here and not official conduits to Novell.


--
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.

"Intellium" <Intellium@no-mx.forums.novell.com> wrote in message
news:Intellium.3kiq6n@no-mx.forums.novell.com...
>
> Hey Craig,
>
> Tried the username variable, alas, didn't work either.
> It just strikes me as odd that it will resolve variables like
> ProgramFiles and there is even another variable in the command where it
> copies it, and that one is a self-defined one. Then if you run it
> locally it "magically" works, so I think I'll consder that my
> workaround.
>
> Also, using the same variable in the source path, it resolves
> properly.
> It seems it's just the fact that it's run from ZCC launch action and in
> the destination path that somehow bugs up the resolve.
>
> As you said a fix probably isn't comming because this issue doesn't
> occur that often, does that mean it works on other installs? Cause I
> have done around 7-8 installs wich all produced the same result.
>
>
> --
> Intellium
> ------------------------------------------------------------------------
> Intellium's Profile: NOVELL FORUMS - View Profile: Intellium
> View this thread: Difference between launching bundle from device and from ZCM - NOVELL FORUMS
>

-=[ Intellium ]=-
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.