□JP1/Base
-- バージョン情報の表示
/etc/hitachi_setup
-- JP1/Baseステータス確認 [物理]
/opt/jp1base/bin/jbs_spmd_status
/opt/jp1base/bin/jevstat
/opt/jp1base/bin/jevlogdstat
-- JP1/Base起動 [物理]
/opt/jp1base/bin/jbs_spmd
/opt/jp1base/bin/jevstart
/opt/jp1base/bin/jevlogdstart
-- JP1/Base停止 [物理]
/opt/jp1base/bin/jbs_spmd_stop
/opt/jp1base/bin/jevstop
/opt/jp1base/bin/jevlogdstop
-- JP1/Baseステータス確認 [論理]
/opt/jp1base/bin/jbs_spmd_status -h mmm190
/opt/jp1base/bin/jevstat mmm190
-- JP1/Base起動 [論理]
/etc/opt/jp1base/jbs_start.cluster mmm190
-- JP1/Base停止 [論理]
/etc/opt/jp1base/jbs_stop.cluster mmm190
-- 認証サーバの設定 [物理]
/opt/jp1base/bin/jbssetusrsrv mmm181
-- 認証サーバの確認 [物理]
/opt/jp1base/bin/jbslistsrv
-- 認証サーバの設定 [論理]
/opt/jp1base/bin/jbssetusrsrv -h mmm190 mmm190 mmm193
-- 認証サーバの確認 [論理]
/opt/jp1base/bin/jbslistsrv -h mmm190
-- JP1ユーザーの登録 [物理]
/opt/jp1base/bin/jbsadduser jp1user
-- JP1ユーザーの確認 [物理]
/opt/jp1base/bin/jbslistuser
-- JP1ユーザーの登録 [論理]
/opt/jp1base/bin/jbsadduser -h mmm190 jp1user
-- JP1ユーザーの確認 [論理]
/opt/jp1base/bin/jbslistuser -h mmm190
-- 操作権限の設定 [物理]
vim /etc/opt/jp1base/conf/user_acl/JP1_UserLevel
jp1user:*=JP1_AJS_Admin,JP1_JPQ_Admin,JP1_AJSCF_Admin,JP1_HPS_Admin,JP1_PFM_Admin,JP1_Console_Admin,JP1_CF_Admin,JP1_CM_Admin,JP1_Rule_Admin,JP1_ITSLM_Admin,JP1_Audit_Admin,JP1_DM_Admin,JP1_SSO_Admin,Cosminexus_vMNG_Admin,HCS_UserMng_Admin,HCS_HDvM_Admin,HCS_HRpM_Admin,HCS_HTSM_Admin,HCS_HSNM2_Modify,HCS_HFSM_Admin,HCS_HCSM_Admin,HCS_HGLM_Admin,HCS_HTnM_Admin,JP1_AO_Admin,JP1_IMNP_Admin,UCNP_Admin,HNP_Admin,JP1_Analytics_Admin,JP1_ITDM_Admin,ISCF_Admin
/opt/jp1base/bin/jbsaclreload
-- 操作権限の確認 [物理]
/opt/jp1base/bin/jbslistacl
-- 操作権限の設定 [論理]
vim /mnt/sdc2/jp1ajs/jp1base/conf/user_acl/JP1_UserLevel
jp1user:*=JP1_AJS_Admin,JP1_JPQ_Admin,JP1_AJSCF_Admin,JP1_HPS_Admin,JP1_PFM_Admin,JP1_Console_Admin,JP1_CF_Admin,JP1_CM_Admin,JP1_Rule_Admin,JP1_ITSLM_Admin,JP1_Audit_Admin,JP1_DM_Admin,JP1_SSO_Admin,Cosminexus_vMNG_Admin,HCS_UserMng_Admin,HCS_HDvM_Admin,HCS_HRpM_Admin,HCS_HTSM_Admin,HCS_HSNM2_Modify,HCS_HFSM_Admin,HCS_HCSM_Admin,HCS_HGLM_Admin,HCS_HTnM_Admin,JP1_AO_Admin,JP1_IMNP_Admin,UCNP_Admin,HNP_Admin,JP1_Analytics_Admin,JP1_ITDM_Admin,ISCF_Admin
/opt/jp1base/bin/jbsaclreload -h mmm190
-- 操作権限の確認 [論理]
/opt/jp1base/bin/jbslistacl -h mmm190
-- ユーザーマッピングの設定 [物理]
vim /etc/opt/jp1base/conf/user_acl/jp1BsUmap.conf
jp1user:*:root
/opt/jp1base/bin/jbsmkumap
-- ユーザーマッピングの確認 [物理]
/opt/jp1base/bin/jbsgetumap
-- ユーザーマッピングの設定 [論理]
vim /mnt/sdc2/jp1ajs/jp1base/conf/user_acl/jp1BsUmap.conf
jp1user:*:root
/opt/jp1base/bin/jbsmkumap -h mmm190
-- ユーザーマッピングの確認 [論理]
/opt/jp1base/bin/jbsgetumap -h mmm190
-- JP1イベント確認 [物理]
/opt/jp1base/bin/jevexport -o /root/imevexport.csv -a -t ON
tail /root/imevexport.csv
head /root/imevexport.csv
-- JP1イベント確認 [論理]
/opt/jp1base/bin/jevexport -h mmm190 -o /root/imevexport.csv -a -t ON
tail /root/imevexport.csv
-- 待機系への共通定義情報反映
共通定義情報の出力
/opt/jp1base/bin/jbsgetcnf -h mmm190 > /root/jbscnf.txt
scp /root/jbscnf.txt mmm192:/root
共通定義情報の取り込み
ssh mmm192 "/opt/jp1base/bin/jbssetcnf /root/jbscnf.txt"
-- 統合トレースログ
ls -ltr /var/opt/hitachi/HNTRLib2/spool/hntr2?.log
tail -f /var/opt/hitachi/HNTRLib2/spool/hntr21.log
□JP1/IM
-- JP1/IMステータス確認 [物理]
/opt/jp1cons/bin/jco_spmd_status
-- JP1/IM起動 [物理]
/opt/jp1base/bin/jbs_spmd
/opt/jp1base/bin/jevstart
/opt/jp1base/bin/jevlogdstart
/etc/opt/jp1cons/jco_start
-- JP1/IM停止 [物理]
/etc/opt/jp1cons/jco_stop
/opt/jp1base/bin/jbs_spmd_stop
/opt/jp1base/bin/jevstop
/opt/jp1base/bin/jevlogdstop
-- JP1/IMステータス確認 [論理]
/opt/jp1cons/bin/jco_spmd_status -h mmm190
-- JP1/IM起動 [論理]
mount /dev/sdb1 /mnt/sdc2
/etc/opt/jp1base/jbs_start.cluster mmm190
/etc/opt/jp1cons/jco_start.cluster mmm190
-- JP1/IM停止 [論理]
/etc/opt/jp1cons/jco_stop.cluster mmm190
/etc/opt/jp1base/jbs_stop.cluster mmm190
umount /mnt/sdc2
-- インテリジェント統合管理基盤
http://192.168.137.121:20703/login
□JP1/AJS
※コマンド実行時にJP1_USERNAME環境変数の設定必要
export JP1_USERNAME=jp1admin
-- JP1/AJS3ステータス確認 [物理]
/opt/jp1ajs2/bin/jajs_spmd_status
-- JP1/AJS3起動 [物理]
/opt/jp1base/bin/jbs_spmd
/opt/jp1base/bin/jevstart
/opt/jp1base/bin/jevlogdstart
/opt/jp1ajs2/bin/jajs_spmd
-- JP1/AJS3停止 [物理]
/opt/jp1ajs2/bin/jajs_spmd_stop
/opt/jp1base/bin/jbs_spmd_stop
/opt/jp1base/bin/jevstop
/opt/jp1base/bin/jevlogdstop
-- JP1/AJS3ステータス確認 [論理]
/opt/jp1ajs2/bin/jajs_spmd_status -h mmm190
-- JP1/AJS3起動 [論理]
mount /dev/sdb1 /mnt/sdc2
/etc/opt/jp1base/jbs_start.cluster mmm190
/etc/opt/jp1ajs2/jajs_start.cluster mmm190
-- JP1/AJS3停止 [論理]
/etc/opt/jp1ajs2/jajs_stop.cluster mmm190
/etc/opt/jp1base/jbs_stop.cluster mmm190
umount /mnt/sdc2
-- 実行エージェント確認 [物理]
/opt/jp1ajs2/bin/ajsagtshow -l
-- 実行エージェント追加 [物理]
/opt/jp1ajs2/bin/ajsagtadd -a mmm182 -s mmm182 -c 00:00-00:00=3
-- 実行エージェント削除 [物理]
/opt/jp1ajs2/bin/ajsagtalt -a mmm182 -t b
/opt/jp1ajs2/bin/ajsagtdel -a mmm182
-- 実行エージェント確認 [論理]
/opt/jp1ajs2/bin/ajsagtshow -h mmm190 -l
-- 実行エージェント追加 [論理]
/opt/jp1ajs2/bin/ajsagtadd -h mmm190 -a mmm195 -c 00:00-00:00=3
-- 実行エージェント削除 [論理]
/opt/jp1ajs2/bin/ajsagtalt -h mmm190 -a mmm195 -t b
/opt/jp1ajs2/bin/ajsagtdel -h mmm190 -a mmm195
-- ジョブ強制終了
/opt/jp1ajs2/bin/ajskill -F AJSROOT1 /jg1/jobnet1
/opt/jp1ajs2/bin/ajskill -F AJSROOT1 "/jg1/*"
/opt/jp1ajs2/bin/ajskill -F AJSROOT1 "/*/*"
-- ジョブ登録解除
/opt/jp1ajs2/bin/ajsleave -F AJSROOT1 /jg1/jobnet1
/opt/jp1ajs2/bin/ajsleave -F AJSROOT1 "/*/*"
-- ジョブ定義読込
/opt/jp1ajs2/bin/ajsdefine -F AJSROOT1 -f -d / /root/unitbackup.txt
-- ジョブ定義出力
/opt/jp1ajs2/bin/ajsprint -F AJSROOT1 "/*"
/opt/jp1ajs2/bin/ajsprint -F AJSROOT1 "/*" > /root/unitbackup.txt
-- 即時実行登録
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg1/jobnet1
-- 計画実行登録
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -f /jg1/jobnet1
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg1/jobnet1
※ sオプションの場合は開始時刻が経過済みであっても開始する
-- 確定実行登録
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg1/jobnet1
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -b 2019/12/23 -e 2019/12/25 /jg1/jobnetA302
-- ジョブ状態確認
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -s /jg1/jobnet1
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -R /jg1/jobnet1
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -f" %J %i %G %B" -b 2019/12/23 -e 2019/12/25 /jg1/jobnetA302
-- サンプルジョブシェル
vim /mnt/sdc2/job110.sh
#!/bin/bash
OUT=`date`" "`id -un`" ""${0}"
echo $OUT >> /mnt/sdc2/job.log
echo $AJSNETNAME >> /mnt/sdc2/samplejobnet/job.log
echo $AJSJOBNAME >> /mnt/sdc2/samplejobnet/job.log
exit 0
-- サンプルジョブ実行
export JP1_USERNAME=jp1admin
/opt/jp1ajs2/bin/ajskill -F AJSROOT1 /jg1/jobnet1
/opt/jp1ajs2/bin/ajsleave -F AJSROOT1 /jg1/jobnet1
/opt/jp1ajs2/bin/ajsdefine -F AJSROOT1 -f -d / /root/unitbackup.txt
/opt/jp1ajs2/bin/ajsprint -F AJSROOT1 /jg1/jobnet1
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg1/jobnet1
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -s /jg1/jobnet1
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -R /jg1/jobnet1
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -f" %J %i %G %B" -b 2019/11/23 -e 2019/11/25 /jg1/jobnet1
export JP1_USERNAME=jp1admin
/opt/jp1ajs2/bin/ajskill -F AJSROOT1 "/*/*"
/opt/jp1ajs2/bin/ajsleave -F AJSROOT1 "/*/*"
/opt/jp1ajs2/bin/ajsdefine -F AJSROOT1 -f -d / /root/unitbackup.txt
/opt/jp1ajs2/bin/ajsprint -F AJSROOT1 "/*"
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg1/jobnet1
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -s "/*/*"
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -R "/*/*"
/opt/jp1ajs2/bin/ajsshow -F AJSROOT1 -f" %J %i %G %B" -b 2019/11/23 -e 2019/11/25 "/*/*"
-- AJS環境パラメータ変更 [物理]
/opt/jp1ajs2/bin/jajs_spmd_stop
/opt/jp1ajs2/bin/jajs_spmd_status
/opt/jp1ajs2/bin/jajs_config -k "[JP1_DEFAULT\JP1AJSMANAGER\AJSROOT1]" "PREWAITUSE"="yes"
/opt/jp1ajs2/bin/jajs_config -k "[JP1_DEFAULT\JP1AJSMANAGER\AJSROOT1]" "PREWAITEXTEND"="condition"
/opt/jp1ajs2/bin/jajs_spmd
/opt/jp1ajs2/bin/jajs_spmd_status
-- AJS環境パラメータ変更 [論理]
/etc/opt/jp1ajs2/jajs_stop.cluster mmm190
/opt/jp1ajs2/bin/jajs_spmd_status -h mmm190
/opt/jp1ajs2/bin/jajs_config -k "[mmm190\JP1AJSMANAGER\AJSROOT1]" "PREWAITUSE"="yes"
/opt/jp1ajs2/bin/jajs_config -k "[mmm190\JP1AJSMANAGER\AJSROOT1]" "PREWAITEXTEND"="condition"
/etc/opt/jp1ajs2/jajs_start.cluster mmm190
/opt/jp1ajs2/bin/jajs_spmd_status -h mmm190
-- スケジューラログ
ls -ltr /var/opt/jp1ajs2/log/schedule/AJSROOT1/ajs-log?.log
tail -f /var/opt/jp1ajs2/log/schedule/AJSROOT1/ajs-log1.log
-- AJS3 - Web Console
http://192.168.137.183:22252/ajs/login.html
□JP1/PFM
-- サービス状態表示
/opt/jp1pc/tools/jpctool service list -id "*" -host "*"
-- JP1/PFMステータス確認 [物理]
/opt/jp1pc/tools/jpctool service list -key all
-- JP1/PFM起動 [物理]
/opt/jp1pc/tools/jpcspm start -key all
-- JP1/PFM停止 [物理]
/opt/jp1pc/tools/jpcspm stop -key all
-- PFM - Web Console起動 [物理]
/opt/jp1pcwebcon/tools/jpcwstart
-- PFM - Web Console停止 [物理]
/opt/jp1pcwebcon/tools/jpcwstop
-- JP1/PFM Managerステータス確認 [論理]
ps -ef | grep "jpcmm mmm190" | grep -v grep
ps -ef | grep "cjstartsv PFMWebConsole" | grep -v grep
-- JP1/PFM Manager起動 [論理]
mount /dev/sdb1 /mnt/sdc2
/opt/jp1pc/tools/jpcspm start -key Manager -lhost mmm190
/opt/jp1pc/tools/jpcspm start -key AH -lhost mmm190
/opt/jp1pc/tools/jpcspm start -key RMPlatform -lhost mmm190 -inst inst1
/opt/jp1pcwebcon/tools/jpcwstart
-- JP1/PFM Manager停止 [論理]
/opt/jp1pcwebcon/tools/jpcwstop
/opt/jp1pc/tools/jpcspm stop -key RMPlatform -lhost mmm190 -inst inst1
/opt/jp1pc/tools/jpcspm stop -key AH -lhost mmm190
/opt/jp1pc/tools/jpcspm stop -key Manager -lhost mmm190
umount /mnt/sdc2
-- JP1/PFM Agentステータス確認 [論理]
ps -ef | grep "jpcagtu" | grep -v grep
-- JP1/PFM Agent起動 [論理]
mount /dev/sdb1 /mnt/sdc2
/opt/jp1pc/tools/jpcspm start -key AH -lhost mmm194
/opt/jp1pc/tools/jpcspm start -key UNIX -lhost mmm194
-- JP1/PFM Agent停止 [論理]
/opt/jp1pc/tools/jpcspm stop -key UNIX -lhost mmm194
/opt/jp1pc/tools/jpcspm stop -key AH -lhost mmm194
umount /mnt/sdc2
--「Status Server」起動
/opt/jp1pc/tools/jpcspm start -key StatSvr
--「Status Server」停止
/opt/jp1pc/tools/jpcspm stop -key StatSvr
-- ポート番号設定 [論理]
/opt/jp1pc/tools/jpcconf port define -key all -lhost mmm190
-- ポート番号確認 [物理]
/opt/jp1pc/tools/jpcconf port list -key all
-- ポート番号設定 [物理]
/opt/jp1pc/tools/jpcconf port define -key all
-- ポート番号確認 [論理]
/opt/jp1pc/tools/jpcconf port list -key all -lhost mmm190
-- 共通メッセージログ [物理]
ls -l /opt/jp1pc/log/jpclog0*
tail -200 /opt/jp1pc/log/jpclog01
-- 共通メッセージログ [論理]
ls -l /mnt/sdc2/jp1pc/log/jpclog0*
tail -200 /mnt/sdc2/jp1pc/log/jpclog01
-- 稼働状況ログ(Web Consoleのログ)
ls -l /opt/jp1pcwebcon/log/jpcwtrace*
tail -200 /opt/jp1pcwebcon/log/jpcwtrace1.log
-- PFM - Web Console
http://192.168.137.181:20358/PFMWebConsole/login.do
□JP1/NNM
-- JP1/NNMiステータス確認
/opt/OV/bin/ovstatus -c
-- JP1/NNMi起動
/opt/OV/bin/ovstart -c
-- JP1/NNMi停止
/opt/OV/bin/ovstop -c
-- JP1/SSOステータス確認
/opt/CM2/SSO/bin/ssostatus
systemctl status jp1_sso
-- JP1/SSO起動
--/opt/CM2/SSO/bin/ssostart -c
systemctl start jp1_sso
-- JP1/SSO停止
--/opt/CM2/SSO/bin/ssostop -c
systemctl stop jp1_sso
-- JP1/ESAステータス確認
/opt/CM2/ESA/bin/snmpcheck
-- JP1/ESA起動
systemctl start snmpd
/opt/CM2/ESA/bin/snmpstart
-- JP1/ESA停止
/opt/CM2/ESA/bin/snmpstop
systemctl stop snmpd
-- JP1/SSO-APステータス確認
/opt/CM2/APM/bin/apmcheck
-- JP1/SSO-AP起動
/opt/CM2/APM/bin/apmstart
-- JP1/SSO-AP停止
/opt/CM2/APM/bin/apmstop
-- ログファイル
ls -ltr /var/opt/OV/log/nnm
ls -ltr /var/opt/CM2/SSO/log
ls -ltr /var/adm/snmpd.log*
ls -ltr /var/opt/CM2/APM/log
-- NNMi Console
http://192.168.137.181:80/nnm/
-- SSO Console
http://192.168.137.181:20393/SSOConsole/
https://192.168.137.181:20397/SSOConsole/