08-10-2010
Script migration help from HPUX
Hi,
We are looking for the extensive list of Commands/Syntax that were working in HP-UX and will not work on LINUX.
We would find such commands and modify them accordingly.
Do we have any reference sites or documents.
You help would be greatly appreciated.
Thanks in advance
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Currently iam going to migrate some of the ksh scripts from HPUX to LINUX.
Will there be any major change in scripts which I have to take care for migration?
Appreciate some help on this.
Thanks
Om (1 Reply)
Discussion started by: Omkumar
1 Replies
2. UNIX for Advanced & Expert Users
Dear All,
What points should i keep in mind while migrating scripts from HP-UX to AIX.
Are there any notes available for this?
cheers,
vishal (1 Reply)
Discussion started by: vishal_ranjan
1 Replies
3. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
4. Shell Programming and Scripting
Hi All,
We will be doing a Solaris 8 to Solaris 10 migration migration, just wanted to know if there are any known / common issues arise from this migration from Shell script point of view.
I tried searching this site but mostly post are related to SA's question and jumpstart, etc. If there's... (4 Replies)
Discussion started by: arvindcgi
4 Replies
5. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
6. HP-UX
# bacula status
/opt/bacula/bin/bacula-ctl-fd: UNIX95=1;: not found
bacula-fd is stopped
#! /bin/sh
#
# bacula-ctl-fd This shell script takes care of starting and stopping
# the bacula File daemon.
#
# This is pretty much watered down version of the RedHat script
# that... (9 Replies)
Discussion started by: Linusolaradm1
9 Replies
7. HP-UX
This work
#!/usr/bin/sh
COMM=${1}
shift
UNIX95=1 ps -C ${COMM} -o pid='' | while read P
do
kill -15 ${P}
done
This don't work
#!/usr/bin/sh
COMM=${1}
shift
UNIX95=1 ps -C ${COMM} -o pid='' | while read P
do
kill -"$@" ${P}
done (7 Replies)
Discussion started by: Linusolaradm1
7 Replies
8. Shell Programming and Scripting
We are migrating some scripts (ksh) from Solaris 10 to Linux 2.6.32.
Can someone share list of changes i need to take care for this ?
Have found few of them but i am looking for a exhaustive list.
Thanks. (6 Replies)
Discussion started by: Shivdatta
6 Replies
9. AIX
I'm New to AIX / VIOS
We're doing a FC switch cutover on an ibm device, connected via SAN.
How do I tell if one path to my remote disk is lost? (aix lvm)
How do I tell when my link is down on my HBA port?
Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies
LEARN ABOUT CENTOS
tspi_key_createmigrationblob
Tspi_Key_CreateMigrationBlob(3) TCG Software Stack Developer's Reference Tspi_Key_CreateMigrationBlob(3)
NAME
Tspi_Key_CreateMigrationBlob - create a key blob suitable for migrating to another TPM.
SYNOPSIS
#include <tss/platform.h>
#include <tss/tcpa_defines.h>
#include <tss/tcpa_typedef.h>
#include <tss/tcpa_struct.h>
#include <tss/tss_typedef.h>
#include <tss/tss_structs.h>
#include <tss/tspi.h>
TSS_RESULT Tspi_Key_CreateMigrationBlob(TSS_HKEY hKeyToMigrate, TSS_HKEY hParentKey,
UINT32 ulMigTicketLength, BYTE* rgbMigTicket,
UINT32* pulRandomLength, BYTE** prgbRandom,
UINT32* pulMigrationBlobLength, BYTE** prgbMigrationBlob);
DESCRIPTION
Tspi_Key_CreateMigrationBlob returns a key blob containing an encrypted section, which will be different depending on the migration scheme
indicated within the migration ticket previously created by the method Tspi_TPM_AuthorizeMigrationTicket().
PARAMETERS
hKeyToMigrate
Handle of the key object to migrate.
hParentKey
Handle to the parent key related to the key addressed by hKeyToMigrate.
ulMigTicketLength
The length (in bytes) of the rgbMigTickey parameter.
rgbMigTicket
Pointer to memory containing the migration ticket (migration public key and its authorization digest).
pulRandomLength
On successful completion this parameter returns the random data length returned at the parameter prgbRandom.
prgbRandom
On successful completion this parameter returns the random data.
pulMigrationBlobLength
On successful completion this parameter returns the length of the migration blob data returned at the parameter prgbMigrationBlob.
prgbMigrationBlob
On successful completion this parameter returns the migration data blob.
RETURN CODES
Tspi_Key_CreateMigrationBlob returns TSS_SUCCESS on success, otherwise one of the following values are returned:
TSS_E_INVALID_HANDLE - Either hKeyToMigrate, hParentKey or rgbMigTicket are invalid parameters.
TSS_E_BAD_PARAMETER - One of the passed parameters is wrong.
TSS_E_KEY_NO_MIGRATION_POLICY - No migration policy picked.
TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
CONFORMING TO
Tspi_Key_CreateMigrationBlob conforms to the Trusted Computing Group Software Specification version 1.1 Golden
SEE ALSO
Tspi_Key_CreateKey(3), Tspi_Key_CertifyKey(3).
TSS 1.1 2004-05-26 Tspi_Key_CreateMigrationBlob(3)