免费安装软件--惠普远程自动报修服务
取消
显示结果 
搜索替代 
您的意思是: 

HPUX平台配置For IRS时需要检查的信息

Aaron86_Hui
见习投稿人

HPUX平台配置For IRS时需要检查的信息

1、SIM配置或者通信出现问题,通常在hpux上先收集下列信息:

uname -a

swlist | grep -i WBEM

cimprovider -l -s

swlist | grep -i OnlineDiag

/etc/opt/resmon/lbin/monconfig

swlist SysMgmtWeb SysMgmtHomepage

/opt/sfm/bin/sfmconfig -w -q

 

2、在hpux上创建配置受管系统

- Create a Non-privileged User on the HP-UX Server:

 

Create User and Password

The specified username must represent a valid HP-UX user on the local host.

1. For these labs we will create a user named mgmnt, assign the user to the users

group, and then set a user password of mgmnt.

2. From the command line of your lab group’s HP-UX Server, type in:

# useradd -g users mgmnt

# passwd mgmnt

3. When prompted provide the password and confirm the password.

 

 

- Configure the current CIM parameters:

 

#cimconfig -l -p

 

Example Output:

sslClientVerificationMode=disabled

enableSubscriptionsForNonprivilegedUsers=false

shutdownTimeout=30

authorizedUserGroups=

enableRemotePrivilegedUserAccess=false

enableHttpsConnection=true

enableHttpConnection=true

 

Based on the previous output, ensure/set the following variables in the CIM

planned configuration:

 

#cimconfig -s enableSubscriptionsForNonprivilegedUsers=true -p

#cimconfig -s enableNamespaceAuthorization=true -p

 

Stop and start the CIM Server to set the configuration changes in the CIM

current configuration:

 

#cimserver -s

#cimserver

 

Verify the settings in the CIM current configuration:

#cimconfig -l -c

Example Output:

sslClientVerificationMode=disabled

enableSubscriptionsForNonprivilegedUsers=true

shutdownTimeout=30

authorizedUserGroups=

enableRemoteprivilegedUserAccess=true

enableHttpsConnection=true

enableNamespaceAuthorization=true

enablehttpConnection=false

 

Add read and write authorizations for the user mgmnt to each of the

namespaces, root/cimv2, root/PG_InterOp, and root/PG_Internal:

#cimauth -a -u mgmnt -n root/cimv2 -R -W

#cimauth -a -u mgmnt -n root/PG_InterOp -R -W

#cimauth -a -u mgmnt -n root/PG_Internal -R -W

#cimauth -a -u mgmnt -n root/cimv2/npar -R -W

 

Verify the users authorizations:

#cimauth -l

Example Out

mgmnt, root/cimv2, “rw”

mgmnt, root/PG_InterOp, “rw”

mgmnt, root/PG_Internal, “rw”

mgmnt, root/cimv2/npar, “rw”

 

 

Once CIM server has been cnfigured properly and IRS interface is updated with the User credentials created above, you could test the setup by givving following command.

 

/opt/sfm/bin/sfmconfig -t -a

1 条回复
dingli
小学生

回复: HPUX平台配置For IRS时需要检查的信息

感谢分享