beautypg.com

Performing user authentication, For replica operations – HP XP Command View Advanced Edition Software User Manual

Page 254

background image

Performing user authentication for replica operations

When performing replica operations using command devices and P9000 RAID Manager authentication
is enabled, you must execute the OS commands described in this procedure:

1.

Start the P9000 RAID Manager instance that will be used by Application Agent:

P9000-RAID-Manager-instance-location\etc\horcmstart

P9000-RAID-Manager-instance-number

2.

Perform user authentication with the current login user account (the user account for executing
the Application Agent service):

P9000-RAID-Manager-instance-location\etc\raidcfg.exe

-IP9000-RAID-Manager-instance-number -login

command-device-authentication-account password

3.

Perform user authentication with the local system account as follows.

1.

Create a task that runs on the local system account:

schtasks /Create /TN task-name /TR

P9000-RAID-Manager-instance-location\etc\raidcfg.exe

-IP9000-RAID-Manager-instance-number -login

command-device-authentication-account password” /SC ONCE /ST 00:00

/RU SYSTEM

2.

Run the task immediately:

schtasks /Create /TN task-name

3.

Query the results of the task:

schtasks /Query /V /FO LIST

4.

Confirm the output is as follows:

TaskName:

task-name

specified in step 1

Status: Ready (blank in Windows 2003)

Last Run Time: time that step 2 was performed

Last Result: 0

If the Last Result is not 0, check the P9000 RAID Manager log information to determine if
the P9000 RAID Manager command failed. If the P9000 RAID Manager command failed,
eliminate the cause of the error as described in the P9000 RAID Manager documentation.

5.

Delete the task:

schtasks /Delete /TN task-name /F

4.

Confirm that user authentication was successful. Make sure the P9000 RAID Manager
authentication files were created using the same account names (with which authentication was
performed) as the user names contained in the file names that execute the commands.

Example authentication file of local system account:

C:\HORCM\usr\var\host01_SYSTEM_53038

Example authentication file of user account for executing Application Agent service:

C:\HORCM\usr\var\host01_Administrator_53038

5.

To perform discovery of the new applications, click Refresh Hosts in the Applications view.

Managing pair life cycle

254