Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
731 views

Mass software deployment in hosts

Hi Experts,

We are planning to upgrade the Performance Center from 12.01 to 12.53, and we do have 100+ hosts. 

Don't want to install the new host software in all the 100+ hosts manually, it will be hecitic work ( uninstall 12.01, restart, install 12.53, restart, install patch).

All the hosts are Win2K12 Server OS, mostly VMs. 

So please recommend any automated way to push the host software to all the hosts in one go, any best practices need to be followed, or any help on this regard highly welcome.

Thanks in Advance.

0 Likes
5 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Mass software deployment in hosts

Hello,

I know other customers usually create a staging environment with 1 or 2 hosts. Validate that everything works correctly and take an image which is used to provision more machines later on.

Regards,

Shlomi

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Mass software deployment in hosts

Hi Shlomi,

Thanks for your reply, yes we do have Pilot Env.  Before deploying to PROD, we experiment all in this Pilot Env. We need to know any HP softwares or any open source automation tool to push host softwares to host. 

HP OVCM will be helpful if it is client not the servers. Please enlight me if have more ideas. Thanks.

Regards,

Bala.

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Mass software deployment in hosts

Hi

Here is our "semi-automated" approach.

1. Make sure UAC is disabled on all hosts (otherwise installation will fail)
2. Run uninstallation bat-file (including reboot)
3. Make installation files available on a shared resource
4. Run installation bat-file with silent installation

This will require 3 different files on the hosts, and the .bat files needs to be started manually.
This may be scripted further, but is manageble in our environment

 

uninstall_previous.bat ("Description" is what's shown as the name in Control panel)

wmic product where "description='HP Performance Center Host 12.20' " uninstall
shutdown /r /d p:4:2 /c "Performance Center uninstallation"

 

install.bat

REM ********** Set Source and target paths **********

set source_path="\\some_server.company.com\d$\PC_Share\install\pc12.50\HP_PC_12.53"
set target_path=c:\install\pc12.53
set install_path=C:\PC-Host
set logfile=pc12.53_install.log

REM ********** If Installed on machine before, Rename old installation folder
IF EXIST "%install_path%" MOVE /Y "%install_path%" "%install_path%_old"

REM ********** Check if media have been copied, then no need to do it again (if reboot during setup)
IF NOT EXIST "%target_path%" (

REM ********** Create Taget folder **********
mkdir %target_path% 1>> "%temp%\%logfile%" 2>>&1

REM ********** Map network drive to not run into pathlength issues **********
net use x: /delete
net use x: %source_path%

REM ********** Copy installation media **********
xcopy x: %target_path% /E /H /Y 1>> "%temp%\%logfile%" 2>>&1
)

REM ********** Run installation **********
REM ********** Note! .net 3.5 feature must be installed, otherwise installation will fail !!!! *************
REM ********** Note! UAC must be disabled, oterwise installation will fail !!!! *************
REM **********
start "" /wait "%target_path%\Setup\En\setup_host.exe" /s INSTALLDIR="%install_path%" USER_CONFIG_FILE_PATH="%~dp0UserInput.xml" NVINSTALL=Y NV_REBOOT=Y

 

 

UserInput.xml

<!--
available attributes:
LW_CRYPTO_INIT_STRING [required] - value for the SSO key - the key that is used to encrypt communication between PCS and ALM
DomainName [optional] - the domain of the user defined in SystemUserName (if user is local, specify dot character (.) or empty value)
SystemUserName [optional] - custom user used by PC to configure IIS (Default value is IUSR_METRO)
SystemUserPwd [Optional] - the user's pwd
UseDefaultUserSetting [Optional] - indicate whether the default user should be used. Any value but 'false' indicates to use default user
-->

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LW_CRYPTO_INIT_STRING>supersecretpassword</LW_CRYPTO_INIT_STRING>
</PropertyGroup>
</Project>




br /ola


Please mark post as solved if your problems or questions is/are resolved.
If this post was valuable to you, please consider kudo it.

 

.
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Mass software deployment in hosts

Hi,

I have been told you should try HPE Operations Orchestration for that. I do not have experience with it to be honest so I cannot guide any further on how to use it for this purpose

Regards,

Shlomi

 

 

0 Likes
Highlighted
Respected Contributor.
Respected Contributor.

Re: Mass software deployment in hosts

Hi,

 

I would recommend to go with the batch suggested option for the uninstall and for the batch & silent install of GA.

As for the install patch ,  You may use the Install patch option from the LAB Management (after you'll upload the appropriate patches (msp for PC Host and stand alone  LOAD GENERATOR). In case you've encountered any issues with the install patch , please let me know.

Aliza

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.