http://hostname:8001 or 8002/sap/hana/xs/admin


요렇게 치면 로그인 화면이 나옴


Enter username

Enter password





SAP HANA Lifecycle Manager


https://host:1129/lmsl/HDBLCM/SID/index.html

'나는 노동자 > LINUX' 카테고리의 다른 글

repo_download and sync  (0) 2018.04.26
linux http_proxy 설정하기 (웹사용을 위해)  (0) 2018.04.19
CentOS 커널 업그레이드 다운그레이드  (0) 2018.04.19
HANA DB START/STOP  (0) 2018.02.12
RHEL7.X NFS MOUNT  (0) 2018.01.18

su - hacadm


/usr/sap/HAC/HDB00


sh-4.3$ ./HDB start


FAIL: process hdbcompileserver HDB Compileserver not running


su root

cd /usr/sap/hostctrl/exe

./sapcontrol -nr 00 -function RestartSystem ALL


ps -ef |grep hdb

hdbnameserver

hdbpreprocessor

hdbcompileserver

hdbindexserver


---------------------------------- START / STOP--------------------------

Procedure

  • By using the sapcontrol program:
    1. Log on to the SAP HANA system host as a user with root authorization.
    2. Execute one of the following commands:
      • Start the SAP HANA system by entering the following command:
        /usr/sap/hostctrl/exe/sapcontrol -nr <instance number> -function Start
      • Stop the SAP HANA system by entering the following command:
        /usr/sap/hostctrl/exe/sapcontrol -nr <instance number> -function Stop
  • By using the HDB program:
    1. Log on to the SAP HANA system host as user <sid>adm.
    2. Execute one of the following commands:
      • Start the SAP HANA system by entering the following command:
        /usr/sap/<SID>/HDB<instance number>/HDB start 

        Example:

        /usr/sap/KB1/HDB26/HDB start

      • Stop the SAP HANA system by entering the following command:
        /usr/sap/<SID>/HDB<instance number>/HDB stop

        Example:

        /usr/sap/KB1/HDB26/HDB stop


'나는 노동자 > LINUX' 카테고리의 다른 글

repo_download and sync  (0) 2018.04.26
linux http_proxy 설정하기 (웹사용을 위해)  (0) 2018.04.19
CentOS 커널 업그레이드 다운그레이드  (0) 2018.04.19
HANA WEB LOGIN  (0) 2018.02.13
RHEL7.X NFS MOUNT  (0) 2018.01.18

---------------  요건 참고용 --------------------------------------------------------------------------------

일반 VM에 DOCKER가 아닌 파일 설치로 할경우 메모리가 28GB가 최소 되어야 하므로 설치 명령어에

다음과 같은 옵션을 넣어야 한다

hdblcmgui --hdbinst_server_ignore=check_min_mem

---------------------------------------------------------------------------------------------------------------




설치시 /proc/kernel or /proc/vm or /proc/fs 부분에서 기존 값과 틀려 에러가 발생할 경우


해당 에러메세지에서 요구하는 값을 


echo 요구값 > 해당 파일


요렇게 해주면 정상적으로 넘어간다



이미지 pull은 docker hub로 로그인후 다운 가능


docker pull store/saplabs/hanaexpress:2.00.022.00.20171211.1

sudo mkdir -p /data/<directory_name>
sudo chown 12000:79 /data/<directory_name>

Set up password for SAP HANA, express edition

Create the json file with one of the following formats:

vi <file_name>.json

Press i to start editing and use one of the following formats to create the file:

{
"master_password" : "<password>"
}

or:

{
"system_user_password" : "<password",
"default_tenant_system_user_password" : "<second_password>"
}

Here is an example:

{
  "master_password" : "HXEHana1"
}
sudo docker run -itd -p 10013:39013 -p 10017:39017 -p 10041-10045:39041-39045 -p 10028-10029:1128-1129 -p 19013-19014:59013-59014 -v /data/<additional_directory_name>:/hana/mounts \
--ulimit nofile=1048576:1048576 \
--sysctl kernel.shmmax=1073741824 \
--sysctl net.ipv4.ip_local_port_range='40000 60999' \
--sysctl kernel.shmmni=524288 \
--sysctl kernel.shmall=8388608 \
--name <additional_container_name> \
store/saplabs/hanaexpress:2.00.022.00.20171211.1 \
--passwords-url file:///<path_to_json_file OR http/https://url_to_json_file
--agree-to-sap-license

혹 json파일(http)로 resolve관련 curl에러가나오면 dns가 아닌 ip로 변경하면 된다


docker run 시 -itd를 하지 않으면 완료후 Startup finishined!라고 나옴


그럼 정상 동작하는것임




'나는 노동자 > DOCKER' 카테고리의 다른 글

컨테이너 파일 사이즈  (0) 2019.01.16
Runtime directory and storage driver  (0) 2018.07.11
cgroup-driver 변경하기  (0) 2018.07.11
systemctl start docker error시  (0) 2018.03.23
docker info - iptables_warring.txt  (0) 2018.03.19

[root@dockertest1 /]# mount -t nfs xx.xx.xx.xx:/gpu_docker  /Analytics

Job for rpc-statd.service failed because the control process exited with error code. See "systemctl status rpc-statd.service" and "journalctl -xe" for details.


요렇게 날때 



systemctl status rpc-statd.service 


mount -t nfs xx.xx.xx.xx:/gpu_docker  /Analytics

요렇게 해보세요

음 안되면

systemctl enable nfs-idmap && systemctl start nfs-idmap

systemctl enable nfs-client.target && systemctl start nfs-client.target


요렇게 하고 다시 해보세요


근데 리부팅후에 안될수도 있을듯...그러면


systemctl enable   rpcbind.service   # for the next reboot

요렇게 해주면 됩니다


'나는 노동자 > LINUX' 카테고리의 다른 글

repo_download and sync  (0) 2018.04.26
linux http_proxy 설정하기 (웹사용을 위해)  (0) 2018.04.19
CentOS 커널 업그레이드 다운그레이드  (0) 2018.04.19
HANA WEB LOGIN  (0) 2018.02.13
HANA DB START/STOP  (0) 2018.02.12

'일상다반사 > 이런저런 생각들' 카테고리의 다른 글

좋은 삶을 만날려면  (0) 2018.09.05
과거는 아플수 있어 근데 너는  (0) 2018.09.05
행복한 사람들은 ...  (0) 2018.03.14
삶은 경험하는 것이다  (0) 2018.01.16
진정 때가 있는건가?  (0) 2017.12.29

+ Recent posts